Quiz on Variables, Constants & Operators

Quiz on Variables, Constants & Operators

12th Grade

14 Qs

quiz-placeholder

Similar activities

Python Variables Quiz

Python Variables Quiz

12th Grade

10 Qs

P6 phising

P6 phising

6th Grade - University

10 Qs

Eval. 3B Bloque 1

Eval. 3B Bloque 1

9th Grade - University

15 Qs

Media and Information Sources

Media and Information Sources

12th Grade

12 Qs

Basic Logic & Programming pt.2

Basic Logic & Programming pt.2

6th Grade - University

10 Qs

Internet Safety

Internet Safety

8th Grade - University

10 Qs

2.4 Layer 2 Devices

2.4 Layer 2 Devices

9th - 12th Grade

12 Qs

HTML 5 2o. TEC

HTML 5 2o. TEC

12th Grade

15 Qs

Quiz on Variables, Constants & Operators

Quiz on Variables, Constants & Operators

Assessment

Quiz

Information Technology (IT)

12th Grade

Hard

Created by

Taton David

Used 3+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A method for storing data permanently

A symbolic name assigned to a memory location

A fixed value that cannot change

A type of operator used in calculations

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of assigning a value to a variable called?

Definition

Assignment

Initialization

Declaration

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a constant?

ItemPrice = 20

City = 'New York'

age = 15

Count = 0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What must a variable name not begin with?

A letter

An underscore

A special character

A number

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name?

1stName

First-Name

FirstName

First Name

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of operator performs decision making?

Mathematical

Logical

Arithmetic

Relational

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'AND' logical operator return?

True if both expressions are True

False if both expressions are False

True if neither expression is True

True if either expression is True

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?