1 |
What is the tpe of algorithm that uses a random numebr to decide the expected outcome. |
Brute force algorihm
Recursive algorithm
Sorting algorithm
Randomized algorithm
|
2 |
Whih of the followign is not a rule for drawing flowcharts. |
Use conventional flowchart symbols
Label all flow lines
Every flowchart must have start and endpoints
Flow lines cna cross each other
|
3 |
What the purpose of arrow in a flowchart. |
To link different processes in the flowchart
To indicate the start and stop points
To represent input or output
To indicate the direction of flow within the same process
|
4 |
Which does the diamond symbol represent in a flowchart. |
Input/Output
Arrow
Terminal
Decision
|
5 |
Which symbol represents a process in a flochart. |
Terminal
Arrow
Action/Process
Decision
|
6 |
Which symbol represents the start or stop point in a flowcart. |
Arrow
Terminal
Decision
Input/Output
|
7 |
Which of the following is an example of coputations thingking |
Recipe to bake a cake
Reding a bicycle
Listening to music
Painting a picture
|
8 |
What is the efficiency of a solution based on in terms of the given paremeters. |
Numbers of lines of code
amount of memory available
Number of steps executed
Complexity of the solution
|
9 |
What is the purpose of the "Mod"% in programming. |
To add two integers
To multiply two integers
To take the remainder of an integer
To divide two integers
|
10 |
What is the disadvantage of using a flowchart. |
Easy to understand
Difficult to modify
Time saving
Easy to understand for people who don't know flowchart symbols
|