Starting Out with Java From Control Structures through Objects 7th Edition By Tony Gaddis |All Chapters, Latest-2024|
Test Bank For Starting Out with Java From Control Structures through Objects 7th Edition By Tony Gaddis |All Chapters, Year-2023/2024|
Test Bank For Starting Out with Java From Control Structures through Objects 7th Edition By Tony Gaddis |All Chapters, Complete Q & A, Latest|
All for this textbook (4)
Written for
Nursing
All documents for this subject (42446)
Seller
Follow
NURSINGTESTSBANK
Reviews received
Content preview
Test Bank
Starting Out with Java
From Control Structures through
Objects
7th Edition
By
Tony Gaddis
, Gaddis: Starting Out with Java: From Control Structures through Objects
Chapter 1
MULTIPLE CHOICE
1. Which of the following professions use the computer as a tool?
a. Accountants
b. Engineers
c. Mechanics
d. Nurses
e. All of the above
ANS: E
2. The computer can do such a wide variety of tasks because:
a. It can be programmed
b. It is a machine
c. It contains a central processing unit (CPU)
d. It has the ability to connect to the Internet
ANS: A
3. Computer programming is:
a. An art
b. A science
c. Both of the above
d. Neither of the above
ANS: C
4. Another term for programs is:
a. Hardware
b. Software
c. Firmware
d. Shareware
ANS: B
5. refers to the physical components that a computer is made of.
a. Device
b. System
c. Hardware
d. Software
ANS: C
6. The major components of a typical computer system consist of:
a. The CPU
b. Input/output devices
c. Main memory
d. Secondary storage devices
e. All of the above
, Gaddis: Starting Out with Java: From Control Structures through Objects
ANS: E
7. A program is a sequence of instructions stored in:
a. The CPU
b. The computer’s memory
c. Software
d. Firmware
ANS: B
8. When a computer is running a program, the CPU is engaged in a process formally known as:
a. The decrypt/validate/commit cycle
b. Low-level machine mode
c. The fetch/decode/execute cycle
d. Parallax data execution
ANS: C
9. A byte is a collection of:
a. Four bits
b. Six bits
c. Eight bits
d. A dollar
ANS: C
10. Which of the following is a secondary storage device?
a. Hard drives
b. Floppy disks
c. USB drives
d. None of the above
e. All of the above
ANS: E
11. An operating system can be categorized according to:
a. The number of users they can accommodate
b. The number of tasks they can perform at one time
c. Both of the above
d. Neither of the above
ANS: C
12. This is a special language used to write computer programs.
a. Programming language
b. Operating system
c. Application
d. Pseudocode
ANS: A
, Gaddis: Starting Out with Java: From Control Structures through Objects
13. The original name for Java was
a. Java
b. HotJava
c. Elm
d. Oak
ANS: D
14. Syntax is:
a. Words that have a special meaning in the programming language
b. Rules that must be followed when writing a program
c. Punctuation
d. Symbols or words that perform operations
ANS: B
15. Variables are:
a. Symbolic names made up by the programmer that represents locations in the computer's RAM
b. Reserved words
c. Symbolic names made up by the programmer whose values cannot be changed
d. Operators that perform operations on one or more operands
ANS: A
16. Byte code instructions are:
a. Another name for source code
b. Syntax errors
c. Machine code instructions
d. Read and interpreted by the JVM
ANS: D
17. Suppose you are at an operating system command line, and you are going to use the following command to
compile a program:
javac MyClass.java
Before entering the command, you must:
a. Save the program with the .comp extension
b. Execute the java.sun.com program
c. Make sure you are in the same directory or folder where MyClass.java is located
d. Close all other Windows on your computer system
ANS: C
18. In the programming process which of the following is not involved in defining what the program is to do:
a. Process
b. Compile code
c. Input
d. Output
e. Purpose
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
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 NURSINGTESTSBANK. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $15.49. You're not tied to anything after your purchase.