Search Header Logo

Unit #4

Authored by Jim Klomparens

Other

12th Grade

Used 7+ times

Unit #4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Nora, Aiden, and William are solving math puzzles together. Which of the following best describes what an expression is?

An expression evaluates to a single value.

An expression always contains a variable.

An expression must include a function call.

An expression changes the value of a variable.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Imagine Samuel wants to update his score in a game. What tool does he use to change the value stored in his score variable?

An assignment operator creates a new variable.

An assignment operator changes the value represented by a variable.

An assignment operator deletes a variable.

An assignment operator evaluates a Boolean expression.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Imagine Benjamin and Scarlett are coding together. Benjamin asks, "What is a variable in programming?" Scarlett thinks she knows! Can you help them out?

A variable is a type of function.

A variable is a sequence of characters.

A variable is a Boolean expression.

A variable is a named reference to a value.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Abigail is helping William and Mason with their coding homework. She asks, "Hey, can anyone tell me what a string is?"

A string is a numeric value.

A string is an ordered sequence of characters.

A string is a Boolean expression.

A string is a function call.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Abigail and Mason are having a debate: Abigail says a Boolean value is either true or false, while Mason thinks it might be a string or a number. Who is correct? What is a Boolean value?

A Boolean value is a numeric value.

A Boolean value is either true or false.

A Boolean value is a string of characters.

A Boolean value is a complex expression.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Abigail, Aiden, and Hannah are coding together. They want to know: What do comparison operators do in programming?

Comparison operators indicate a Boolean expression.

Comparison operators change the value of a variable.

Comparison operators create new variables.

Comparison operators evaluate to a string.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mia and Emma are having a debate in class: When you use logical operators, what kind of result do you get?

Logical operators evaluate to a numeric value.

Logical operators create new variables.

Logical operators evaluate to a Boolean value.

Logical operators change the value of a 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?