Week 5 Identifiers, Variables, Keywords, and Data Flashcards
tokens are _______ building blocks in C language
tokens are basic building blocks in C language
tokens are _______ individual units in C
tokens are smallest individual units in C
Types of \_\_\_\_\_\_\_ in C Keywords Identifiers Constants Variables String Operators
Types of Token in C Keywords Identifiers Constants Variables String Operators
_______ are symbols which are used to perform logical and mathematical operations in a C program
operators are symbols which are used to perform logical and mathematical operations in a C program
_______ are join individual constants and variables to form _______.
operators are join individual constants and variables to form expressions.
\_\_\_\_\_\_\_ \_\_\_\_\_\_\_ \+ addition or unary plus - subtraction or unary minus * multiplication / division % remainder after division( modulo division)
ARITHMETIC OPERATORS \+ addition or unary plus - subtraction or unary minus * multiplication / division % remainder after division( modulo division)
_______ name must begin with letter or underscore.
Variable name must begin with letter or underscore.
Variables _______ case sensitive
Variables are case sensitive
_______ can be constructed with digits, letters.
Variables can be constructed with digits, letters.
No special symbols are allowed other than ______, for variables
No special symbols are allowed other than underscore, for variables
sum, height, _value are some examples for _______ name
sum, height, _value are some examples for variable name
CATEGORIES OF VARIABLES
- _______ variable
- _______ variable
- _______ variable
CATEGORIES OF VARIABLES
- Local variable
- Global variable
- Environment variable
_______ _______ are defined as the data storage format that a variable can store a data to perform a specific operation.
data types are defined as the data storage format that a variable can store a data to perform a specific operation.
_______ _______ are used to define a variable before to use in a program
data types are used to define a variable before to use in a program
• Basic _______ types (int, char, float, double)
• Basic data types (int, char, float, double)
• _______ data type (_______)
• Enumeration data type (enum)
• _______ data type (pointer, array, structure, union)
• Derived data type (pointer, array, structure, union)
• _______ data type (void)
• Void data type (void)
_______ – 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.
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.
_______ – sequence of alphabets and digit, but then keyword cannot be used.
Identifiers – sequence of alphabets and digit, but then keyword cannot be used.
_______ – names where values cannot be changed during the execution of the program.
Constants – names where values cannot be changed during the execution of the program.
_______ constants – numeric constant without any fractional or exponential part.
Integer constants – numeric constant without any fractional or exponential part.
_______ _______ constants – is a numeric constant that has either fractional form or an exponent form.
Floating point constants – is a numeric constant that has either fractional form or an exponent form.
_______ constants – uses single quotation around characters
Character constants – uses single quotation around characters
_______ sequences – selected characters used with special meaning in C programming.
Escape sequences – selected characters used with special meaning in C programming.
_______ constants – strings which are enclosed in a double quotation mark.
String constants – strings which are enclosed in a double quotation mark.
_______ constants – used to define enumeration types.
Enumeration constants – used to define enumeration types.
There are _______ different types of constants.
There are 6 different types of constants.
_______ – it is used to give the name and allocate memory space in the computer
Variables – it is used to give the name and allocate memory space in the computer
_______ – collection of more than one character
String – collection of more than one character
_______ – act as a connector and indicate what type of operation to be performed or carried out.
Operators – act as a connector and indicate what type of operation to be performed or carried out.