100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Test Bank For Java™ Programming: From Problem Analysis to Program Design - 5th - 2012 All Chapters - 9781111530532

Rating
-
Sold
-
Pages
119
Grade
A+
Uploaded on
12-08-2024
Written in
2022/2023

Test Bank For Java™ Programming: From Problem Analysis to Program Design - 5th - 2012 All Chapters

Institution
Unknown
Course
Unknown











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Unknown
Course
Unknown

Document information

Uploaded on
August 12, 2024
Number of pages
119
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Test Bank For Java™ Programming: From Problem Analysis to Program Design
Chapter 1


CHAPTER 1: AN OVERVIEW OF COMPUTERS AND PROGRAMMING LANGUAGES

TRUE/FALSE

1. The first device known to carry out calculations was the Pascaline.

ANS: F PTS: 1 REF: 2

2. The computers that we know today use the design rules given by John von Neumann.

ANS: T PTS: 1 REF: 3

3. The basic commands that a computer performs are input (get data), output (display results), storage,
and performance of arithmetic and logical operations.

ANS: T PTS: 1 REF: 4

4. The central processing unit (CPU) is the brain of the computer and the single most expensive piece of
hardware in your personal computer.

ANS: T PTS: 1 REF: 4

5. Main memory is part of the central processing unit (CPU).

ANS: F PTS: 1 REF: 4

6. The term RAM refers to random alternate memory.

ANS: F PTS: 1 REF: 4

7. Main memory is the same as the random access memory.

ANS: T PTS: 1 REF: 4

8. Information stored in main memory must be transferred to some other device for permanent storage.

ANS: T PTS: 1 REF: 5

9. The devices that feed data and programs into computers are called input devices.

ANS: T PTS: 1 REF: 5

10. The system program that loads first when you turn on your PC is called the application system.

ANS: F PTS: 1 REF: 6




1

, Test Bank For Java™ Programming: From Problem Analysis to Program Design
Chapter 1


11. The operating system monitors the overall activity of the computer and provides services such as
memory management, input/output activities, and storage management.

ANS: T PTS: 1 REF: 6

12. A word processor is an example of a system program.

ANS: F PTS: 1 REF: 6

13. Analog signals represent information as a sequence of 0s and 1s.

ANS: F PTS: 1 REF: 6

14. The most basic language of a computer is a sequence of 0s and 1s called machine language.

ANS: T PTS: 1 REF: 6

15. A sequence of 0s and 1s is called a decimal code.

ANS: F PTS: 1 REF: 6

16. The Unicode character set consists of 128 characters.

ANS: F PTS: 1 REF: 8

17. The ASCII character set is a superset of the Unicode character set.

ANS: F PTS: 1 REF: 8

18. In assembly language, an instruction is an easy-to-remember form called an assembly code.

ANS: F PTS: 1 REF: 8

19. A compiler translates the assembly language instructions into machine language.

ANS: F PTS: 1 REF: 9

20. The term JVM refers to Java Virtual Memory.

ANS: F PTS: 1 REF: 10

21. Bytecode is the machine language for the JVM.

ANS: T PTS: 1 REF: 10

22. A source program is a program written in assembly language.

ANS: F PTS: 1 REF: 11


2

, Test Bank For Java™ Programming: From Problem Analysis to Program Design
Chapter 1



23. An interpreter translates each bytecode instruction into the machine language of your computer, and
then executes it.

ANS: T PTS: 1 REF: 11

24. The first step to the problem-solving process is to implement the algorithm in a programming
language, such as Java, and verify that the algorithm works.

ANS: F PTS: 1 REF: 15

25. In the structured design approach, a problem is divided into smaller subproblems, then each
subproblem is solved, and the solutions of all subproblems are then combined to solve the problem.

ANS: T PTS: 1 REF: 19


MULTIPLE CHOICE

1. The arithmetic and logical operations are carried out inside the ____.
a. compiler c. RAM
b. central processing unit d. MM
ANS: B PTS: 1 REF: 4

2. All programs must be brought into ____ before they can be executed.
a. secondary storage c. an output device
b. an input device d. main memory
ANS: D PTS: 1 REF: 4

3. Each memory cell has a unique location in main memory, called the ____.
a. unique identifier c. cell location
b. address d. ID
ANS: B PTS: 1 REF: 5

4. When the power is switched off, everything in ____ is lost.
a. main memory c. hard disk
b. secondary storage d. floppy disk
ANS: A PTS: 1 REF: 5

5. All of the following are examples of secondary storage except ____.
a. hard disks c. keyboards
b. floppy disks d. tapes
ANS: C PTS: 1 REF: 5

6. The devices that feed data and programs into computers are called ____.



3

, Test Bank For Java™ Programming: From Problem Analysis to Program Design
Chapter 1


a. output devices c. monitors
b. input devices d. printers
ANS: B PTS: 1 REF: 5

7. Which of the following is a system program?
a. word processor c. spreadsheet
b. operating system d. Web browser
ANS: B PTS: 1 REF: 6

8. The program that loads first when you turn on your PC is called the ____.
a. central processing unit c. operating system
b. application program d. word processor
ANS: C PTS: 1 REF: 6

9. ____ are continuous waveforms.
a. Analog signals c. Digital signals
b. Application programs d. System programs
ANS: A PTS: 1 REF: 6

10. The digit 0 or 1 is called a ____.
a. bit c. Unicode
b. bytecode d. hexcode
ANS: A PTS: 1 REF: 6

11. The symbol MB refers to a ____.
a. megabyte c. moving byte
b. metabyte d. memory byte
ANS: A PTS: 1 REF: 7

12. The symbol GB refers to a ____.
a. giantbyte c. groupbyte
b. gigabyte d. graphic bit
ANS: B PTS: 1 REF: 7

13. An assembler ____.
a. is used to run applets
b. translates each bytecode instruction into the computer’s machine language
c. translates the assembly language instructions into machine language
d. translates the assembly language instructions into machine language
ANS: D PTS: 1 REF: 9

14. A(n) ____ translates a program written in a high-level language into the equivalent machine language.
a. compiler c. interpreter


4

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
HIUPRO HIU
View profile
Follow You need to be logged in order to follow users or courses
Sold
262
Member since
2 year
Number of followers
184
Documents
545
Last sold
1 month ago

4.8

20 reviews

5
16
4
4
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions