Programming If Statements

Programming If Statements

8th Grade

16 Qs

quiz-placeholder

Similar activities

PL SQL

PL SQL

University - Professional Development

20 Qs

If-Else

If-Else

11th Grade - University

17 Qs

Exceptions and Definitions

Exceptions and Definitions

9th - 12th Grade

12 Qs

Plagiarism - Review

Plagiarism - Review

University

12 Qs

Coding Vocabulary Pre/Post Test

Coding Vocabulary Pre/Post Test

6th - 8th Grade

18 Qs

Scratch Quiz ADVANCED

Scratch Quiz ADVANCED

5th - 8th Grade

11 Qs

UH 1 PBO

UH 1 PBO

11th Grade

15 Qs

PLC experts

PLC experts

11th - 12th Grade

16 Qs

Programming If Statements

Programming If Statements

Assessment

Quiz

Education

8th Grade

Easy

Created by

Beverly Ross

Used 8+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of labels in a program?

To store data

To print text on the screen

To perform calculations

To manage user input

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following actions can be performed using a label in a program?

Calculating sums

Displaying messages

Storing files

Running scripts

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of a textbox in a user interface?

Displaying images

User input

Playing audio

Navigating pages

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in setting up an If statement?

Add Else/If Else as needed

Drag If block out of Control Draw

Write the condition

Execute the program

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should you add to an If statement when there is a True Action and a False Action?

Loop

Variable

Else/If Else

Function

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of "else if" in an If statement?

To end the program

To provide additional conditions

To declare variables

To start a new function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the "if" part of an If statement do?

Declares a variable

Checks a condition

Starts a loop

Ends the program

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?