Quiz on Variables, Constants & Operators

Quiz on Variables, Constants & Operators

12th Grade

14 Qs

quiz-placeholder

Similar activities

Career Alignment for Drone Technology

Career Alignment for Drone Technology

10th Grade - University

15 Qs

Excel Basics Quiz

Excel Basics Quiz

10th Grade - University

14 Qs

Scratch intro

Scratch intro

4th Grade - University

14 Qs

Scratch Kelas 7

Scratch Kelas 7

7th Grade - University

10 Qs

4.1 Kod Arahan

4.1 Kod Arahan

1st Grade - University

16 Qs

Condition Programming Quiz

Condition Programming Quiz

1st Grade - University

9 Qs

Python Battle Royale: Who Will Survive in the End?❤️🤔

Python Battle Royale: Who Will Survive in the End?❤️🤔

9th - 12th Grade

15 Qs

Unit: IV MongoDB and Node.js Quiz

Unit: IV MongoDB and Node.js Quiz

12th Grade - University

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

Discover more resources for Information Technology (IT)