Lesson 3-5 Flashcards

1
Q

list of reference library of function needed to run a program.

A

Header Files

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

Names that are used to reference variables , function labels and various user
defined objects.

A

Identifiers

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

Symbol that tells the compiler to perform specific mathematical or logical operations.

A

Operators

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

Instructs the compiler to add files from the standard library of functions.

A

include directive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  • %s acts as a placeholder for a string.
  • %d acts as a placeholder for a number.

no answr

A

no answr

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

2 or more Lines that start with /* and end with */

A

Multiple lines Comments

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

are variables that are declared inside a function. also called as automatic variables.

A

Local Variables

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

Values that identifiers can hold.

A

Literals

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

indicated by //

A

Single line comment

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

=

A

Assignment Statement

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

giving variables a value at the time they are declared by placing an equal sign (=) and a constant after the variable name.

A

Initialization

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

shows the ways these relationships can be connected together using rules of formal logic.

A

Logical operator

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

} means

A

end or terminates a program or end a compound statement.

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

specifies the main body of the program where execution starts.

A

Main Program / main ()

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

Keywords cannot be a valid identifier.
T or F

A

True

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

remarks or explanation given by the programmer

A

Comment

17
Q

type of data that a variable can hold.

A

Data Types

18
Q

{ means

A

Start of the program / start of compound statements.

19
Q

are known throughout the entire program and may be used by any piece of code.

A

Global variables