Click Link Below To Buy:
Contact Us:
Hwcoursehelp@gmail.com
Week 1 Quiz
1. Question : (TCO 1) _____ is a graphical language
that allows people who design software systems to use an industry stan¬dard
notation to represent them.
Question 2. Question
: (TCO 1) Which statement is
false?
Question 3. Question
: (TCO 1) Which of the following
statements about Java Class Libraries is false?
Question 4. Question
: (TCO 1) Which of the following
companies is widely regarded at the signature company of Web 2.0?
Question 5. Question
: (TCO 1) End-of-line comments
that should be ignored by the compiler are denoted using
Question 6. Question
: (TCO 1) Which command executes
the Java class file Welcome.class?
Question 7. Question
: (TCO 1) When method printf
requires multiple arguments, the arguments are separated with _____
Question 8. Question
: (TCO 1) Which of the following
is a variable declaration statement?
Question 9. Question
: (TCO 1) Which of the following
is not a Java primitive type?
Question 10. Question
: (TCO 1) Which of the following
is not a compilation error?
Week 2 Quiz
1. Question : (TCO 1) A class instance creation
expression contains
Question 2. Question
: (TCO 1) Which of the following
is a valid fully qualified name?
Question 3. Question
: (TCO 3) Which of the following
is not a control structure?
Question 4. Question
: (TCO 1) Which of the following
would not be used to clarify a dangling-else?
Question 5. Question
: (TCO 1) Which of the following
segments is a proper way to call the method readData four times?
Which of the following statements is true?
Question 7. Question
: (TCO 1) Which expression is
equivalent to if ( ! ( grade == sentinelValue ) )?
Question 8. Question
: (TCO 1) Which is a correct
static method call of Math class method sqrt?
Question 9. Question
: (TCO 1) Which of the following
methods are overloaded with respect to one another?
Question 10. Question
: (TCO 1) In a class containing
methods with the same name, the methods are distinguished by
Week 3 Quiz
1. Question : (TCO 4) Consider the code segment
below. Which of the following statements is false?
Question 2. Question
: (TCO 4) Which expression adds 1
to the element of array arrayName at index i?
Question 3. Question
: (TCO 4) Which of the following
statements is false?
Question 4. Question
: (TCO 4) Which statement below
initializes array items to contain 3 rows and 2 columns?
Question 5. Question
: (TCO 4) Which of the following
should usually be private?
Question 6. Question
: (TCO 4) When should a program
explicitly use the this reference?
Question 7. Question
: (TCO 4) What happens when this
is used in a constructor’s body to call another constructor of the same class
if that call is not the first statement in the constructor?
Question 8. Question
: (TCO 4) Which statement is
false?
Question 9. Question
: (TCO 4) Which method returns an
array of the enum’s constants?
Question 10. Question
: (TCO 4) Which of the following
is false?
Week 4 Quiz
1. Question : (TCO 2) Which of the following keywords
allows a subclass to access a superclass method even when the subclass has
overridden the superclass method?
Question 2. Question
: (TCO 2) Which of the following
is the superclass constructor call syntax?
Question 3. Question
: (TCO 2) When a subclass
constructor calls its superclass constructor, what happens if the superclass’s
constructor does not assign a value to an instance variable?
Question 4. Question
: (TCO 2) The default equals
implementation of class Object determines
Question 5. Question
: (TCO 2) Which of the following
statements about interfaces is false?
Question 6. Question
: (TCO 2) Which of the following
does not complete the sentence correctly? An interface _____
Question 7. Question
: (TCO 2) Which of the following
is not included in an exception’s stack trace?
Question 8. Question
: (TCO 2) After a finally block
has finished executing (and there are no exceptions to be handled),
Question 9. Question
: (TCO 2) Which of the following
expressions creates a JLabel that displays the text "Here is what I look
like!" The JLabel should display Icon object face, and the JLabel’s
contents should be left aligned.
Comments:
Question 10. Question
: (TCO 2) Which MouseEvent method
can be used to determine if the Alt key is pressed?
Week 5 Quiz
1. Question : (TCO 6 & 7) Which of the following
classes is not used for file input?
Question 2. Question
: (TCO 6 & 7) Streams that
input bytes from and output bytes to files are known as
Question 3. Question
: (TCO 6 & 7) Which of the
following is not an application of a File object?
Question 4. Question
: (TCO 6 & 7) What interface
must a class implement to indicate that objects of the class can be output and
input as a stream of bytes?
Question 5. Question
: (TCO 6 & 7) Instance
variables that are not to be output with a Serializable object are declared
using which keyword?
Question 6. Question
: (TCO 6 & 7) A JSlider cannot
display which of the following?
Question 7. Question
: (TCO 6 & 7) What happens if
setSize is not called on a window?
Question 8. Question
: (TCO 6 & 7) Which method
returns true if the popup trigger event occurred?
Question 9. Question
: (TCO 6 & 7) A JTabbedPane
Question 10. Question
: (TCO 6 & 7) Which of the
following GridBagConstraints specifies the number of columns a component will
occupy?
Week 6 Quiz
1. Question : (TCO 6) For
String c =
"welcome to java";
Question 2. Question
: (TCO 6) Consider the String
below.
String r = "a toyota";
Which of the following will create the String r1 = "a
TOYOTa"?
Question 3. Question
: (TCO 6) Consider the Java
segment:
String line1 = new String( "c = 1 + 2 + 3" ) ;
StringTokenizer tok = new StringTokenizer( line1,
"+=" );
String foo = tok.nextToken();
String bar = tok.nextToken();
The values of foo and bar are
Comments:
Question 4. Question
: (TCO 6) What does the first pass
of selection sort do?
Question 5. Question
: (TCO 6) Which statement is
false?
Question 6. Question
: (TCO 6) Which statement is
false?
Question 7. Question
: (TCO 6) The collections
framework algorithms are _____; for example, each of these algorithms can
operate on objects that offer given interfaces without concern to the
underlying implementations.
Question 8. Question
: (TCO 6) Comparator method
compare should return _____ if the first argument is greater than the second
argument.
Question 9. Question
: (TCO 6) If no elements are in the
Stack, method pop throws an _____
Question 10. Question
: (TCO 6) When the compiler
translates a generic method into Java bytecodes, it uses _____ to replace the
type parameters with actual types.
No comments:
Post a Comment