KEMBAR78
University of Technology, Jamaica | PDF
0% found this document useful (0 votes)
57 views2 pages

University of Technology, Jamaica

The document provides an overview of introductory C programming concepts for a university course. It includes examples of valid and invalid identifiers, blanks to fill in regarding program flow and standard library functions, and exercises from the course text to complete.

Uploaded by

Leia Michaelson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views2 pages

University of Technology, Jamaica

The document provides an overview of introductory C programming concepts for a university course. It includes examples of valid and invalid identifiers, blanks to fill in regarding program flow and standard library functions, and exercises from the course text to complete.

Uploaded by

Leia Michaelson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

University of Technology, Jamaica

School of Computing & Information Technology


Programming II – Tutorial Week 1
1. Indicate whether the identifiers below are valid or invalid by putting a ( √ ) for valid
and ( × ) for invalid.

⃝ _height ⃝ My_name

⃝ Hei$ght ⃝ _height1

⃝ First name ⃝ 1height

2. Fill in the blanks in each of the following.

a) Every C program begins execution at the function _______________________.

b) The ________________ begins the body of every function and the ends

____________ the body of every function.

c) Every statement ends with a(n) ________________________.

d) The __________________________ standard library function displays

information on the screen.

e) The escape sequence \n represents the _______________________ character,

which causes the cursor to position to the beginning of the next line on the

screen.

f) The _________________________ Standard Library function is used to obtain

data from the keyboard.


g) The conversion specifier __________________________ is used in a scanf

format control string to indicate that an integer will be input and in a printf

format control string to indicate that an integer will be output.

h) Whenever a new value is placed in a memory location, that value overrides the

previous value in that location. This process is said to be

__________________________.

i) When a value is read out of a memory location, the value in that location is

preserved; this process is said to be _____________________________.

3. Complete the following exercises from the C How To Program text.

2.16, 2.17, 2.18, 2.19 and 2.20

You might also like