CNIT 315 NETWORK SECURITY TEST PAPER
QUESTIONS AND SOLUTIONS VERIFIED
ANSWERS
●● After compiling a C source file, a file of which type is produced
Answer: Object
●● The code #include <stdio.h> is what type of command?
Answer: Preprocessor command
●● How many values can be returned from a C function?
Answer: 1
●● A C function must have a return value?
Answer: False
●● Header files are used to:
Answer: Link pre compiled/linked libraries to use in the program
●● ANSI C is a
Answer: High-level language
,●● ANSI C is considered an Object-oriented language
Answer: False
●● ANSI C compiles and links into a natively executable program
Answer: True
●● An algorithm is a method for testing a program
Answer: False
●● Analytical Engine (1822)
Answer: Charles Babbage
●● Computers are constructed from physical components referred to as
Answer: hardware
●● Smallest and most basic data item in a computer is a
Answer: bit
●● The grouping of 8 bits to form a larger unit is referred to as a
Answer: byte
, ●● The collections of patterns consisting of 0s and 1s used to represent
letters, single digits, and other single characters are called
Answer: character codes
●● Combines 1 or more bytes into a single unit
Answer: word
●● data is lost when power is turned off
Answer: volatile
●● directs and monitors the overall operation of the computer
Answer: control unit
●● performs all the computations
Answer: arithmetic and logic unit
●● CPUs are constructed as a single microchip
Answer: microprocessor
●● provides access to the computer allowing it to input and output data
Answer: I/O
QUESTIONS AND SOLUTIONS VERIFIED
ANSWERS
●● After compiling a C source file, a file of which type is produced
Answer: Object
●● The code #include <stdio.h> is what type of command?
Answer: Preprocessor command
●● How many values can be returned from a C function?
Answer: 1
●● A C function must have a return value?
Answer: False
●● Header files are used to:
Answer: Link pre compiled/linked libraries to use in the program
●● ANSI C is a
Answer: High-level language
,●● ANSI C is considered an Object-oriented language
Answer: False
●● ANSI C compiles and links into a natively executable program
Answer: True
●● An algorithm is a method for testing a program
Answer: False
●● Analytical Engine (1822)
Answer: Charles Babbage
●● Computers are constructed from physical components referred to as
Answer: hardware
●● Smallest and most basic data item in a computer is a
Answer: bit
●● The grouping of 8 bits to form a larger unit is referred to as a
Answer: byte
, ●● The collections of patterns consisting of 0s and 1s used to represent
letters, single digits, and other single characters are called
Answer: character codes
●● Combines 1 or more bytes into a single unit
Answer: word
●● data is lost when power is turned off
Answer: volatile
●● directs and monitors the overall operation of the computer
Answer: control unit
●● performs all the computations
Answer: arithmetic and logic unit
●● CPUs are constructed as a single microchip
Answer: microprocessor
●● provides access to the computer allowing it to input and output data
Answer: I/O