C How To Program, 8th Edition By Deitel & deitel - Test Bank
13 keer bekeken 0 keer verkocht
Vak
Computer - Test Bank
Instelling
Computer - Test Bank
3.1 Introduction
(No Questions)
3.2 Algorithms
3.1 Specifying the order in which statements are to be executed in a computer program is called
(a) an algorithm
(b) transfer of control
(c) program control
(d) pseudocode
ANS: (c)
3.2. The two key attributes of an algorithm are:
a) act...
1.1 Which of the following statements is true?
(a) hardware controls software
(b) software commands the computer to perform actions and make decisions
(c) C is an object oriented programming language
(d) Both (b) and (c)
ANS: (b)
1.2 Which of the following is going to be the key programming methodology for the
next decade?
(a) object-oriented programming
(b) structured programming
(c) “legacy C code”
(d) “live-code approach”
ANS: (a)
1.2 Hardware and Software
1.3 Today's fastest computers are called __________.
(a) mega computers
(b) terminals
(c) supercomputers
(d) CPUs
ANS: (c)
1.4 Which of the following would not be considered hardware?
(a) an operating system
(b) a CPU
(c) a keyboard
(d) a disk
ANS: (a)
1.5 Computer programs are __________.
(a) sequences of instructions
(b) the information processed by the computer
(c) the various devices (disks, memory, keyboard) that comprise a computer system
(d) the people programming the computers
ANS: (a)
,(b) Object-oriented programming uses less memory than previous software-
development methodologies.
(c) Demand for communications bandwidth is decreasing dramatically each year.
(d) Every year or two, the capacities of computers have approximately doubled
without any increase in price.
ANS: (d) Every year or two, the capacities of computers have approximately doubled
without any increase in price.
1.2.2 Computer Organization
1.7 Which of the following is not one of the six logical units of a computer?
(a) input unit
(b) programmer unit
(c) memory unit
(d) output unit
ANS: (b)
1.8 Programs or data not actively being used by the other units are placed on the
__________.
(a) output unit.
(b) memory unit.
(c) secondary storage unit.
(d) central processing unit.
ANS: (c)
1.3 Data Hierarchy
1.9 The smallest data item in a computer, called a ________, can assume the value 0 or
the value 1.
(a) bit
(b) character
(c) field
(d) digit
ANS: (a)
1.10 A ________ is a group of characters or bytes that conveys meaning.
(a) database
(b) record
(c) character set
(d) field
ANS: (d)
1.4 Machine Languages, Assembly Languages and High-Level Languages
1.12 Which of the following is not one of the three general types of computer
languages?
(a) Machine languages.
(b) Assembly languages.
(c) High-Level languages.
(d) Spoken languages.
ANS: (d) Spoken languages.
1.13 Which of the following statements is true?
(a) Interpreted programs run faster than compiled programs.
(b) Compilers translate high-level language programs into machine language
programs.
(c) Interpreter programs typically use machine language as input.
(d) None of the above.
ANS: (b) Compilers translate high-level language programs into machine language
programs.
1.14 A computer can directly understand only its own ___________.
(a) machine language
(b) assembly language
(c) high-level language
(d) none of the above
ANS: (a)
1.15 Assemblers__________.
(a) convert machine language into high-level language.
(b) convert assembly language into machine language.
(c) convert high-level language into machine language.
(d) convert high-level language into assembler language.
ANS: (b)
1.16 Programs that directly execute high-level language programs without
compiling are called __________.
(a) assemblers
(b) interpreters
(c) compilers
(d) translators
ANS: (b)
Voordelen van het kopen van samenvattingen bij Stuvia op een rij:
Verzekerd van kwaliteit door reviews
Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!
Snel en makkelijk kopen
Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.
Focus op de essentie
Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!
Veelgestelde vragen
Wat krijg ik als ik dit document koop?
Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.
Tevredenheidsgarantie: hoe werkt dat?
Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.
Van wie koop ik deze samenvatting?
Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper ExamsExpert. Stuvia faciliteert de betaling aan de verkoper.
Zit ik meteen vast aan een abonnement?
Nee, je koopt alleen deze samenvatting voor $23.87. Je zit daarna nergens aan vast.