Question: Question 5 Which while loop syntax is correct? while $i < 100 { } while ($i < 100) { } while ($i < 100; i++)

Question 5

Which while loop syntax is correct?

while $i < 100 { }

while ($i < 100) { }

while ($i < 100; i++) { }

while $i < 100 ...

Question 6

Theforstatement can initialize a counter.

True

False

Question 7

Thedo ... whilestatement will always executeat least once.

True

False

Question 8

Thewhilestatement will execute a series of statements as long as a given conditional expression evaluates to FALSE.

True

False

Question 9

A if . . . else statement allows a program to make decisions about what statements to execute.

True

False

Question 10

The if/else statement will contain at least one condition statement to make the decision to run one block of code and skip over another block of code.

True

False

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!