by CodeChum Admin
You know, I was lying when I said the last time that numbers associated with 3 are my favorite, because the one I actually like the most in the world are even numbers! But to make things harder for you, you have to pick the even numbers from a range of two given numbers. Ha!
Now, let's try this one more time!
Instructions:
Input
A line containing two integers separated by a space.
5·10
Output
A line containing integers separated by a space.
6·8·10
by CodeChum Admin
Numbers in threes are awesome! But the one last time was too lengthy to look at, so I just want to view it in a shorter but still readable format.
You okay with this task?
Instructions:
Output
A line containing integers divisible by 3 separated by a space.
3·6·9·12·15·18·21·24...
by CodeChum Admin
I'm bored with just basic counting. How about we do some complex things this time? But I don't want to be associated with any number that's not divisible by 3.
Think you can handle this?
Instructions:
Instructions
Output
Multiple lines containing an integer that is divisible by 3.
3
6
9
12
15
18
21
24
27
30
33
36
39
42
45
48
51
54
57
60
63
66
69
72
75
78
81
84
87
90
93
96
99
by CodeChum Admin
For those of you who may not now, a factorial is a product of multiplying from 1 until the number. Now, you must make a program that will accept an integer and then print out its factorial using loops.
Are you up for this task?
Instructions:
Input
A line containing an integer.
5
Output
A line containing an integer.
120
by CodeChum Admin
Instructions:
Instructions
Input
A line containing an integer.
15
Output
Multiple lines containing a string.
Fizz
Buzz
Fizz
Fizz
Buzz
Fizz
FizzBuzz
Write a program that will allow a student to compute for his equivalent semestral grade.
The program should ask the user should input his/her first name, last name, middle initial, and student number.
After, inputting everything above, the output will clear the current screen and a new screen should open. On the new screen, the user will then be greeted "Welcome, <firstname>! The program will then ask for the prelim grade, midterm grade and final grade of the student. The program should only accept grades 100 and below. After getting the three grades, the program should compute for the semestral grade. The computation of the semestral grade is as follows: 30%*PrelimGrade + 30%*midtermgrade + 40%finalgrade
After inputting all the grades, the screen should clear again and will proceed to another screen.
Remarks should be "Passed" or "Failed" Only.
Hint You may use the relational operators "AND(&&)" and "OR(||)" for your conditions.
Can you identify if Cody's name is spelled right? If so, then make a program that accepts four one-letter strings separated by space and print "Correct" if the inputted strings, combined in order, spell the name Cody correctly. If not, print "Wrong". It doesn't matter if it's in uppercase or lowercase, as long as it's spelled correctly, it's considered correct.
Now, will you take on this task?
input
1.First Character
2.Second Character
3.Third Character
4.Fourth Character
Study the ERM below and answer the questions that follow. The ER diagram captures relationships between production lots (or batches), individual production units, and raw materials.
3.1 Using SQL , design the above conceptual model, with attention to the relationships. Show a screenshot of your logical model.
3.2 Show the SQL query generated for creating the logical model you created in Question 3.1 above.
3.3 Put pseudo data into the tables. After putting the data into the tables, run the following queries:
a. Display all material types contained in the database.
b. Display the results of the inner joint between Lot and Production Units.
c. Create a view of your choice and state what is shown.
Create a program that will convert peso value into 5 different currency using functions. Let the user input the peso value and select a specific currency based on the menu.
You have to run the code of BFS algorithms 5 time
Each time u have to pass different number of values to the list
1)20k 2)30k 3)50k 4) 80k 5)90k
(pass random values to list of given above ranges using random (import random)
Note: you have to search on Google (“how to create random list for specified range with random”)
Calculate time for BFS algorithms by using “import time”
Note : search on Google how to get time in seconds
Make a table and store your results after calculating time for each algorithms
values
Time for bfs
20k
30k
50k
80k
90k