Flow Control & OOO

Flow Control & OOO

Assessment

Flashcard

Information Technology (IT)

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

FLASHCARD QUESTION

Front

All programs must have iteration statements

Back

False

2.

FLASHCARD QUESTION

Front

Which type of statement stores a value in a variable? Options: selection, iteration, sequential, assignment

Back

assignment

3.

FLASHCARD QUESTION

Front

Which operator returns the remainder of integer division? Options: quotient, parameter, mod, sin

Back

mod

4.

FLASHCARD QUESTION

Front

What is displayed after this code segment finishes?
num1 ← 4
num2 ← 7
num1 ←num2
num2 ← num1
display(num1)
display(num2)

Back

7 7

5.

FLASHCARD QUESTION

Front

What is displayed after this code segment finishes?
num1 ← 4
num2 ← 7
num1 ← num1 + num2
num2 ← num1 % 2
display(num2)

Back

1

6.

FLASHCARD QUESTION

Front

What's the best data type for a variable that will hold a person's age?

Back

integer

7.

FLASHCARD QUESTION

Front

What is the best data type for holding a user's name?

Back

string

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?