PHP controls structures and functions

MCQsQuestion.com has 3 Question/Answers about Topic PHP controls structures and functions

Most complicated looping structure is

Most complicated looping structure is
  • A. While
  • B. Do While
  • C. For
  • D. None of them
  • Correct Answer: Option C

For using multiple possible branches based on a single value which branching style do you prefer?

For using multiple possible branches based on a single value which branching style do you prefer?
  • A. If statements
  • B. Switch statements
  • C. While statements
  • D. Do while statements
  • Correct Answer: Option B

Loops that iterate for fixed number of times is called

Loops that iterate for fixed number of times is called
  • A. Unbounded loops
  • B. Bounded loops
  • C. While loops
  • D. For loops
  • Correct Answer: Option B