Algorithm & Programming 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
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
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
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
5. Which of the following is not a basic control structure
  • The process
  • The decision
  • The Loop  
  • The sequential
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