LA3.C3: Variables

LA3.C3: Variables

9th Grade

16 Qs

quiz-placeholder

Similar activities

Javascript

Javascript

10th - 12th Grade

15 Qs

S3 Python 1

S3 Python 1

8th - 10th Grade

12 Qs

Python Casting and Input

Python Casting and Input

8th - 11th Grade

15 Qs

SST Yr 8 - NCCE - Algorithmic Thinking 2

SST Yr 8 - NCCE - Algorithmic Thinking 2

9th Grade

20 Qs

មេរៀនទី០៤ Microsoft Excel 2019

មេរៀនទី០៤ Microsoft Excel 2019

University

16 Qs

Python

Python

9th Grade

15 Qs

2.3 Robust Programs MCQs L2

2.3 Robust Programs MCQs L2

10th - 11th Grade

20 Qs

Representing Instructions

Representing Instructions

8th - 11th Grade

14 Qs

LA3.C3: Variables

LA3.C3: Variables

Assessment

Quiz

Computers

9th Grade

Easy

Created by

Audley Walker

Used 30+ times

FREE Resource

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

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?