C Variables and Constants

C Variables and Constants

7th Grade

10 Qs

quiz-placeholder

Similar activities

Introduction to Computer Science

Introduction to Computer Science

1st - 9th Grade

10 Qs

DT Grade 7 Python Revision

DT Grade 7 Python Revision

7th - 8th Grade

12 Qs

Java Strings

Java Strings

1st Grade - Professional Development

10 Qs

Data type in Programming Language

Data type in Programming Language

7th - 8th Grade

8 Qs

Gaming Lesson 3

Gaming Lesson 3

6th - 8th Grade

14 Qs

Learn Python Basics - Introduction

Learn Python Basics - Introduction

6th - 8th Grade

6 Qs

Grade 6 : Test your QB quotient

Grade 6 : Test your QB quotient

6th - 7th Grade

10 Qs

Variables in Computer Science

Variables in Computer Science

5th - 10th Grade

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