CNIT 315 EXAM 1 QUESTIONS WITH VERIFIED
ANSWERS
character codes - Answers - the collections of patterns consisting of 0s and 1s used to
represent letters, single digits, and other single characters
control unit - Answers - directs and monitors the overall operation of the computer
arithmetic and logic unit - Answers - performs all of the computations such as addition,
subtraction, comparisons, and so on that a computer provides
machine language - Answers - binary numbers; computer's internal language
opcode - Answers - tells the computer the operation to be performed
assembly language - Answers - uses the substitution of word-like symbols for the
opcodes, and decimal numbers and labels for memory addresses (LOAD, ADD, MUL,
STORE)
low level languages - Answers - machine and assembly languages; both use
instructions that are directly tied to one type of computer
interpreter - Answers - program that translates each statement in a high-level source
program and executes it immediately upon translation
interpreted language - Answers - when each statement in a high-level source program
is translated individually and executed immediately upon translation, the programming
language is called an ________
compiled language - Answers - the statements in a high-level source program are
translated as a complete unit before any individual statement is executed
compiler - Answers - translates a high-level source program as a complete unit before
any statement is executed
object program - Answers - output produced by the compiler (machine language version
of the source code)
linker - Answers - combines additional machine language code with the object program
to create a final executable program
source programs/source code - Answers - programs written in a computer language
, procedural language - Answers - instructions are used to create self-contained units,
called procedures (aka functions or methods)
structured - Answers - what kind of language C is
bootstrap loader - Answers - internally contained in ROM and is a permanent,
automatically executed component of the computer's system software
operating system - Answers - set of system programs used to operate and control a
computer
algorithm - Answers - specific steps required to produce a desired result
15 - Answers - C provides a comprehensive set of functions stored in a set of files
known as the standard library consisting of ____ header files
identifiers - Answers - Consists of 3 types: reserved words, standard, programmer-
created
standard identifiers - Answers - -words predefined in C
-most are the names of functions that are provided in the C standard library
true - Answers - it is good programming practice to use standard identifiers only for their
intended purpose
programmer created identifiers - Answers - -selected by the programmer
-can be any combo of letters, digits, or underscores, starting with a letter or underscore
(no spaces or reserved words)
driver function - Answers - what main function is sometimes referred to as
printf() - Answers - formats data and sends it to the standard system display device
preprocessor - Answers - what kind of command #include <stdio.h> is
data type - Answers - set of values and a set of operations that can be applied to these
values
integer - Answers - result of a mixed mode expression with both operands being
integers
double precision - Answers - result of a mixed mode expression with one operand being
real
double precision - Answers - result of a floating-point expression
ANSWERS
character codes - Answers - the collections of patterns consisting of 0s and 1s used to
represent letters, single digits, and other single characters
control unit - Answers - directs and monitors the overall operation of the computer
arithmetic and logic unit - Answers - performs all of the computations such as addition,
subtraction, comparisons, and so on that a computer provides
machine language - Answers - binary numbers; computer's internal language
opcode - Answers - tells the computer the operation to be performed
assembly language - Answers - uses the substitution of word-like symbols for the
opcodes, and decimal numbers and labels for memory addresses (LOAD, ADD, MUL,
STORE)
low level languages - Answers - machine and assembly languages; both use
instructions that are directly tied to one type of computer
interpreter - Answers - program that translates each statement in a high-level source
program and executes it immediately upon translation
interpreted language - Answers - when each statement in a high-level source program
is translated individually and executed immediately upon translation, the programming
language is called an ________
compiled language - Answers - the statements in a high-level source program are
translated as a complete unit before any individual statement is executed
compiler - Answers - translates a high-level source program as a complete unit before
any statement is executed
object program - Answers - output produced by the compiler (machine language version
of the source code)
linker - Answers - combines additional machine language code with the object program
to create a final executable program
source programs/source code - Answers - programs written in a computer language
, procedural language - Answers - instructions are used to create self-contained units,
called procedures (aka functions or methods)
structured - Answers - what kind of language C is
bootstrap loader - Answers - internally contained in ROM and is a permanent,
automatically executed component of the computer's system software
operating system - Answers - set of system programs used to operate and control a
computer
algorithm - Answers - specific steps required to produce a desired result
15 - Answers - C provides a comprehensive set of functions stored in a set of files
known as the standard library consisting of ____ header files
identifiers - Answers - Consists of 3 types: reserved words, standard, programmer-
created
standard identifiers - Answers - -words predefined in C
-most are the names of functions that are provided in the C standard library
true - Answers - it is good programming practice to use standard identifiers only for their
intended purpose
programmer created identifiers - Answers - -selected by the programmer
-can be any combo of letters, digits, or underscores, starting with a letter or underscore
(no spaces or reserved words)
driver function - Answers - what main function is sometimes referred to as
printf() - Answers - formats data and sends it to the standard system display device
preprocessor - Answers - what kind of command #include <stdio.h> is
data type - Answers - set of values and a set of operations that can be applied to these
values
integer - Answers - result of a mixed mode expression with both operands being
integers
double precision - Answers - result of a mixed mode expression with one operand being
real
double precision - Answers - result of a floating-point expression