C How To Program, 8th Edition By Deitel & deitel - Test Bank
13 views 0 purchase
Course
Computer - Test Bank
Institution
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)
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller ExamsExpert. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $23.95. You're not tied to anything after your purchase.