Algorithm and Flowcharts Solved MCQs


Algorithm and Flowcharts MCQs Set-1

Algorithm and Flowcharts MCQs Set-1 Contain the randomly compiled multiple choice Questions and answers from various reference books and Questions papers for those who is preparing for the various competitive exams and interviews.
 

1. Macro flowchart is also called as
  • Simple detailed flowchart
  • Less Detail flowchart
  • More detail flowchart
  • None
B. Less Detail flowchart
2. GUI stands for
  • Graphical User Interface
  • Graphical input Unit
  • Graph Under Instruction
  • None
A. Graphical User Interface
3. Terminal symbol in a flowchart indicates
  • End
  • processing
  • Input and Output
  • Decision
A. End
4. Continue Statement
  • Without Executing remaining statements takes control back to starting loop
  • Take control outside the loop
  • Continues to program end
  • None
A. Without Executing remaining statements takes control back to starting loop
5. Structured Programming is
  • Dividing the program into different program modules
  • Using Structures in the program
  • Using classes in the program
A. Dividing the program into different program modules
6. Pseodocode is used for
  • Denoting the program Flow
  • Program code
  • For coding the program
  • To write program steps
D. To write program steps
7. Macro flowchart shows the
  • Outline of the program
  • To make structure chart
  • Program Detail
  • None
A. Outline of the program
8. Indentation in a program
  • Improves its readability and understanding
  • Is compulsory
  • Both
  • None
A. Improves its readability and understanding
9. Which of the following is used to avoid infinite loops?
  • Sequentiol
  • For
  • While
  • Do while
A. Sequentiol
10. Which of the following is not necessarily a characteristic of a program module?
  • It performs a single task
  • It is self-contained
  • It contains Several sub modules
  • It is relatively small in size
D. It is relatively small in size



Algorithm and Flowcharts MCQs Set-2

 

1. Which of the following is not a benefit of modular programming?
  • It increases program readability
  • It increases programmer productivity
  • It allows for the creation of a library of common programming task
  • It allows one programmer to do the job of many in the same amount of time
D. It allows one programmer to do the job of many in the same amount of time
2. The main module of a program contains the following sequences of statements Call Module A —————— Call Module B —————— Call Module C —————— Which of the following statements is executed after Call Module B?
  • Call Module A
  • Call Module C
  • The first Statement in Module B
  • None
C. The first Statement in Module B
3. Which of the following statements is executed after all statements in ModuleB have been carried out in above Q ?
  • Call Module A
  • Call Module C
  • The first Statement in Module C
  • None
B. Call Module C
4. Which of the following is not a principle of structured programming?
  • Design the program in top-down manner
  • Write each program module as a series of control structures
  • Code the program so that it runs correctly without testing
  • Use good programming
A. Design the program in top-down manner
5. Which of the following is not a basic control structure
  • The process
  • The decision
  • The Loop  
  • The sequential
A. The process
6. Which of the following is not a principle of good programming style?
  • Use descriptive variable names
  • Provide a welcome message
  • Identify using text the numbers that are output
  • Test the program
B. Provide a welcome message


Algorithm and Flowcharts MCQs Set-3  

1. Method which uses a list of well defined instructions to complete a task starting from a given initial state from a given initial state to end state is calls as
  • Program
  • Flowchart
  • Algorithm
  • A & B
C. Algorithm
2. The chart that contains only function flow and no code is called as
  • flowchart
  • Structure chart
  • Both A and B
  • None
B. Structure chart
3. Which of the following is a program planning tool?
  • Sequential
  • decision
  • Pseudo code
  • Both B and C
D. Both B and C
4. Which of the following structures are used in computer programs?
  • sequential
  • decision
  • Timesharing
  • None
D. None
5. Execution of two or more programs by a single CPU is known as
  • Multiprogramming
  • Multiprocessing
  • Timesharing
B. Multiprocessing
6. A structured chart is
  • A statement of information processing requirements
  • A document of what has to be accomplished
  • A hierarchical Partitioning of the program
  • Beginners all purpose
  • All
C. A hierarchical Partitioning of the program
7. In structure charts modules are described as
  • Circle
  • Triangles
  • Rectangle
  • Ellipse
B. Triangles
8. The sequence logic will not be used while
  • Accepting input from user
  • Giving output to the user
  • Comparing two sets of data
  • Adding two numbers
B. Giving output to the user
9. Flowcharts and Algorithms are used for
  • Better Programming
  • Easy testing and Debugging
  • Efficient Coding
  • All
D. All
10. An Algorithm represented in the form of programming languages is _________
  • Flowchart
  • Pseudo code
  • Program
  • None
C. Program


Algorithm and Flowcharts MCQs Set-4 

1. Which of the following is a pictorial representation of an algorithm?
  • Pseudo code
  • Program
  • Flowchart
  • Algorithm
C. Flowchart
2. Which of the following symbol in a flowchart are used to indicate all arithmetic processes of adding, subtracting, multiplying and dividing ?
  • Input/output
  • terminal
  • Processing
  • Decision
C. Processing
3. A flowchart that outlines the main segments of program is called as
  • Micro flowchart
  • Macro flowchart
  • Flowchart
  • Algorithm
B. Macro flowchart
4. A flowchart that outlines with all detail is called as
  • Micro flowchart
  • Macro flowchart
  • Flowchart
  • Algorithm
A. Micro flowchart
5. Pseudo code is also known as
  • Program Design Language
  • Hardware Language
  • Software Language
  • Algorithm
A. Program Design Language
6. Pseudo code emphasizes on
  • Development
  • Coding
  • Design
  • Debugging
C. Design
7. In which of the following pseudo code instructions are written in the order or sequence in which they are to be performed?
  • Selection Logic
  • Sequence Logic
  • Iteration Logic
  • Looping Logic
B. Sequence Logic
8. Which of the following logic is used to produce loops in program logic when one or more instruction may be executed several times depending on some conditions?
  • Iteration Logic
  • Selection Logic
  • Sequence Logic
  • Decision Logic
A. Iteration Logic
9. Selection logic also called as
  • Decision Logic
  • Iteration Logic
  • Sequence Logic
  • Looping Logic
A. Decision Logic
10. Which of the following program planning tool allows the programmers to plan program logic by writing program instruction in an ordinary language?
  • Flowchart
  • Pseudo code
  • Program
  • Looping
B. Pseudo code

 

Algorithm and Flowcharts MCQs Set-5

 

1. Algorithm is
  • step by step execution of program
  • Object file
  • Executable file
  • Source file
D. Source file
2. Kite box in flow chart is used for
  • Connecter
  • Decision
  • Statement
  • All of the above
B. Decision
3. Which of the following is not a characteristic of good algorithm?
  • Precise
  • Ambiguous
  • Finite number of steps
  • Logical flow of control
C. Finite number of steps
4. Diagrammatic representation of an algorithm is
  • Flowchart
  • Data flow Diagram
  • Algorithm design
  • Pseudo code
A. Flowchart
5. Goto statement is ?
  • Used to jump the control of program
  • Used for user defined iteration
  • Same as switch case statement
  • None of above
A. Used to jump the control of program


Algorithm and Flowcharts MCQs Set-6

 

1. After a programmer plans the logic of a program ,she /he will next____
  • Understand the problem
  • Translate the program
  • Test the program
  • Code the program
D. Code the program
2. What symbol is used to represent output in a flowchart?
  • Square
  • Circle
  • Parallelogram
  • Triangle
C. Parallelogram
3. What is the standard terminal symbol for flowchart?
  • Circle
  • Parallelogram
  • Diamond
  • Square
A. Circle
4. The following pseudo code is an example of _______ structure: Get number While number is positive Add to sum
  • Sequence
  • Decision
  • Loop
  • Nested
C. Loop
5. The following pseudo code is an example of ______structure:Get number Get another number If first number is greater than second then Print first number Else print second number
  • Sequence
  • Decision
  • Loop
  • Nested
B. Decision
6. The following pseudo code is an example of ________structure: Get number Get another number Multiply numbers Print result
  • Sequence
  • Decision
  • Loop
  • Nested
A. Sequence
7. structured program can be easily broken down into routines or _______that can be assigned to any number of programmers
  • Segments
  • Modules
  • Units
  • Sequences
B. Modules
8. In a case structure of the loop, the loop body continues to execute as long as the answer to the controlling question is yes, or true.
  • Else
  • Then
  • Default
  • Loop
A. Else
9. In which of the following loop ,the loop body continues to executes as long as the answer to the controlling question is yes, or true.
  • do-then
  • do-when
  • do-until
  • do-while
D. do-while
10. Which of the following statement cause program control to end up almost anywhere in the program?
  • go to
  • for
  • while
  • do while
A. go to

 
 

Algorithm and Flowcharts MCQs Set-8

1. Which of the following can be replaced by if
  • switch
  • while
  • continue
  • for
A. switch
2. Which of the following statement is useful while writing menu driven programs
  • while
  • break
  • switch
  • if
A. while
3. Which of the following is self contained block of statements that perform a coherent task of some kind?
  • function
  • loop
  • statement
  • body of program
A. function
4. The function gets called when the function name is followed by
  • colon
  • semicolon
  • statement
  • braket
B. semicolon
5. The mechanism used to convey information to the function is the
  • Argument
  • commands
  • loops
  • statements
A. Argument


Post a Comment

Previous Post Next Post