The word comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi.
|Answer» C. algorithm|
|Explanation: the word algorithm comes from the name of a persian mathematician abu ja’far mohammed ibn-i musa al khowarizmi.|
In computer science, algorithm refers to a special method usable by a computer for the solution to a problem.
|Answer» A. true|
|Explanation: the statement is true. this word algorithm refers to a special method usable by a computer for the solution to a problem. the statement of the problem specifies in general terms the desired input/output relationship.|
This characteristic often draws the line between what is feasible and what is impossible.
|Answer» A. performance|
|Explanation: algorithms help us to understand scalability. performance often draws the line between what is feasible and what is impossible.|
The time that depends on the input: an already sorted sequence that is easier to sort.
|Answer» C. running|
|Explanation: the running time depends on the input: an already sorted sequence is easier to sort. the running time is given by the size of the input, since short sequences are easier to sort than the longer ones. generally, we seek upper bounds on the running time, because it is reliable.|
When an algorithm is written in the form of a programming language, it becomes a
|Answer» B. program|
|Explanation: an algorithm becomes a program when it is written in the form of a programming language. thus, any program is an algorithm.|
Any algorithm is a program.
|Answer» B. false|
|Explanation: the statement is false. an algorithm is represented in the form of a programming language is called a program. any program is an algorithm but the reverse is not true.|
A system wherein items are added from one and removed from the other end.
|Answer» B. queue|
|Explanation: in a queue, the items are inserted from the rear end and deleted from the front end.|
Another name for 1-D arrays.
|Answer» A. linear arrays|
|Explanation: linear arrays are the 1- dimensional arrays wherein only one row is present and the items are inserted.|
A data structure that follows the FIFO principle.
|Answer» A. queue|
|Explanation: the answer is queue. a queue follows the fifo principle. fifo stands for first in first out.|
The symbol denotes
|Answer» C. terminal|
|Explanation: the symbol denotes a terminal. it is used for indication of start and stop nodes of a program.|
In computer science, algorithm refers to a pictorial representation of a flowchart.
|Answer» B. false|
|Explanation: the statement is false. the correct statement would be: in computer science, flowchart refers to a pictorial representation of an algorithm.|
The process of drawing a flowchart for an algorithm is called
|Answer» D. flowcharting|
|Explanation: it is called as flowcharting. a flowchart is nothing but a pictorial representation of an algorithm.|
Actual instructions in flowcharting are represented in
|Answer» B. boxes|
|Explanation: the actual instructions are written in boxes. boxes are connected by using arrows to indicate the exact flow of a flowchart and the order in which they are to be executed.|
The following box denotes?
|Answer» A. decision|
|Explanation: a diamond shape box denotes the decision making statements. it jumps to a truth value or a false value.|
A box that can represent two different conditions.
|Answer» B. diamond|
|Explanation: a diamond shape box denotes either a truth value or a false value. it jumps onto two different statements following it via flow lines.|
There should be certain set standards on the amount of details that should be provided in a flowchart.
|Answer» B. false|
|Explanation: the statement is false. there should be no set standards on the amount of details that should be provided in a flowchart.|
A detailed flowchart is called
|Answer» C. micro|
|Explanation: a detailed flowchart or a flowchart with more details is called as micro flowchart. it represents all the components of the algorithm that is followed.|
Which of the following is not an advantage of a flowchart?
|Answer» D. improper documentation|
|Explanation: flowcharts provide a proper documentation. it also provides systematic debugging.|
A flowchart that outlines the main segments of a program.
|Answer» B. macro|
|Explanation: the answer is macro flowchart. a macro flowchart outlines the important components of a program. it therefore shows fewer details.|
A is diagram that depicts the flow of a program.
|Answer» D. flowchart|
|Explanation: a flowchart is a diagram that helps us determine the flow of the program. other options are irrelevant.|
Terminals are represented by diagonals in a flowchart.
|Answer» B. false|
|Explanation: the statement is false. terminals are represented by rounded rectangles. they indicate the starting or ending point in a flowchart.|
The operation represented by parallelograms.
|Answer» A. input/output|
|Explanation: the input/output operations are represented by parallelograms. they generally are used to display messages during input and output part of a program.|
Which of the following is not a flowchart structure?
|Answer» A. process|
|Explanation: there are basically four flowcharting structures:|
The action performed by a structure must eventually cause the loop to terminate.
|Answer» C. repetition|
|Explanation: the action performed by a repetition structure must eventually cause the loop to terminate. otherwise, an infinite loop is created.|
The following symbol denotes:
|Answer» A. module|
|Explanation: this symbol is that of a module. the terminal is denoted by a rounded rectangle. i/o operation by a parallelogram and process by a rectangle.|