CNIT 315 EXAM 1 QUESTIONS AND
ANSWERS 2026 VERIFIED.
Which of the following words describe the c programming languages? - ANS Compiled
After compiling a C source file, a file of which type is produced - ANS Object
The code #include <stdio.h> is what type of command? - ANS Preprocessor command
How many values can be returned from a C function? - ANS 1
A C function must have a return value? - ANS False
Header files are used to: - ANS Link pre compiled/linked libraries to use in the program
ANSI C is a - ANS High-level language
ANSI C is considered an Object-oriented language - ANS False
ANSI C compiles and links into a natively executable program - ANS True
An algorithm is a method for testing a program - ANS False
@COPYRIGHT ALL RIGHTS RESERVED PAGE 1 OF 11
, Analytical Engine (1822) - ANS Charles Babbage
Computers are constructed from physical components referred to as - ANS hardware
Smallest and most basic data item in a computer is a - ANS bit
The grouping of 8 bits to form a larger unit is referred to as a - ANS byte
The collections of patterns consisting of 0s and 1s used to represent letters, single digits, and
other single characters are called - ANS character codes
Combines 1 or more bytes into a single unit - ANS word
data is lost when power is turned off - ANS volatile
directs and monitors the overall operation of the computer - ANS control unit
performs all the computations - ANS arithmetic and logic unit
CPUs are constructed as a single microchip - ANS microprocessor
provides access to the computer allowing it to input and output data - ANS I/O
allows a computer to read/write to any one file or program independent of its storage medium
position - ANS Direct-Access Storage Device
consist of rigid patterns that spin together on a common spindle - ANS magnetic hard disk
@COPYRIGHT ALL RIGHTS RESERVED PAGE 2 OF 11
ANSWERS 2026 VERIFIED.
Which of the following words describe the c programming languages? - ANS Compiled
After compiling a C source file, a file of which type is produced - ANS Object
The code #include <stdio.h> is what type of command? - ANS Preprocessor command
How many values can be returned from a C function? - ANS 1
A C function must have a return value? - ANS False
Header files are used to: - ANS Link pre compiled/linked libraries to use in the program
ANSI C is a - ANS High-level language
ANSI C is considered an Object-oriented language - ANS False
ANSI C compiles and links into a natively executable program - ANS True
An algorithm is a method for testing a program - ANS False
@COPYRIGHT ALL RIGHTS RESERVED PAGE 1 OF 11
, Analytical Engine (1822) - ANS Charles Babbage
Computers are constructed from physical components referred to as - ANS hardware
Smallest and most basic data item in a computer is a - ANS bit
The grouping of 8 bits to form a larger unit is referred to as a - ANS byte
The collections of patterns consisting of 0s and 1s used to represent letters, single digits, and
other single characters are called - ANS character codes
Combines 1 or more bytes into a single unit - ANS word
data is lost when power is turned off - ANS volatile
directs and monitors the overall operation of the computer - ANS control unit
performs all the computations - ANS arithmetic and logic unit
CPUs are constructed as a single microchip - ANS microprocessor
provides access to the computer allowing it to input and output data - ANS I/O
allows a computer to read/write to any one file or program independent of its storage medium
position - ANS Direct-Access Storage Device
consist of rigid patterns that spin together on a common spindle - ANS magnetic hard disk
@COPYRIGHT ALL RIGHTS RESERVED PAGE 2 OF 11