46. Programming 1 : Variables & Constants

46. Programming 1 : Variables & Constants

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

COMPUTER SCIENCE LOOP STRUCTURES

COMPUTER SCIENCE LOOP STRUCTURES

10th Grade

16 Qs

New year 10 Python Quiz

New year 10 Python Quiz

10th Grade

14 Qs

Python Syntax

Python Syntax

10th Grade

16 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 Qs

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Python Dasar

Python Dasar

10th Grade

10 Qs

N5 SDD - Python input and output

N5 SDD - Python input and output

7th - 11th Grade

12 Qs

46. Programming 1 : Variables & Constants

46. Programming 1 : Variables & Constants

Assessment

Passage

Computers

9th - 12th Grade

Easy

Created by

Andy Workman

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A type of operator

A Python-specific data type

A fixed value that does not change

A pointer to a memory address with a user-friendly label

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What analogy is used to explain variables?

Registers in the central processor

Arithmetic operations

A type of constant

Data types in Python

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'memory address register' contain?

A Python program

A constant value

The address of an instruction or data to be fetched or written to memory

The highest value of a dice game

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does Python handle data types for variables?

Requires explicit declaration

Only uses string data types

Based on the value initially given to it

Does not support data types

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a constant in programming?

A value that changes during program execution

A Python-specific operator

A value which remains fixed and does not change while the program is running

A variable that stores integers only

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is assignment performed in Python?

With the equal symbol

By declaring a variable as constant

Using the plus symbol

With a specific assignment function

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of operators in Python?

To convert data types

To perform operations on variables and constants

To assign a value to a constant

To declare a variable as a constant

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?