Search Header Logo

C Variables and Constants

Authored by T. Arman

Computers

7th Grade

Used 31+ times

C Variables and Constants
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?