Question 1
1 out of 1 points
The .class extension on a file means that the file:
Selected Answer:
is produced by the Java compiler (javac).
Question 2
1 out of 1 points
Which of the following statements is false?
Selected
Answer:
The Ajax applications-development methodology enables you to rapidly
develop powerful software applications by combining (often free)
complementary web services and other forms of information feeds.
Question 3
1 out of 1 points
________ models software in terms similar to those that people use to describe real-
world objects.
Selected Answer:
Object-oriented design
Question 4
1 out of 1 points
Which software product release category is "generally feature complete and
supposedly bug free, and ready for use by the community?"
Selected Answer:
Release candidate.
Question 5
0 out of 1 points
Which of the following statements is false?
Selected
Answer:
A quadrillion-instruction-per-section computer can perform in one second
more than 100,000 instructions for every person on the planet.
Question 6
1 out of 1 points
Which of the following statements is false?
Selected Answer:
Each class can be used only once to build many objects.
Question 7
1 out of 1 points
Which of the following statements is false?
Selected
Answer:
Popular mobile operating systems used in smartphones and/or tablets
include Google’s Android, Apple’s iOS (for its iPhone, iPad and iPod Touch
devices), Windows Phone 8 and Mac OS X.
Question 8
1 out of 1 points
Which of the following statements is false?
Selected
Answer:
Unfortunately, silicon is expensive, so it has made computing more
costly.
Question 9
1 out of 1 points
Java was originally developed for:
Selected Answer:
Intelligent consumer devices.
Question 10
1 out of 1 points
A huge variety of networking hardware and software appeared. One challenge was to
enable these different networks to communicate with each other. ARPA accomplished
this by developing the ________, which created a true “network of networks,” the
current architecture of the Internet.
Selected Answer:
Internet Protocol (IP)
Question 11
1 out of 1 points
Optional parentheses in expressions are said to be
Selected Answer:
redundant.
Question 12
1 out of 1 points
Given the Java statement
int sum = number1 + number2;
which of the following statements is false?
Selected Answer:
It assigns the value of number1 to sum.
Question 13
1 out of 1 points
Which of the following statements will print a single line containing
"hello there"?
Selected
Answer:
System.out.print("hello");
System.out.println(" there");
10.Which of the following escape sequences represents a carriage
return?
a. \n.
*b. \r.
c. \cr.
d. \c.
Question 14
0 out of 1 points
Which command executes the Java class file Welcome.class?
Selected Answer:
java welcome
Question 15
1 out of 1 points
Programs remember numbers and other data in the computer's memory and access
that data through program elements called
Selected Answer:
variables.
Question 16
1 out of 1 points
What is the value of result after the following Java statements execute (assume all
variables are of type int)?
a = 4;
b = 12;
c = 37;
d = 51;
result = d % a * c + a % b + a;
Selected Answer:
119
Question 17
1 out of 1 points
Which of the following is a variable declaration statement?
Selected Answer:
int total;
Question 18
1 out of 1 points
Which of the following is not an arithmetic operator?
Selected Answer:
.
Question 19
1 out of 1 points
Which of the following statements would display the phase Java is fun?
Selected Answer:
System.out.println("hellois fun\rJava ");
Question 20
1 out of 1 points
Which is the output of the following statements?
System.out.print("Hello ");
System.out.println("World");
Selected Answer:
Hello World
Sunday, August 29, 2021 6:44:38 PM EDT