Quiz on Variables

Quiz on Variables

7th Grade

25 Qs

quiz-placeholder

Similar activities

Computer Science I Quiz

Computer Science I Quiz

7th Grade

20 Qs

Math G7 Chapter 3 Mastering Significant Figures and Estimation

Math G7 Chapter 3 Mastering Significant Figures and Estimation

7th Grade - University

20 Qs

Input vs Output Devices

Input vs Output Devices

6th - 8th Grade

20 Qs

Kuis Perangkat Komputer Kelas 7

Kuis Perangkat Komputer Kelas 7

7th Grade - University

20 Qs

BERPIKIR KOMPUTASIONAL

BERPIKIR KOMPUTASIONAL

7th Grade

20 Qs

Grade 7 Term 4 lessons 1-5

Grade 7 Term 4 lessons 1-5

7th Grade

20 Qs

IC3LV2-ÔN TẬP 1

IC3LV2-ÔN TẬP 1

7th Grade

20 Qs

Informatika dan Keterampilan Generik SMP Kelas 7

Informatika dan Keterampilan Generik SMP Kelas 7

7th Grade

20 Qs

Quiz on Variables

Quiz on Variables

Assessment

Quiz

Information Technology (IT)

7th Grade

Practice Problem

Medium

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A) A special character in coding

B) A place to store information in a program

C) A type of animal in a game

D) A method of deleting data

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data can a variable store?

A) Only numbers

B) Only text

C) Numbers, text, or True/False values

D) Only images

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of a variable in a game?

A) The colour of the background

B) The game’s music

C) The player’s score

D) The game’s graphics

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name?

A) 1stPlayer

B) player name

C) playerScore

D) player-name

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, how would you declare a variable to store a player’s name?

A) set playerName = "Alice"

B) playerName: "Alice"

C) playerName = "Alice"

D) name.player = "Alice"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the code age = input("Enter your age: ") do?

A) Displays your age on the screen

B) Stores the user’s input as the variable age

C) Changes the user’s age

D) Deletes the user’s age

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these can change throughout a program?

A) A constant

B) A variable

C) A command

D) A function

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?