Algorithm & Programming MCQs Set-6

PropellerAds
  1. 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
  2. 2. What symbol is used to represent output in a flowchart?
    • Square
    • Circle
    • Parallelogram
    • Triangle
  3. 3. What is the standard terminal symbol for flowchart?
    • Circle
    • Parallelogram
    • Diamond
    • Square
  4. 4. The following pseudo code is an example of _______ structure: Get number While number is positive Add to sum
    • Sequence
    • Decision
    • Loop
    • Nested
  5. 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
  6. 6. The following pseudo code is an example of ________structure: Get number Get another number Multiply numbers Print result
    • Sequence
    • Decision
    • Loop
    • Nested
  7. 7. structured program can be easily broken down into routines or _______that can be assigned to any number of programmers
    • Segments
    • Modules
    • Units
    • Sequences
  8. 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
  9. 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
  10. 10. Which of the following statement cause program control to end up almost anywhere in the program?
    • go to
    • for
    • while
    • do while