Explanation: the word algorithm comes from the name of a persian mathematician abu ja’far mohammed ibn-i musa al khowarizmi.
Problem Solving and Python Programming MCQs | Page - 1
Dear candidates you will find MCQ questions of Problem Solving and Python Programming here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
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.
Explanation: algorithms help us to understand scalability. performance often draws the line between what is feasible and what is impossible.
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.
Explanation: an algorithm becomes a program when it is written in the form of a programming language. thus, any program is an algorithm.
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.
Explanation: in a queue, the items are inserted from the rear end and deleted from the front end.
Explanation: linear arrays are the 1- dimensional arrays wherein only one row is present and the items are inserted.
Explanation: the answer is queue. a queue follows the fifo principle. fifo stands for first in first out.
Explanation: the symbol denotes a terminal. it is used for indication of start and stop nodes of a program.
Jump to