Activity 2 (CPE-PC112)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Activity 2 (CPE-PC112) Total points 14/15

Supply the needed items below.

The respondent's email ([email protected]) was recorded on submission of this


form.

It begins with a pound / hash symbol. * 1/1

Directives

Preprocessor

Libraries

Comment

It denotes the beginning and end of the program. * 1/1

open/close braces

ampersand

single quotation

equal sign

Encloses the body of the function. * 1/1

Braces

Body

Executable Statements

Variable

Used to display initializing string constant. * 1/1

double quotation

ampersand

single quotation

equal sign

Nested comments are legal. * 1/1

True

False

Derived statements from the algorithm into machine language and later *1/1
executed.

Directives

Function Main

Executable Statements

Declaration

It has a special meaning in C and cannot be used for other purposes. * 1/1

Reserved Words

Declaration

Executable Statements

Variable

This is helpful when you revisit the code at a later date. * 1/1

Directives

Preprocessor

Libraries

Comment

All identifiers that are to be changed by the preprocessor are written in *1/1
capital letters.

True

False

This tells the compiler the names of memory cells in a program needed in *1/1
the function.

Directives

Function Main

Executable Statements

Declaration

Commenting several lines are legal. * 1/1

True

False

The compiler will ignore comments * 1/1

True

False

It has a standard header file whose name ends with the symbol .h. * 1/1

Directives

Preprocessor

Libraries

Comment

#define tells that some names used in * 0/1


the program are found in the standard header
file.

True

False

Correct answer

False

This is where you found the body of your program that has beginning and *1/1
end indication.

Directives

Preprocessor

Libraries

Function Main

This form was created inside of Cebu Technological University.

 Forms

You might also like