control structures in c++

MCQsQuestion.com has 5 Question/Answers about Topic control structures in c++

Writing a keyword while as While in C++ program causes a

Writing a keyword while as While in C++ program causes a
  • A. Fatal error
  • B. Syntax error
  • C. Terminating error
  • D. None of them
  • Correct Answer: Option B

A UML diagram that facilitates requirements gathering and interacts between system and external users, is called as

A UML diagram that facilitates requirements gathering and interacts between system and external users, is called as
  • A. Flowchart diagram
  • B. Sequence diagram
  • C. Use case diagram
  • D. Data flow diagram
  • Correct Answer: Option C

A statement that is executed in a repetition structure, skips remaining statement in body of structure and proceeds with next iteration of loops, is known as

A statement that is executed in a repetition structure, skips remaining statement in body of structure and proceeds with next iteration of loops, is known as
  • A. Break statement
  • B. Continue statement
  • C. Case statement
  • D. None of them
  • Correct Answer: Option B

Conditional operator in C++ is denoted by

Conditional operator in C++ is denoted by
  • A. ? :
  • B. = :
  • C. : ?
  • D. < =
  • Correct Answer: Option A

Break statement in repetition structure causes a program to

Break statement in repetition structure causes a program to
  • A. Immediately exit
  • B. Terminate
  • C. Again start loop from 1
  • D. All of them
  • Correct Answer: Option A