Search Header Logo

LA3.C3: Variables

Authored by Audley Walker

Computers

9th Grade

Used 30+ times

LA3.C3: Variables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the purpose of the line 'name = TextWindow.Read()' in the program?

To display a greeting

To define a variable

To print the user's name

To store the user's input

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name?

1stVariable

if

variable-name

variable_name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of 'TextWindow.WriteLine(number3)' if number1 is 10 and number2 is 20?

200

10

20

30

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the operation 'TextWindow.Write()' do?

Writes text to a new line

Writes text on the same line

Reads user input

Displays an error message

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which symbol is used for division in the program?

-

*

/

+

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the result of 'number3 = number1 * number2' if number1 is 10 and number2 is 20?

200

30

10

20

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the first step in the temperature conversion program?

Display the temperature in Celsius

Get temperature in Fahrenheit from the user

Convert Celsius to Fahrenheit

Calculate the average temperature

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?