CNIT 315 EXAM 1 QUESTIONS & ANSWERS
Which of the following words describe the c programming languages? - Answers -
Compiled
After compiling a C source file, a file of which type is produced - Answers -Object
The code #include <stdio.h> is what type of command? - Answers -Preprocessor
command
How many values can be returned from a C function? - Answers -1
A C function must have a return value? - Answers -False
Header files are used to: - Answers -Link pre compiled/linked libraries to use in the
program
ANSI C is a - Answers -High-level language
ANSI C is considered an Object-oriented language - Answers -False
ANSI C compiles and links into a natively executable program - Answers -True
An algorithm is a method for testing a program - Answers -False
Analytical Engine (1822) - Answers -Charles Babbage
Computers are constructed from physical components referred to as - Answers -
hardware
Smallest and most basic data item in a computer is a - Answers -bit
The grouping of 8 bits to form a larger unit is referred to as a - Answers -byte
The collections of patterns consisting of 0s and 1s used to represent letters, single
digits, and other single characters are called - Answers -character codes
Combines 1 or more bytes into a single unit - Answers -word
data is lost when power is turned off - Answers -volatile
directs and monitors the overall operation of the computer - Answers -control unit
performs all the computations - Answers -arithmetic and logic unit
, CPUs are constructed as a single microchip - Answers -microprocessor
provides access to the computer allowing it to input and output data - Answers -I/O
allows a computer to read/write to any one file or program independent of its storage
medium position - Answers -Direct-Access Storage Device
consist of rigid patterns that spin together on a common spindle - Answers -magnetic
hard disk
data and instructions used to operate and produce a specific result - Answers -
computer program
a program or set of programs - Answers -software
writing instructions in a language that the computer can respond to and that other
programmers can understand - Answers -programming
set of instructions that can be used to construct a program - Answers -programming
langauge
program that can operate a computer - Answers -executable
written binary numbers, computer's internal language - Answers -machine language
tells the computer the operation to be performed - Answers -opcode
LOAD, ADD, MUL, STORE - Answers -assembly
uses the substitution of word-like symbols for opcodes, and decimal numbers and labels
for memory addresses - Answers -assembly language
Machine and assembly are _____-_________ - Answers -low-level
programs written in a computer language are ______ ______ and ______ ______ -
Answers -source programs, source code
Compiler and interpreter languages are ____ - _____ - Answers -high-level
interpreter - Answers -program that translates and executes right after translating
compiler - Answers -program that translates as a unit then executes
machine language version of source code - Answers -object program
Which of the following words describe the c programming languages? - Answers -
Compiled
After compiling a C source file, a file of which type is produced - Answers -Object
The code #include <stdio.h> is what type of command? - Answers -Preprocessor
command
How many values can be returned from a C function? - Answers -1
A C function must have a return value? - Answers -False
Header files are used to: - Answers -Link pre compiled/linked libraries to use in the
program
ANSI C is a - Answers -High-level language
ANSI C is considered an Object-oriented language - Answers -False
ANSI C compiles and links into a natively executable program - Answers -True
An algorithm is a method for testing a program - Answers -False
Analytical Engine (1822) - Answers -Charles Babbage
Computers are constructed from physical components referred to as - Answers -
hardware
Smallest and most basic data item in a computer is a - Answers -bit
The grouping of 8 bits to form a larger unit is referred to as a - Answers -byte
The collections of patterns consisting of 0s and 1s used to represent letters, single
digits, and other single characters are called - Answers -character codes
Combines 1 or more bytes into a single unit - Answers -word
data is lost when power is turned off - Answers -volatile
directs and monitors the overall operation of the computer - Answers -control unit
performs all the computations - Answers -arithmetic and logic unit
, CPUs are constructed as a single microchip - Answers -microprocessor
provides access to the computer allowing it to input and output data - Answers -I/O
allows a computer to read/write to any one file or program independent of its storage
medium position - Answers -Direct-Access Storage Device
consist of rigid patterns that spin together on a common spindle - Answers -magnetic
hard disk
data and instructions used to operate and produce a specific result - Answers -
computer program
a program or set of programs - Answers -software
writing instructions in a language that the computer can respond to and that other
programmers can understand - Answers -programming
set of instructions that can be used to construct a program - Answers -programming
langauge
program that can operate a computer - Answers -executable
written binary numbers, computer's internal language - Answers -machine language
tells the computer the operation to be performed - Answers -opcode
LOAD, ADD, MUL, STORE - Answers -assembly
uses the substitution of word-like symbols for opcodes, and decimal numbers and labels
for memory addresses - Answers -assembly language
Machine and assembly are _____-_________ - Answers -low-level
programs written in a computer language are ______ ______ and ______ ______ -
Answers -source programs, source code
Compiler and interpreter languages are ____ - _____ - Answers -high-level
interpreter - Answers -program that translates and executes right after translating
compiler - Answers -program that translates as a unit then executes
machine language version of source code - Answers -object program