1. Programming Foundations

Selection And Branching — Quiz

Test your understanding of selection and branching with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

What is the main purpose of selection and branching in a program?

Question 2

In an $if$ statement, what happens when the condition is true?

Question 3

Which branching structure checks conditions in order until one is true?

Question 4

What type of value does a Boolean variable store?

Question 5

What does the operator $==$ mean in a condition?
Selection And Branching Quiz — Engineering Computation | A-Warded