Engineering Problem Solving with C++, 3e Chapter 1 Test Bank
-
Match the following people with their contribution to the field of Computer Science, where a name can be used more than once.
-
John Atanasoff and Cilfford Berry
-
Augusta Ada Byron
-
Charles Babbage
-
Luigi F. Menabrea
-
John Mauchly and J. Presper Eckert.
-
John von Neumann
____C___ Inventor of the Analytical Engine
____D___ Published a paper describing the Analytical Engine in French
____A___ Inventor of the ABC
____B___ Wrote detailed instructions for numerical computations, thought to be the first computer program.
____F___ proposed a computing model used in most digital computers
____E___ Inventor of the ENIAC
____B___ envisioned the multidisciplinary potential of the Analytical Engine
-
Place the following computers in order from oldest to most recent.
_middle ABC
_oldest___ Analytical Engine
_newest__ ENIAC
-
List the five steps of the problem solving methodology given in this chapter.
-
Problem Statement
-
Input/Output Description
-
Hand Calculations
-
Algorithm Development
-
Testing
-
Convert the decimal number -91 to two's complement using 8 bits, showing all work.
2) 91 |
2) 45 | 1
2) 22 | 1
2) 11 | 0
2) 5 | 1
2) 2 | 1
2)_ 1 | 0
2) 0 | 1
0 1 1 0 1 1 0 1 is 91
1 0 0 1 0 0 1 0 is the one's complement of 91
0 0 0 0 0 0 0 1 add one
1 0 0 1 0 0 1 1 is the two's complement representation of -91
-
Convert the binary number 1010110001010111 to hexadecimal, showing any work.
1 0 1 0|1 1 0 0|0 1 0 1|0 1 1 1
A C 5 7 10101100010101112 is AC5716
-
Which of the following is not computer hardware?
-
a printer
-
the hard disk
-
the operating system
-
the mouse
-
Which of the following is not computer software?
-
a USB memory stick
-
the operating system
-
a C++ compiler
-
a spreadsheet
-
Which of the following is responsible for interpreting the instructions stored in memory?
-
the ALU (arithmetic logic unit)
-
the control unit
-
the software
-
the accumulator
-
High-speed registers for the temporary storage of values are found in …
-
the computers hard disk
-
the computer's primary memory
-
the accumulator
-
the C++ program
-
Which of the following is not a function of a utility provided by an operating system?
-
copying files
-
listing files
-
printing files
-
translating C++ programs
-
Which of the following is not a part of a GUI (Graphical User Interface)?
-
icons
-
menus
-
a mouse
-
text boxes
-
Which of the following is not considered to be application software?
-
database management software
-
spreadsheet programs
-
an operating system
-
mathematical computation software
-
Which of the following is not an example of mathematical computation software?
-
Maple
-
MATLAB
-
Mathematica
-
MySQL
-
Which of the following languages is unique to a computer design where the instructions are binary strings?
-
assembly language
-
Basic
-
C++
-
machine language
-
Real-time programs are usually written in what language?
-
assembly language
-
Basic
-
Fortran
-
machine language
-
Semantics are the set of grammar rules for a high-level language.
-
true
-
false
-
The CPU refers to the control unit and the ALU.(arithmetic logic unit)
-
true
-
false
-
A modern digital computer represents values in memory in base 10.
-
true
-
false
-
A compiler is hardware used to translate a C++ program into machine language.
-
true
-
false
-
The source file is the machine language version of a C++ program.
-
true
-
false
-
Linking is the process of combining the object file with other machine language statements and loading the executable program into memory.
-
true
-
false
-
Program bugs are errors which occur during the compilation step for preparing a C++ program for execution.
-
true
-
false
-
The word size is the size of the registers in the ALU, and therefore depends on the design of the processor.
-
true
-
false
-
A byte is by definition 8 bits.
-
true
-
false
-
Every real number can be represented exactly in binary in the computer's memory.
-
true
-
false
Dostları ilə paylaş: |