A compiler is a program that translates the source code into ____ code, which consists of
binary instructions.
(a) compiled
(b) binary
(c) binary
(d) object correct answers d
____ have special meanings, so you cannot use them as names for variables or functions.
(a) Labels
(b) Tags
(c) Constants
(d) Keywords correct answers d
When you represent character data in a program as a character constant, you enclose the
character in ____.
(a) curly braces
(b) angle braces
(c) single quotation marks
(d) double quotation marks correct answers c
The output of a linker is a(n) ____ file.
(a) executable
(b) binary
(c) object
(d) source code correct answers a
A(n) ____ is a group of characters, such as a name.
(a) array
(b) string
(c) scalar
(d) hash correct answers b
C provides three looping mechanisms: the for loop, the while loop, and the ____ loop.
(a) do-while
(b) switch
(c) while-do
(d) repeat-until correct answers a
The ____ format specifier is used to denote a floating point number in decimal notation.
(a) %c
(b) %d
, (c) %u
(d) %f correct answers d
The ____ data type occupies a single byte.
(a) char
(b) int
(c) float
(d) double correct answers a
The ____ scanf() format specifier is used to indicate that scanf() should interpret the input
value as a pointer.
(a) %p
(b) %P
(c) %r
(d) %R correct answers b
The ____ format specifier is used to denote a signed decimal integer.
(a) %c
(b) %d
(c) %f
(d) %s correct answers b
You can use three modifiers with int data types: short, long, and ____.
(a) scalar
(b) unsigned
(c) array
(d) double correct answers b
The original UNIX operating system was written in ____.
(a) C
(b) C++
(c) assembly language
(d) Awk correct answers c
____ are continuous streams of data.
(a) Arrays
(b) Strings
(c) Files
(d) Pointers correct answers c
C's increment operator is ____.
(a) ++
(b) +