ME_CP1LEC_M1PM

ME_CP1LEC_M1PM

University

54 Qs

quiz-placeholder

Similar activities

Drug Terms [Week 3]

Drug Terms [Week 3]

KG - Professional Development

50 Qs

python

python

5th Grade - Professional Development

50 Qs

Module 2 Review

Module 2 Review

University

57 Qs

Honors Electricity & Magnetism

Honors Electricity & Magnetism

9th Grade - University

52 Qs

STEAM@HANC_Physics Regents Q2

STEAM@HANC_Physics Regents Q2

10th Grade - University

50 Qs

script_programming_part_2+3

script_programming_part_2+3

University

49 Qs

Exam 3 Cards and DM review

Exam 3 Cards and DM review

University

52 Qs

P5 Science Term Test 2 QUIZ

P5 Science Term Test 2 QUIZ

5th Grade - University

58 Qs

ME_CP1LEC_M1PM

ME_CP1LEC_M1PM

Assessment

Quiz

Science

University

Hard

Created by

Armilyn Martinez

Used 1+ times

FREE Resource

54 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which control statement is used to test conditions in a program?

if-else

for

while

switch

2.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which of the following is a valid loop in C?

if

else

while

break

3.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which statement is used to terminate a loop or switch statement prematurely?

continue

break

return

stop

4.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which keyword is used to skip the current iteration of a loop?

continue

break

switch

return

5.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

What is the purpose of a "nested if" statement?

To exit a loop

To test multiple conditions

To repeat a set of statements

To terminate a loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which of the following control structures checks the condition before entering the loop body?

for

while

do-while

goto

7.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

The "else if" statement is used for:

Repeating a loop

Checking multiple conditions

Exiting a program

Skipping a loop iteration

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?