Chapter01_Answer Keys
6 Pages

Chapter01_Answer Keys

Course: CS 111, Fall 2009

School: Coker College

Word Count: 1313

Rating:

Document Preview

Starting Out With C++: Early Objects 5th Edition Test Bank Key -- Chapter One, Test One 1. The term hardware refers to a. the relative difficulty of programming b. the physical components that make up a computer c. the way a computer's storage space is organized d. the logical flow of instructions e. None of the above Answer: b 2. At the heart of a computer is its Central Processing Unit. The CPU's job is to a....

Unformatted Document Excerpt
Coursehero >> South Carolina >> Coker College >> CS 111

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Out Starting With C++: Early Objects 5th Edition Test Bank Key -- Chapter One, Test One 1. The term hardware refers to a. the relative difficulty of programming b. the physical components that make up a computer c. the way a computer's storage space is organized d. the logical flow of instructions e. None of the above Register to View Answer2. At the heart of a computer is its Central Processing Unit. The CPU's job is to a. fetch instructions b. carry out the operations commanded by the instructions c. produce some outcome or resultant information d. do all of the above e. do none of the above Register to View Answer3. Although an object file contains machine language instructions, it is not a complete program. Why? Answer: Prewritten code from the run-time libraries must be added to the object code by the linker, and then an executable file is created. 4. An Integrated Development Environment (IDE) normally includes a. a text editor b. a compiler c. a debugger d. All of the above e. None of the above Register to View Answer5. The purpose of a memory address is a. to identify the location of a memory cell b. to prevent multitasking c. to obtain an algorithm d. to improve the effectiveness of high-level languages e. None of the above Register to View Answer6. Creating a program requires many steps. Three of these are a. input, processing, and output b. key words, operators, and punctuation c. program design, writing source code, and testing d. syntax, logic, and error handling e. None of the above Register to View Answer 7. Memory locations that can hold data are called a. operators b. variables c. syntax d. operands e. None of the above Register to View Answer8. Characters or symbols that perform operations on one or more operands are a. syntax b. op codes c. operators d. program ops e. None of the above Register to View Answer9. True/False: Software engineering is a field that encompasses designing, writing, testing, debugging, documenting, modifying, and maintaining computer programs. Register to View Answer10. The computer's main memory is commonly known as a. a disk drive b. a CD c. RAM d. secondary storage e. None of the above Register to View Answer11. The ________ coordinates the computer's operations by fetching the next instruction and using control signals to regulate the other major computer components. a. Arithmetic and Logic Unit (ALU) b. main memory c. BIOS d. Control Unit e. operating system Register to View Answer12. A(n) ________ is a set of instructions that tells the computer how to solve a problem. a. compiler b. linker c. program d.. operator e. variable Register to View Answer13. List five elements that are common to all programming languages. Answer: Key words, programmer-defined symbols, operators, punctuation, and syntax 14. True/False: Most of the lines in a program contain something meaningful; however, some of the lines may contain nothing at all. Register to View Answer15. True/False: Once a value has been stored in a variable it cannot be changed. Register to View Answer16. True/False: The purpose of the compiler is to convert object code into source code. Register to View Answer(It does just the opposite. It translates source code into binary object code.) 17. C++ is an example of a. a low-level programming language b. a high-level programming language c. pseudocode logic d. machine language e. None of the above Register to View Answer18. ________ is/are used in a C++ program to mark the beginning or ending of a statement, or to separate items in a list. a. Separators b. Punctuation c. Operators d. Key words e. None of the above Register to View Answer19. A set of well-defined steps for performing a task or solving a problem is known as a. a hierarchy chart b. an algorithm c. the Central Processing Unit d. an encoded instruction e. None of the above Register to View Answer20. The statements written by the programmer are called a. syntax b. object code c. source code d. run-time libraries e. None of the above Register to View Answer Starting Out With C++: Early Objects 5th Test Edition Bank Key -- Chapter One, Test Two 1. Internally, the Central Processing Unit (CPU) consists of two parts: a. the input devices and the output devices b. the software and the hardware c. the Control Unit and the Arithmetic and Logic Unit (ALU) d. the single-task devices and the multi-task devices e. the compiler and the linker Register to View Answer2. Even when there is no power to the computer, data can be held in a. secondary storage devices b. RAM c. variables d. the keyboard e. None of the above Register to View Answer3. Words with a special meaning that may be used only for their intended purpose are known as a. operators b. programmer-defined symbols c. key words d. syntax e. None of the above Register to View Answer4. A memory location that can hold data is called a a. key word b. storage box c. data cell d. variable e. None of the above Register to View Answer5. A ________ is a complete instruction that causes the computer to perform some action. a. line b. line number c. statement d. variable e. key word Register to View Answer 6. A variable definition always specifies the name of a variable and tells a. what type of data it can hold b. how many times it will be used in the program c. the area of the code in which it will be used d. what its starting value is e. All of the above Register to View Answer7. Three primary activities of a program are a. creating variables, operators, and key words b. executing lines, statements, and key words c. input, processing, and output d. reading, writing, and arithmetic e. None of the above Register to View Answer8. An example of a secondary storage device is a. the computer's main memory b. the keyboard c. the monitor d. a hard disk e. None of the above Register to View Answer9. True/False: Most modern computers can understand and execute pseudocode. Register to View Answer(They cant even understand source code. They understand binary object code.) 10. Mistakes that allow a program to run, but cause it to produce erroneous results are called a. syntax errors b. logic errors c. compiler errors d. linker errors e. None of the above Register to View Answer11. What are some of the tools used in the craft of software engineering? Answer: program specifications, charts and diagrams of screen output, hierarchy charts, pseudocode, examples of expected input and desired output, and special testing software. 12. ________ is an example of volatile memory, used for temporary storage while a program is running. a. A floppy disk b. The ALU c. RAM d. A hard disk e. None of the above Register to View Answer 13. True/False: If a new value is stored in a variable, it replaces whatever value was previously there. Register to View Answer14. True/False: Syntax involves rules that must be followed when constructing a program. Register to View Answer15. True/False: C++ is considered a low-level programming language. Register to View Answer(It is considered a high-level programming language.) 16. The programmer usually enters source code into a computer using: a. a preprocessor b. a compiler c. a linker d. a debugger e. None of the above Register to View Answer(Source code is entered using a text editor, which may be part of an IDE.) 17. In a broad sense, the two primary categories of programming languages are a. mainframe and PC b. single-tasking and multi-tasking c. low-level and high-level d. Java and C++ e. None of the above Register to View Answer18. In the C++ statement pay = rate * hours; the * symbol is a(an) a. operator b. operand c. variable separator d. key word e. punctuation mark Register to View Answer19. True/False: Executable code is a form of computer program that runs without exhibiting errors. Register to View Answer20. A software package that includes a text editor, compiler, debugger, and assorted utilities for creating, testing, and running software is called a(n) a. low-level programming language b. high-level programming language c. Integrated Development Environment (IDE) d. Software Utility Package (SUP) e. None of the above Register to View Answer

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Coker College - CS - 360
4Chapter 4Entity Relationship (ER) ModelingDatabase Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel14In this chapter, you will learn: The main characteristics of entity relationship components How relation
Coker College - CS - 360
6Chapter 6Advanced Data ModelingDatabase Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel16In this chapter, you will learn: About the extended entity relationship (EER) models main constructs How entity clu
Washington - HST - 388
Different assignments, different perspectives: How reporters reconstruct the.John R Tisdale The Oral History Review; Winter 2002; 29, 1; Research Library pg. 39Reproduced with permission of the copyright owner. Further reproduction prohibited with
Washington - GEOG - 360
Geography 360 - Principles of GIS Mapping Learning Objectives Outline 7F. 2D and 3D Mapping Contour Maps, Volumetric Displays, and Terrain Rendering Learning Objectives: 7F1. How does one create contours with a DEMo? Interpolation of elevation measu
Coker College - CS - 330
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|30 Aug 2005 14:49:33 -0000 vti_extenderversion:SR|5.0.2.2623 vti_thicketsupportingfile:BW|true
University of Alabama in Huntsville - ECN - 143
ECN 143 In class review for the first testA. What happens to price and quantity sold when the following events take place? Assume the product is a normal good and the substitute product is a competitors product (a substitute good on the demand side
University of Texas - C - 117
3-methyl-2-butanone c6d6 c117b Solvent: Benzene Temp. 27.0 C / 300.1 K File: c117b PULSE SEQUENCE Relax. delay 1.000 sec Pulse 20.2 degrees Acq. time 1.815 sec Width 17226.5 Hz 16 repetitions OBSERVE C13, 75.4069973 MHz DECOUPLE H1, 299.8902312 MHz P
University of Alabama in Huntsville - CS - 513
CS513 Intro to Computer Architecture Lecture #19 Interrupts Spring 2004Types of I/O Both the memory mapped I/O and isolated I/O allow devices to communicate with the CPU. There are three methods for the device to initiate the I/O transfer: Prog
University of Alabama in Huntsville - MKT - 470
yourbookstore.comJennifer Bridges Wendy Hill James JohnsonBusiness Mission and ObjectivesTo provide the University of Alabama in Huntsville community with the opportunity of easily finding the best prices for textbooks from UAH bookstore, OffCamp
Washington - GS - 55304
GENOME553Winter 2004Paper for Tuesday 20 January 2004 Stevenson, L. F., Kennedy, B. K., and Harlow, E. 2001. A large-scale overexpression screen in Saccharomyces cerevisiae identifies previously uncharacterized cell cycle genes. Proc. Natl. Acad.
University of Alabama in Huntsville - CPE - 421
Department of Electrical and Computer Engineering University of Alabama in HuntsvilleEE/CPE 421/521 MicrocomputerTest I SolutionsInstructor: Dr. Aleksandar Milenkovic Date: February 19, 2004 Place: EB 240 Time: 5:30 PM 6:50 PM Note: Work shoul
University of Alabama in Huntsville - CH - 421
Polymer AnalysisLow-Angle Laser Light ScatteringPolymers special characteristics Molecular weight distribution Often more than one polymer Homo-polymers Copolymers from two or more monomers Blends of Polymers Additives Fillers Limited sol
University of Alabama in Huntsville - CH - 4521
Polymer AnalysisLow-Angle Laser Light ScatteringPolymers special characteristics Molecular weight distribution Often more than one polymer Homo-polymers Copolymers from two or more monomers Blends of Polymers Additives Fillers Limited sol
W. Alabama - AH - 322
Date: August 18, 2008Professor: R. T. Floyd, EdD, ATC, CSCS Phone: 652-3714 Off 652-6185 Hm Station #14, UWA, Livingston, AL 35470 Athletic Training AH 322 Evaluation of Athletic Injuries IOffice: JH 219 rtf@uwa.eduTEXT: Magee, David J. Orthope
W. Alabama - AH - 350
Department of Physical Education and Athletic Training AH 350: Organization and Administration of Athletic Training Fall 2008 Instructor: Shanna M. Grubbs, MAT, ATC Office: Pruitt Hall Rm. 32B Contact: 652-3455 office Office Hrs.:sgrubbs@uwa.edu By
W. Alabama - AH - 330
Date:8-18-06Instructor: Brad Montgomery Phone No.: (205)652-3696 Athletic Training AH 330 Therapeutic Modalities in Athletic TrainingOffice No.: 220TEXT: CREDIT: PREREQUISITE:Prentice, William E. Therapeutic Modalities in Sports Medicine. S
University of Alabama in Huntsville - MSC - 385
N3SOLVING NORMAL DISTRIBUTION PROBLEMSBackground Review* * * The equation for the Normal Distribution cannot be integrated to find a close-form solution such as we had for the Uniform Distribution and the Exponential Distribution in Chapter 5. T
Coker College - CS - 301
Emu8086 supports additional devicesthat can be created by 3rd party vendors.There are 2 sample devices: Simple.exe LED_Display.exe Printer.exe - actual device written by Andrew Nelis (andrewn@nipltd.com)Source code for thes
University of Alabama in Huntsville - PH - 102
PHYSICS 102 SPRING 2002 FINAL EXAM - April 10, 2002 NAME : PART A - Answer all questions 1. (5%) What happens when a positive and a negative charge are close to one another? [X] They are attracted by one another [ ] They are repelled by one another [
University of Alabama in Huntsville - EE - 213
STUDY SHEET FOR FIRST ORDER CIRCUITS WITH OR WITHOUT SOURCES Circuits that are source free for t>0 have only a natural response. Circuit that contain sources for t>0 have a two part response: the natural response (which goes to zero as t) and the for
University of Alabama in Huntsville - EE - 213
Created by J. English Fall 2003STUDY SHEET FOR SECOND ORDER CIRCUITS WITH OR WITHOUT SOURCESFollow these steps each and every time you solve a circuit. When analyzing the circuits, usually simple KCL and KVL equations will suffice, however some ci
Washington - M - 124
aqUGP RxRWA Pv aecX ~ x ~ ~ G EC P @ U G P xfFajbR V W p P A eFaDB@WAPv DReYX x ~ q ~ G EC P @ U G P xfeRjvRxRj V W p P A eeaDB@s } y u | { z z y ~ex~fx9T'q| r | } { u y | u z y y u z }
University of Alabama in Huntsville - CPE - 621
063[ 0LFURFRQWUROOHUV /RZ 3RZHU 0RGHV&3( $GYDQFHG 0LFURFRPSXWHU 7HFKQLTXHV 'U (PLO -RYDQRYMSP430 low power concepts1/RZ 3RZHU Power: A First-Class Architectural Design Constraint Trevor Mudge, IEEE Computer, April 2001. Internet, server f
Coker College - MATH - 210
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|25 Aug 2006 13:26:44 -0000 vti_extenderversion:SR|5.0.2.2623 vti_thicketsupportingfile:BW|true