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 - 10th - 2023 All Chapters - 9780357673423

Rating
-
Sold
1
Pages
226
Grade
A+
Uploaded on
25-09-2024
Written in
2022/2023

Test Bank For Java Programming - 10th - 2023 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
September 25, 2024
Number of pages
226
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

,Test Bank For Java Programming 10th Edition
Chapter 1. Creating Java Programs.


Chapter 1. Creating Java Programs.
1. A class named first is different from a class named FIRST becaus
A class named first is different from a class named FIRST because ____.

a. Java is case insensitive
b. it is confusing to have two names that look the same
*c. Java is case sensitive
d. first and FIRST are different literal strings


2. A compiler ignores whitespace (that is, any combination of nonpr
A compiler ignores whitespace (that is, any combination of nonprinting
characters) between words and lines.

*a. True
b. False


3. A ____ error occurs when the syntax of the program is correct an
A ____ error occurs when the syntax of the program is correct and the program
compiles but produces incorrect results when you execute it.

*a. logic
b. syntax
c. semantic
d. class


4. After a successful compile, you can run the class file on any co
After a successful compile, you can run the class file on any computer that has a
____.

*a. Java language interpreter
b. web browser
c. text editor
d. DOS environment


5. After the program statements are written in a high-level program
After the program statements are written in a high-level programming language, a
compiler:

a. translates one statement at a time before executing them.
*b. translates an entire program into machine code before
executing any statement.
c. reads the compiled code line by line at run time.
d. reads an entire program before executing any statement.




1

,Test Bank For Java Programming 10th Edition
Chapter 1. Creating Java Programs.

6. A Java identifier can contain only letters, digits, ampersands,
A Java identifier can contain only letters, digits, ampersands, or
number signs.


a. True
*b. False


7. Although not a requirement, it is a Java standard that class ide
Although not a requirement, it is a Java standard that class
identifiers begin with an uppercase letter and use other uppercase
letters to improve readability.

*a. True
b. False


8. A(n) ____ defines the circumstances under which a class can be a
A(n) ____ defines the circumstances under which a class can be accessed and the
other classes that have the right to use a class.

a. identifier
*b. access specifier
c. parameter
d. typecasting


9. A(n) ____ is a characteristic that defines an object.
A(n) ____ is a characteristic that defines an object.

a. keyword
b. literal string
*c. attribute
d. method


10. A(n) ____ is a GUI object resembling a window in which you can p
A(n) ____ is a GUI object resembling a window in which you can place messages
you want to display.

a. JDK
*b. dialog box
c. variable
d. argument


11. A program written in ____ is the most basic circuitry-level lang
A program written in ____ is the most basic circuitry-level language.

a. Java
*b. machine language
c. BASIC
d. C



2

, Test Bank For Java Programming 10th Edition
Chapter 1. Creating Java Programs.



12. ____ are also called modules, methods, functions, and subroutine
____ are also called modules, methods, functions, and subroutines. Java
programmers most frequently use the term "method."

*a. Procedures
b. Calls
c. Classes
d. Applications


13. ____ are pieces of information that are sent into, or passed to,
____ are pieces of information that are sent into, or passed to, a method, usually
because the method requires the information to perform its task or carry out its
purpose.

a. Applets
b. Methods
*c. Arguments
d. Objects



14. Briefly describe the elements of the main() method: public stat
Briefly describe the elements of the main() method:
public static void main(String[] args)
{
Java code...
}

Correct Answer(s):


15. ____ comments are a special case of block comments that are used
____ comments are a special case of block comments that are used to generate
documentation.

a. Single- line
b. Multiline
c. JDoc
*d. Javadoc


16. Computer equipment is a set of instructions for a computer to ca
Computer equipment is a set of instructions for a computer to carry out
certain operations.

a. True
*b. False



3

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.
meilleurellamae373090 Teachme2-tutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
10
Member since
1 year
Number of followers
0
Documents
336
Last sold
2 months ago

3.0

2 reviews

5
1
4
0
3
0
2
0
1
1

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