Chapter 1 Solutions



Yüklə 40 Kb.
tarix08.08.2018
ölçüsü40 Kb.
#61261

Engineering Problem Solving with C++, 3e Chapter 1 Test Bank

  1. Match the following people with their contribution to the field of Computer Science, where a name can be used more than once.

    1. John Atanasoff and Cilfford Berry

    2. Augusta Ada Byron

    3. Charles Babbage

    4. Luigi F. Menabrea

    5. John Mauchly and J. Presper Eckert.

    6. 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



  1. Place the following computers in order from oldest to most recent.

_middle ABC

_oldest___ Analytical Engine

_newest__ ENIAC


  1. List the five steps of the problem solving methodology given in this chapter.

        1. Problem Statement

        2. Input/Output Description

        3. Hand Calculations

        4. Algorithm Development

        5. Testing




  1. 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




  1. 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


  1. Which of the following is not computer hardware?

    1. a printer

    2. the hard disk

    3. the operating system

    4. the mouse




  1. Which of the following is not computer software?

    1. a USB memory stick

    2. the operating system

    3. a C++ compiler

    4. a spreadsheet




  1. Which of the following is responsible for interpreting the instructions stored in memory?

    1. the ALU (arithmetic logic unit)

    2. the control unit

    3. the software

    4. the accumulator




  1. High-speed registers for the temporary storage of values are found in …

    1. the computers hard disk

    2. the computer's primary memory

    3. the accumulator

    4. the C++ program




  1. Which of the following is not a function of a utility provided by an operating system?

    1. copying files

    2. listing files

    3. printing files

    4. translating C++ programs




  1. Which of the following is not a part of a GUI (Graphical User Interface)?

    1. icons

    2. menus

    3. a mouse

    4. text boxes




  1. Which of the following is not considered to be application software?

    1. database management software

    2. spreadsheet programs

    3. an operating system

    4. mathematical computation software




  1. Which of the following is not an example of mathematical computation software?

    1. Maple

    2. MATLAB

    3. Mathematica

    4. MySQL




  1. Which of the following languages is unique to a computer design where the instructions are binary strings?

    1. assembly language

    2. Basic

    3. C++

    4. machine language




  1. Real-time programs are usually written in what language?

    1. assembly language

    2. Basic

    3. Fortran

    4. machine language




  1. Semantics are the set of grammar rules for a high-level language.

    1. true

    2. false




  1. The CPU refers to the control unit and the ALU.(arithmetic logic unit)

    1. true

    2. false




  1. A modern digital computer represents values in memory in base 10.

    1. true

    2. false




  1. A compiler is hardware used to translate a C++ program into machine language.

    1. true

    2. false




  1. The source file is the machine language version of a C++ program.

    1. true

    2. false




  1. Linking is the process of combining the object file with other machine language statements and loading the executable program into memory.

    1. true

    2. false




  1. Program bugs are errors which occur during the compilation step for preparing a C++ program for execution.

    1. true

    2. false




  1. The word size is the size of the registers in the ALU, and therefore depends on the design of the processor.

    1. true

    2. false




  1. A byte is by definition 8 bits.

    1. true

    2. false




  1. Every real number can be represented exactly in binary in the computer's memory.

    1. true

    2. false

©2012 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved.

Yüklə 40 Kb.

Dostları ilə paylaş:




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə