Chapter 1
. 100. When a computer is turned off, the contents of its ____________ are erased. a. secondary storage b. RAM c. software d. hardware
ANS : B
17. Today, CPUs are small chips known as ____________. a. parallel processors b. microprocessors c. mini-CPUs d. super computers
ANS : B
18. There are two general categories of software: system software and utility software.
ANS: F
19. Software development tools control the internal operations of the computer's hardware, mange all the devices connected to the computer, allow data to be saved to and retrieved from the storage devices, and allow other programs to run on the computer.
ANS: F
21. An operating system consists of assemblers, compilers, and utility programs.
ANS: F
25. The largest value that can be stored in a byte is 1.
ANS: F
38. All programming languages have math operators that perform arithmetic.
ANS: T
23. ____________ is a term used for data a computer collects from users and other devices. a. telemetry b. input c. information d. storage
ANS : B
3. A computer's memory is divided into tiny storage locations known as ____________. a. sectors b. arrays c. cells d. bytes
ANS : D
1. Applications that programmers use to create, modify, and test software are referred to as ____________. a. utility programs b. software development tools c. device drivers d. application software
ANS : B
10. A(n) ____________ is a set of instructions that a computer follows to perform a task. a. algorithm b. program c. formula d. method
ANS : B
16. The ____________ is considered by many to be the world's first programmable electronic computer. a. UNIVAC b. ENIAC c. Apple II d. Harvard MARK I
ANS : B
18. ____________ is a type of memory that can hold data for long periods of time, even when there is no power to the computer. a. RAM b. Secondary storage, or static RAM c. Application software d. Main memory
ANS : B
31. Computers are able to store negative numbers in memory by using a technique known as ____________. a. ASCII b. two's complement c. bit block transfer d. Unicode
ANS : B
33. The term ____________ can be used to describe anything that uses binary numbers. a. electronic b. digital c. organic d. computer
ANS : B
43. A special program known as a(n) ____________ is used to translate an assembly language program into a machine language program. a. interpreter b. assembler c. translator d. code conversion tool
ANS : B
44. Because assembly language is so close in nature to machine language, it is referred to as a ____________. a. high-level language b. low-level language c. machine-like language d. linked language
ANS : B
51. A(n) _____________ is a program that simultaneously translates and executes each instruction in a high-level language program. a. compiler b. interpreter c. assembler d. lexical analyzer
ANS : B
64. A ____________ object appears as a rectangular region that accepts keyboard input from the user. a. True-type b. Textbox c. Rectangle d. Notepad
ANS : B
90. In Visual Studio, the ____________ contains buttons that execute frequently used commands. a. toolbox b. hot bar c. standard toolbar d. command bar
ANS : C
12. A programmer, or software developer, is a person with the training and skills necessary to ____________ computer programs. a. design b. create c. test d. All of the above
ANS : D
19. A(n) ____________ stores data by magnetically encoding it onto a circular disk. a. CPU b. output device c. program d. disk drive
ANS : D
20. A ____________ drive stores data on a simulated disk drive, but has no moving parts. a. USB drive b. hard drive c. solid state d. both Answers (a) and (c)
ANS : D
24. The computer component that collects data and sends it to the computer is called a(n) ____________. a. storage device b. output device c. sending unit d. input device
ANS : D
30. _____________ is an extensive encoding scheme that is compatible with ASCII and can also represent the characters of many of the world's languages. a. Baudot code b. EBCDIC c. ANSEL d. Unicode
ANS : D
38. A computer's CPU can only execute instructions written in ____________. a. main memory b. mnemonics c. assembly language d. machine language
ANS : D
47. Programming languages have ____________ that perform various operations on data. a. keywords b. mnemonics c. states d. operators
ANS : D
55. A computer's ____________ is the part of the computer with which the user interacts. a. operating system b. monitor c. Input device d. user interface
ANS : D
58. Because GUI programs must respond to the actions of the user, they are said to be ____________. a. response-based b. drag-and-drop c. open-ended d. event-driven
ANS : D
61. The operations that an object can perform are called ____________. a. actions b. events c. behaviors d. methods
ANS : D
63. A ____________ object displays text on a form. a. Text b. Font c. Character d. Label
ANS : D
70. Before beginning a new programming project, it is essential that you ____________. a. design the program's logic b. correct syntax errors c. write the program's code d. understand the program's purpose
ANS : D
76. In a flowchart, the ____________ symbol marks the program's starting point. a. input b. output c. processing d. Start terminal
ANS : D
14. Floppy disk drives are good mediums for creating backup copies of data.
ANS: F
45. In a text-based environment, such as a command line interface, the user determines the order in which things happen.
ANS: F
46. Very few programming languages used today are object oriented.
ANS: F
47. In programming, an object is a physical device.
ANS: F
49. When you write a program using a low-level language, you use objects to accomplish specific tasks.
ANS: F
5. You can think of secondary storage as the place where a computer carries out calculations.
ANS: F
50. In a program with a graphical user interface, all of the objects will be visible when the program starts.
ANS: F
54. The C# language provides classes and other code necessary for creating GUIs and performing many other advanced operations.
ANS: F
58. The process of creating a high-quality program only involves writing code.
ANS: F
7. Most of a computer's RAM is stored in the same device that performs calculations.
ANS: F
1. Computers can perform a wide variety of tasks because they can be programmed in ways that are specific to the needs of applications.
ANS: T
10. External disk drives can be used to create backup copies of important data or to move data to another computer.
ANS: T
13. Data is not recorded magnetically on an optical disc but is encoded as a series of pits on the disc surface.
ANS: T
15. Common input devices are the keyboard, mouse, scanner, microphone, and digital camera.
ANS: T
17. Disk drives and recordable optical disk drives can be considered input devices or output devices.
ANS: T
2. The CPU is the most important component in a computer because without it, the computer could not execute programs.
ANS: T
60. Virtually all nontrivial code contains syntax errors when it is first written.
ANS: T
61. A logic error is a mistake that causes a program to generate incorrect results.
ANS: T
9. A common type of secondary storage device is the solid state drive.
ANS: T
13. ____________ refers to all the physical devices, or components, of which a computer is made. a. Hardware b. Workstation c. Machine d. System
ANS : A
15. The ____________ is the part of a computer's hardware that executes each instruction in a program. a. CPU b. software c. main memory d. programming language
ANS : A
22. The compact disc (CD) and digital versatile disc (DVD) are known as ____________ devices. a. optical b. binary c. legacy d. encoded
ANS : A
25. ____________ is any data the computer produces and sends to another device, such as a video display or speaker. a. Output b. Software c. Firmware d. Media
ANS : A
29. A(n) ____________ performs a specialized task that enhances the computer's operation or safeguards data. a. utility program b. secondary storage device c. USB drive d. operating system
ANS : A
32. Before a computer can store a real number in memory, it must be encoded in ____________. a. floating-point notation b. hexadecimal c. EBCDIC d. decimal mode
ANS : A
39. The entire set of instructions a CPU can execute is known as the CPU's ____________. a. instruction set b. command list c. programming language d. interpreted set
ANS : A
40. When a CPU executes each instruction in a program, it uses a process known as the ____________. a. fetch-decode-execute cycle b. ready-set-go phase c. code assembly process d. compilation sequence
ANS : A
42. Instead of using binary numbers for instructions, assembly language uses short words known as ____________. a. mnemonics b. keywords c. operators d. terms
ANS : A
48. Each programming language has its own ____________, which is a set of rules that must be strictly followed when writing a program. a. syntax b. convention c. conversion rules d. structure
ANS : A
52. Statements a programmer writes in a high-level language are called ____________, or simply code. a. source code b. high-level text c. program font d. simple script
ANS : A
54. Programmers commonly use the term ____________ to describe any hypothetical person that might be using a computer and its programs. a. user b. customer c. patient d. client
ANS : A
59. When you use a(n) ____________ language, you create programs by putting together a collection of objects. a. object-oriented b. object-based c. collective d. high-level
ANS : A
6. The term bit stands for ____________. a. binary digit b. basic integer c. Boolean interchange type d. big-endian format
ANS : A
65. A ____________object appears on a form as a clickable rectangle containing a caption written across its face. a. Button b. Banner c. Checkbox d. Frame
ANS : A
67. A ____________ is code that describes a particular type of program object. a. class b. specification c. blueprint d. diagram
ANS : A
74. A ____________ is a diagram that graphically depicts the steps of an algorithm. a. flowchart b. billboard c. schematic d. formulaic hierarchy chart
ANS : A
79. In a flowchart, rectangles are used as ____________ to represent the steps in which the program performs some process on data, such as a mathematical calculation. a. processing symbols b. output symbols c. input symbols d. terminal symbols
ANS : A
81. To ____________ a program means to find and correct logic errors in the program. a. debug b. proofread c. analyze d. logistics
ANS : A
83. ____________ can be used to create applications written not only in Visual C#, but also in other languages such as Visual Basic and C++. a. Visual Studio b. A compiler c. Notepad d. All of the above
ANS : A
84. ____________ is a free programming environment that is available for download from the Microsoft Web site. a. Visual Studio 2015 Community Edition b. Visual Studio 2015 Professional c. The MSDN library d. Internet Explorer
ANS : A
85. In Visual Studio, each Visual C# application you create is a called a ____________. a. solution b. file c. source d. project
ANS : A
88. When you create a Visual C# application, use the ____________ window to examine and change a control's properties. a. Properties b. Solution Explorer c. Designer d. Attributes
ANS : A
89. When the ____________ feature is turned on, the window is displayed only as a tab along one of the edges of the Visual Studio environment. a. Auto Hide b. Pushpin c. Economy View d. Tab
ANS : A
94. A window not attached to one of the edges of the Visual Studio window is ____________. a. floating b. hovering c. overlapped d. docked
ANS : A
95. When you create a new project using Visual Studio, it will be stored in a _____________ at the location you specify on your computer's disk. a. Solution folder b. Project folder c. Solution file d. System file
ANS : A
96. Inside the solution folder, the ____________ contains various files related to the project. a. project folder b. solution file c. source folder d. system folder
ANS : A
97. Inside the solution folder, you can double-click the ____________ to open the project in Visual Studio. a. solution file b. system folder c. project folder d. source file
ANS : A
98. ____________ is where a computer stores a program while the program is running, as well as the data used by the program. a. Main memory b. Software c. The CPU d. Secondary storage
ANS : A
99. Main memory is commonly known as ____________, or RAM. a. random-access memory b. read-append memory c. random-asynchronous memory d. readily-available memory
ANS : A
21. ____________ are small devices that plug into a computer's USB port and appear to the system as disk drives. a. Virtual disk drives b. Universal Serial Bus (USB) drives c. Floppy disk drives d. External disk drives
ANS : B
26. Data produced by a computer is sent to a(n) ____________, which formats and presents it. a. input device b. output device c. storage device d. program
ANS : B
35. A(n) ____________ is any device that works with binary data. a. electronic module b. digital device c. binary machine d. computational tool
ANS : B
36. Digital images are composed of tiny dots of color known as ____________. a. halftone cells b. pixels c. light-emitting diodes d. raster elements
ANS : B
37. A digital song is broken into small pieces known as ____________. a. tones b. samples c. pulses d. waves
ANS : B
4. One ____________ of memory is large enough to store only a letter of the alphabet or a small number. a. bit b. byte c. sector d. word ?
ANS : B
53. A(n) ____________ is a mistake such as a misspelled keyword, a missing punctuation character, or the incorrect use of an operator. a. parsed anomaly b. syntax error c. code bug d. illegal operation
ANS : B
57. A(n) ____________, or GUI, allows the user to interact with the operating system and application programs through graphical elements on the screen. a. general-purpose interface b. graphical user interface c. generic unified interface d. graphics utility interface
ANS : B
68. The ____________ is a collection of classes and other code that can be used, along with a programming language such as C#, to create programs for the Windows operating system. a. MSDN Library b. .NET Framework c. Sync Framework d. Windows SDK
ANS : B
69. The entire process of creating a program is known as the ____________. a. art of software development b. program development cycle c. computer science sequence d. engineering cycle
ANS : B
73. An algorithm written out in plain English statements is called ____________. a. prototyping b. pseudocode c. outlining d. quick-code
ANS : B
80. A ____________ is a mistake that does not prevent the program from starting, but causes it to produce incorrect results. a. syntax error b. logic error c. parse error d. interpret error
ANS : B
82. A(n) ____________ provides all the necessary tools for creating, testing, and debugging software. a. super computer b. integrated development environment (IDE) c. operating system d. software development kit (SDK)
ANS : B
92. A(n) ____________ is a small rectangular box that pops up when you hover the mouse pointer over a button on the toolbar or in the toolbox for a few seconds. a. Icon b. ToolTip c. Message d. Alert
ANS : B
In a binary systems, a zero bit represents a switch in the ____ position, and a one bit represents a switch in the ____ position. a. on, off b. off, on c. neutral, binary d. positive, negative
ANS : B
11. Programs are commonly referred to as ____________. a. applications b. simulations c. software d. firmware
ANS : C
14. When a computer is performing the tasks that a program tells it to do, we say the computer is running, or ____________ the program. a. compiling b. processing c. executing d. reading
ANS : C
2. Programs that make a computer useful for everyday tasks are known as ____________. a. operating systems b. utility programs c. application software d. system software
ANS : C
27. The programs that control and manage the basic operations of a computer are generally referred to as ____________. a. application software b. RAM c. system software d. output devices
ANS : C
28. A(n) ____________ is the most fundamental set of programs on a computer. a. application suite b. device driver c. operating system d. Web browser
ANS : C
34. ____________ is the term used for any data stored in binary. a. Bitwise data b. Electronic information c. Digital data d. Biometric data
ANS : C
41. ____________ was created in the early days of computing as an alternative to machine language. a. FORTRAN b. COBOL c. assembly language d. Pascal
ANS : C
45. A(n) ____________ allows you to create powerful and complex programs without knowing how the CPU works and without writing large numbers of low-level instructions. a. assembler b. interpreter c. high-level language d. virtual language
ANS : C
46. Words having a predefined meaning in a high-level language are known as ____________ or reserved words. a. mnemonics b. pseudonyms c. keywords d. semantics
ANS : C
49. The individual instructions that you use to write a program in a high-level programming language are called ____________. a. directives b. commands c. statements d. orders
ANS : C
5. Each byte is divided into eight smaller storage locations known as ____________. a. nibbles b. pixels c. bits d. words
ANS : C
50. A(n) ____________ is a program that translates a high-level language program into a separate machine language program. a. parser b. interpreter c. compiler d. assembler
ANS : C
56. A(n) ____________, also known as a console interface, requires the user to type textual input a. command prompt b. console c. command line interface d. terminal
ANS : C
60. The data stored in an object are commonly called fields, or ____________. a. attributes b. characteristics c. properties d. values
ANS : C
62. In object-oriented programming, a window displayed on the screen is called a ____________. a. window object b. screen object c. form object d. frame object
ANS : C
66. Objects that are visible in a program's graphical user interface are commonly referred to as ____________. a. opaque b. interactive c. controls d. components
ANS : C
71. Once you clearly understand what a program is supposed to do, you can ____________. a. test the program and correct logic errors b. correct syntax errors c. design the program's user interface d. design the program's logic
ANS : C
72. A(n) ____________ describes a set of well-defined, logical steps that must be taken to perform a task. a. flowchart b. schematic c. algorithm d. outline
ANS : C
75. The oval shapes appearing at the top and bottom of a flowchart are called ____________. a. input symbols b. processing symbols c. terminal symbols d. output symbols
ANS : C
77. The ____________ symbol marks the program's ending point in a flowchart. a. output b. processing c. End terminal d. Input
ANS : C
78. In a flowchart, ____________ are used as input symbols and output symbols to represent the steps in which the program reads input or displays output. a. Ovals b. Rectangles c. Parallelograms d. Triangles
ANS : C
86. The Visual Studio ____________ window shows the application's form and allows you to visually design its appearance by placing controls that will appear on the form when the application executes. a. Solution Explorer b. Properties c. Designer d. Project
ANS : C
9. ____________ is a set of 128 numeric codes that represent the English letters, various punctuation marks, and other characters. a. UTF-8 b. Unicode c. ASCII d. IEEE
ANS : C
93. When a window is ____________, it means it is attached to one of the edges of the Visual Studio window. a. parked b. seated c. docked d. floating
ANS : C
8. In the ____________ numbering system, all numeric values are written as sequences of the digits 0 and 1. a. hexadecimal b. decimal c. octal d. binary
ANS : D
87. The Visual Studio ____________ window allows you to navigate among the files in a Visual C# project. a. Properties b. Designer c. Source d. Solution Explorer
ANS : D
91. In Visual Studio, the ____________ is a window that allows you to select the controls that you want to use in an application's user interface. a. standard toolbar b. picker c. control library d. toolbox
ANS : D
11. The use of USB drives has declined dramatically in recent years in favor of superior devices such as floppy disk drives.
ANS: F
16. The Toolbar is a window that allows you to select the controls that you want to use in an application's user interface.
ANS: F
23. Most computers today have fewer than 1 million bytes.
ANS: F
26. Any piece of data stored in a computer's memory must be stored as a decimal number.
ANS: F
27. ASCII is quickly becoming the standard character set used in the computer industry.
ANS: F
28. A binary number can represent only integer values less than 255.
ANS: F
30. The fewer samples per second a song is divided into, the more it sounds like the original music when it is played back.
ANS: F
31. The computer's CPU can anticipate what a programmer wants to do.
ANS: F
35. It is easy for people to write programs in machine language.
ANS: F
36. Low-level languages allow programmers to concentrate on the tasks they want to perform with their program rather than the details of how the CPU will execute those programs.
ANS: F
4. Today's microprocessors are less powerful than the larger electromechanical CPUs in early computers.
ANS: F
41. Because compilers combine translation and execution, they typically do not create separate machine language programs.
ANS: F
42. If a program's source code contains a syntax error, it can still be translated to machine language by a compiler.
ANS: F
53. A class specifies the data an object can hold, but not the actions the object can perform.
ANS: F
59. Flowcharting is a tool that programmers use to design programs, and is considered superior to pseudocode.
ANS: F
6. RAM memory retains its contents when a computer is turned off.
ANS: F
8. Programs are usually stored in main memory and loaded into secondary storage as needed.
ANS: F
12. When Auto Hide is turned on, a window is displayed only as a tab along one of the edges of the Visual Studio environment.
ANS: T
20. Examples of utility programs are virus scanners, file-compression programs, and data-backup programs.
ANS: T
22. Some examples of application software are spreadsheet programs, e-mail programs, Web browsers, and game programs.
ANS: T
24. In most computer systems, bits are implemented in hardware as tiny electrical components that hold either a positive or a negative charge.
ANS: T
29. The term pixel stands for picture element.
ANS: T
3. A computer is not a single device, but a system of devices working together.
ANS: T
32. A program is a list of instructions that tell the CPU to perform operations.
ANS: T
33. A machine language instruction exists for each basic operation a CPU can do.
ANS: T
34. The computer CPU can only execute machine language programs.
ANS: T
37. Each keyword in a high-level language has a specific meaning and cannot be used for any other purpose.
ANS: T
39. The syntax rules dictate how keywords, operators, and various punctuation characters must be used in a program.
ANS: T
40. A programming statement can consist of keywords, operators, punctuation, and other allowable programming elements, arranged in the proper sequence to perform an operation.
ANS: T
43. For many years, the only way that the user could interact with a computer was through a command line interface.
ANS: T
44. A Graphical User Interface (GUI) allows the user to point at graphical elements using a mouse, and click the mouse to activate the elements.
ANS: T
48. In software, an object has two general capabilities: it can store data and perform operations.
ANS: T
51. An object must be created in memory before it can be used in a program.
ANS: T
52. You must use a class to define an object before it can be created in memory at runtime.
ANS: T
55. In Visual Studio, a window cannot float if its Auto Hide feature is turned on.
ANS: T
56. The .NET framework provides classes to create Forms, TextBoxes, Labels, Buttons, and many other types of objects.
ANS: T
57. The C# language allows you to write your own classes that have specific fields, properties, and methods for any application.
ANS: T