C Variables and Constants

C Variables and Constants

7th Grade

10 Qs

quiz-placeholder

Similar activities

Python

Python

7th - 8th Grade

12 Qs

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

Programming - Variables & Constants

Programming - Variables & Constants

4th - 12th Grade

10 Qs

g7_W4_Python

g7_W4_Python

7th Grade

10 Qs

New Python Programming Math

New Python Programming Math

6th - 12th Grade

10 Qs

Data Types - Introduction to Python

Data Types - Introduction to Python

6th - 7th Grade

9 Qs

C++

C++

7th Grade

12 Qs

Python - Data Types and Operators

Python - Data Types and Operators

7th Grade

12 Qs

C Variables and Constants

C Variables and Constants

Assessment

Quiz

Computers

7th Grade

Medium

Created by

T. Arman

Used 31+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming, a _______ is a container (storage area) to hold data.

variable

variant

variance

variated

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To indicate the storage area, each variable should be given a unique name (identifier).

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A constant is a value or an identifier whose value cannot be altered in a program.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is a numeric constant (associated with number) without any fractional or exponential part.

Integer Constant

Floating Point Constant

Character Constant

String Constant

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

These are the constants which are enclosed in a pair of double-quote marks.

Integer Constants

Floating Point Constants

Character Constants

String Constants

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is a constant which uses single quotation around characters.

Integer Constant

Floating Point Constant

Character Constant

String Constant

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is a numeric constant that has either a fractional form or an exponent form.

Integer Constant

Floating Point Constant

Character Constant

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