LA3.C3: Variables

LA3.C3: Variables

9th Grade

16 Qs

quiz-placeholder

Similar activities

Spreadsheet

Spreadsheet

10th Grade

15 Qs

Sharing Session Week 1 AK21

Sharing Session Week 1 AK21

University

12 Qs

Python Basics 2

Python Basics 2

7th Grade - University

17 Qs

quiz Excel

quiz Excel

University

15 Qs

KUIS Review SS X AK

KUIS Review SS X AK

8th - 10th Grade

15 Qs

AP CSP - Code.org Unit 3 Review

AP CSP - Code.org Unit 3 Review

9th - 12th Grade

15 Qs

IGCSE ICT Full Forms

IGCSE ICT Full Forms

9th - 10th Grade

16 Qs

קלט פלט משתנים והוראות השמה

קלט פלט משתנים והוראות השמה

7th Grade - University

20 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?