Week 5 Identifiers, Variables, Keywords, and Data Flashcards

1
Q

tokens are _______ building blocks in C language

A

tokens are basic building blocks in C language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

tokens are _______ individual units in C

A

tokens are smallest individual units in C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
Types of \_\_\_\_\_\_\_ in C 
Keywords 
Identifiers
Constants
Variables
String
Operators
A
Types of Token in C 
Keywords 
Identifiers
Constants
Variables
String
Operators
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

_______ are symbols which are used to perform logical and mathematical operations in a C program

A

operators are symbols which are used to perform logical and mathematical operations in a C program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

_______ are join individual constants and variables to form _______.

A

operators are join individual constants and variables to form expressions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
\_\_\_\_\_\_\_ \_\_\_\_\_\_\_
\+ addition or unary plus 
- subtraction or unary minus 
* multiplication 
/ division
% remainder after division( modulo division)
A
ARITHMETIC OPERATORS 
\+ addition or unary plus 
- subtraction or unary minus 
* multiplication 
/ division
% remainder after division( modulo division)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

_______ name must begin with letter or underscore.

A

Variable name must begin with letter or underscore.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Variables _______ case sensitive

A

Variables are case sensitive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

_______ can be constructed with digits, letters.

A

Variables can be constructed with digits, letters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

No special symbols are allowed other than ______, for variables

A

No special symbols are allowed other than underscore, for variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

sum, height, _value are some examples for _______ name

A

sum, height, _value are some examples for variable name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

CATEGORIES OF VARIABLES

  1. _______ variable
  2. _______ variable
  3. _______ variable
A

CATEGORIES OF VARIABLES

  1. Local variable
  2. Global variable
  3. Environment variable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

_______ _______ are defined as the data storage format that a variable can store a data to perform a specific operation.

A

data types are defined as the data storage format that a variable can store a data to perform a specific operation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

_______ _______ are used to define a variable before to use in a program

A

data types are used to define a variable before to use in a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

• Basic _______ types (int, char, float, double)

A

• Basic data types (int, char, float, double)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

• _______ data type (_______)

A

• Enumeration data type (enum)

17
Q

• _______ data type (pointer, array, structure, union)

A

• Derived data type (pointer, array, structure, union)

18
Q

• _______ data type (void)

A

• Void data type (void)

19
Q

_______ – special words that are used to give special meaning to the program and cannot be used as a variable or constant. There are 32 _______ used in C programming.

A

Keywords – special words that is used to give special meaning to the program and cannot be used as a variable or constant. There are 32 keywords used in C programming.

20
Q

_______ – sequence of alphabets and digit, but then keyword cannot be used.

A

Identifiers – sequence of alphabets and digit, but then keyword cannot be used.

21
Q

_______ – names where values cannot be changed during the execution of the program.

A

Constants – names where values cannot be changed during the execution of the program.

22
Q

_______ constants – numeric constant without any fractional or exponential part.

A

Integer constants – numeric constant without any fractional or exponential part.

23
Q

_______ _______ constants – is a numeric constant that has either fractional form or an exponent form.

A

Floating point constants – is a numeric constant that has either fractional form or an exponent form.

24
Q

_______ constants – uses single quotation around characters

A

Character constants – uses single quotation around characters

25
Q

_______ sequences – selected characters used with special meaning in C programming.

A

Escape sequences – selected characters used with special meaning in C programming.

26
Q

_______ constants – strings which are enclosed in a double quotation mark.

A

String constants – strings which are enclosed in a double quotation mark.

27
Q

_______ constants – used to define enumeration types.

A

Enumeration constants – used to define enumeration types.

28
Q

There are _______ different types of constants.

A

There are 6 different types of constants.

29
Q

_______ – it is used to give the name and allocate memory space in the computer

A

Variables – it is used to give the name and allocate memory space in the computer

30
Q

_______ – collection of more than one character

A

String – collection of more than one character

31
Q

_______ – act as a connector and indicate what type of operation to be performed or carried out.

A

Operators – act as a connector and indicate what type of operation to be performed or carried out.