CIT 131 is the introductory course for writing programs using the C language in CSN. The C programming language is mainly used for system programming. Applications programming mainly used an OOP language like C++ and Java. Web programming mainly used JavaScript on the client side and Java and SQL on the server side.
Here's a practice exam for CIT 131: BEGINNING C PROGRAMMING.
Question 1. What do you use to tell the C preprocessor you are writing a preprocessor directive?
Answer: _____
Question 2. What's the name of the software that modifies a C program before compilation?
Answer: _____
Question 3. What is the directive that replaces every occurrence of a constant macro like PI in the text of a C program with 3.14159 before compiling?
Answer: _____
Question 4. What texts are ignored by a compiler?
Answer: _____
Question 5. What name of a function does every C program have?
Answer: _____
Question 6. What does this code do? return (0);
Answer: _____
Question 7. Write a code to print the value of the char variable "letter"?
Answer: _____
Question 8. What variable type can the format string placeholder %lf read?
Answer: _____
Question 9. What format string placeholder is used to display an integer?
Answer: _____
Question 10. What format string placeholder is used to display a floating point value?
Answer: _____
Oldies but goodies.
John Sindayen
No comments:
Post a Comment