control statements

mcqspedia.com has 5 Question/Answers about Topic control statements

In COMAL programming language, a WHILE loop must ends with

In COMAL programming language, a WHILE loop must ends with
  • A. end while function
  • B. stops function
  • C. output function
  • D. input function
  • Correct Answer: Option A

Statement which is used to make choice between two options and only option is to be performed is written as

Statement which is used to make choice between two options and only option is to be performed is written as
  • A. if statement
  • B. if else statement
  • C. then else statement
  • D. else one statement
  • Correct Answer: Option A

Third component in algorithms is classified as

Third component in algorithms is classified as
  • A. data repetition
  • B. statement repetition
  • C. selection
  • D. stating order of operations
  • Correct Answer: Option C

Statement in BASIC language 150 IF A1=A2 THEN Comparison$ =”EQUAL” is an example of

Statement in BASIC language 150 IF A1=A2 THEN Comparison$ =”EQUAL” is an example of
  • A. if then statement
  • B. if else statement
  • C. then else statement
  • D. else one statement
  • Correct Answer: Option A

Type of statement written in sequence and is repeated until specific condition met is classified as

Type of statement written in sequence and is repeated until specific condition met is classified as
  • A. format
  • B. loop
  • C. case
  • D. condition
  • Correct Answer: Option B