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 Academic Vocabulary: Academic Words 6th Edition by Amy Olsen, Chapter 1-25

Rating
-
Sold
-
Pages
223
Grade
Très Satisfaisant
Uploaded on
15-05-2025
Written in
2024/2025

Test Bank for Academic Vocabulary: Academic Words 6th Edition by Amy Olsen, Chapter 1-25

Institution
Absolute Java 6th Edition
Course
Absolute Java 6th Edition











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

Written for

Institution
Absolute Java 6th Edition
Course
Absolute Java 6th Edition

Document information

Uploaded on
May 15, 2025
Number of pages
223
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

a
vi
tu
ss
lu
Ap
@

, Chapter 1 Getting Started 1




Chapter 1
Getting Started


◼ Multiple Choice
1) Java is an object-oriented programming language. An object-oriented language
(a) Uses structured programming.
(b) Views a program as consisting of objects which communicate through interactions.
@


(c) Functionally breaks down problems into smaller, more manageable problems.
(d) All of the above.
Ap


Answer: B

2) In Java, the equal sign is used as the ___________ operator.
lu


(a) increment
ss


(b) decrement
(c) assignment
tu


(d) negation
vi

Answer: C
a


3) In Java, source code is compiled into object code called ______________.
(a) Bit-code
(b) Class code
(c) Method code
(d) Byte-code
Answer: D

4) The hardest kind of error to detect in a computer program is a:
(a) Syntax error
(b) Run-time error
(c) Logic error
(d) All of the above
Answer: C


Copyright © 2016 Pearson Education, Inc., Hoboken NJ

, Chapter 1 Getting Started 2


5) Identify the invalid Java identifier.
(a) 1Week
(b) Week1
(c) amountDue
(d) amount_due
Answer: A

6) What is the value of the variable amountDue?

double price = 2.50;

double quantity = 5;

double amountDue = 0;

amountDue = price * quantity;

(a) 12
@


(b) 12.25
(c) 12.5
Ap


(d) 13
Answer: C
lu


7) What is the value of 7.52e-5?
ss


(a) 752000.0
tu

(b) 0.0000752
(c) 0.000752
vi


(d) 0.00752
a


Answer: B

8) What is the Java expression for 4a 2 + 2b * c?
(a) (4 * a) + (2 * b) * c
(b) (4 * a * a) + ((2 * b) * c)
(c) ((4 * a * a) + (2 * b)) * c
(d) (4 + a * a) + ((2 + b) * c)
Answer: B

9) What is the Java expression for 27xy?
(a) 27 + (x * y)
(b) 27 * (x + y)
(c) 27 * x * y
(d) 27x * y
Answer: C
Copyright © 2016 Pearson Education, Inc., Hoboken NJ

, Chapter 1 Getting Started 3


10) The value of the expression (int) 27.6 evaluates to:
(a) 28
(b) 27
(c) 26
(d) None of the above.
Answer: B

11) Which operator is used to concatenate two strings?
(a) +
(b) –
(c) *
(d) /
Answer: A

12) Which operator returns the remainder of integer division?
(a) %
@

(b) /
(c) *
Ap

(d) none of the above
Answer: A
lu


13) What is the value of the variable c in the statements that follow?
ss


String phrase = "Make hay while the sun is shining.";
tu


char c = phrase.charAt(10);
vi

(a) w
(b) h
a


(c) i
(d) None of the above
Answer: B

14) The escape sequence the represents the new-line character is:
(a) \r
(b) \t
(c) \n
(d) \\
Answer: C




Copyright © 2016 Pearson Education, Inc., Hoboken NJ




@Testbanksmafia

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.
Testbanksmafia Michigan State University
View profile
Follow You need to be logged in order to follow users or courses
Sold
161
Member since
1 year
Number of followers
12
Documents
445
Last sold
3 days ago
Test Banks, Solution Manuals, Case studies, Summaries, Essays, and Exclusive Package Deals, All Graded A+.

Welcome to my store! In need to elevate your academic grades? search no more. Here you'll find thousands of comprehensive 5-star rated resources designed to empower you on your academic journey. I'm dedicated to provide you with top-quality, accurate , reliable , verified and latest updated documents with 100% pass guarantee. Your success is our priority, Let's achieve those top grades together !!!

4.6

14 reviews

5
11
4
2
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