Category Archives: CIS 355

CIS 355 Week 1 Quiz updated

CIS 355 Week 1 Quiz updated

Check this A+ tutorial guideline at

http://www.homeworkrank.com/cis-355/cis-355-week-1-quiz-updated

For more classes visit

http://www.homeworkrank.com

CIS 355 Week 1 Quiz updated

1. (TCO 1) _____ is a graphical language that allows people who design software systems to use an industry stan¬dard notation to represent them
2. (TCO 1) Which statement is false?
3. (TCO 1) Which of the following statements about Java Class Libraries is false?
4. (TCO 1) Which of the following companies is widely regarded at the signature company of Web 2.0?
5. (TCO 1) End-of-line comments that should be ignored by the compiler are denoted using
6. (TCO 1) Which command executes the Java class file Welcome.class?
7. (TCO 1) When method printf requires multiple arguments, the arguments are separated with _____
8. (TCO 1) Which of the following is a variable declaration statement?
9. (TCO 1) Which of the following is not a Java primitive type?
10. (TCO 1) Which of the following is not a compilation error?

CIS 355 Week 2 Quiz updated

CIS 355 Week 2 Quiz updated

Check this A+ tutorial guideline at

http://www.homeworkrank.com/cis-355/cis-355-week-2-quiz-updated

For more classes visit

http://www.homeworkrank.com

CIS 355 Week 2 Quiz updated

1. (TCO 1) A class instance creation expression contains
2. (TCO 1) Which of the following is a valid fully qualified name?
3. (TCO 3) Which of the following is not a control structure?
4. (TCO 1) Which of the following would not be used to clarify a dangling-else?
5. (TCO 1) Which of the following segments is a proper way to call the method readData four times?
6. (TCO 1) Consider the following two Java code segments
7. (TCO 1) Which expression is equivalent to if ( ! ( grade == sentinelValue )
8. (TCO 1) Which is a correct static method call of Math class method sqrt?
9. (TCO 1) Which of the following methods are overloaded with respect to one another?
10. (TCO 1) In a class containing methods with the same name, the methods are distinguished by

CIS 355 Week 3 Quiz updated

CIS 355 Week 3 Quiz updated

Check this A+ tutorial guideline at

http://www.homeworkrank.com/cis-355/cis-355-week-3-quiz-updated

For more classes visit

http://www.homeworkrank.com

CIS 355 Week 3 Quiz updated

1. (TCO 4) Consider the code segment below. Which of the following statements is false?
2. (TCO 4) Which expression adds 1 to the element of array arrayName at index i?
3. (TCO 4) Which of the following statements is false?
4. (TCO 4) Which statement below initializes array items to contain 3 rows and 2 columns?
5. (TCO 4) Which of the following should usually be private?
6. (TCO 4) When should a program explicitly use the this reference?
7. (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?
8. (TCO 4) Which statement is false?
9. (TCO 4) Which method returns an array of the enum’s constants?
10. (TCO 4) Which of the following is false?

CIS 355 Week 4 Quiz updated

CIS 355 Week 4 Quiz updated

Check this A+ tutorial guideline at

http://www.homeworkrank.com/cis-355/cis-355-week-4-quiz-updated

For more classes visit

http://www.homeworkrank.com

CIS 355 Week 4 Quiz updated

1. (TCO 2) Which of the following keywords allows a subclass to access a superclass method even when the subclass has overridden the superclass method?
2. (TCO 2) Which of the following is the superclass constructor call syntax?
3. (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?
4. (TCO 2) The default equals implementation of class Object determines
5. (TCO 2) Which of the following statements about interfaces is false?
6. (TCO 2) Which of the following does not complete the sentence correctly? An interface _____
7. (TCO 2) Which of the following is not included in an exception’s stack trace?
8. (TCO 2) After a finally block has finished executing (and there are no exceptions to be handled),
9. (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
10. (TCO 2) Which MouseEvent method can be used to determine if the Alt key is pressed?

CIS 355 Week 5 Quiz updated

CIS 355 Week 5 Quiz updated

Check this A+ tutorial guideline at

http://www.homeworkrank.com/cis-355/cis-355-week-5-quiz-updated

For more classes visit

http://www.homeworkrank.com

CIS 355 Week 5 Quiz updated

1. (TCO 6 & 7) Which of the following classes is not used for file input?
2. (TCO 6 & 7) Streams that input bytes from and output bytes to files are known as
3. (TCO 6 & 7) Which of the following is not an application of a File object?
4. (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?
5. (TCO 6 & 7) Instance variables that are not to be output with a Serializable object are declared using which keyword?
6. (TCO 6 & 7) A JSlider cannot display which of the following?
7. (TCO 6 & 7) What happens if setSize is not called on a window?
8. (TCO 6 & 7) Which method returns true if the popup trigger event occurred?
9. (TCO 6 & 7) A JTabbedPane
10. (TCO 6 & 7) Which of the following GridBagConstraints specifies the number of columns a component will occupy?

CIS 355 Week 6 Quiz updated

CIS 355 Week 6 Quiz updated

Check this A+ tutorial guideline at

http://www.homeworkrank.com/cis-355/cis-355-week-6-quiz-updated

For more classes visit

http://www.homeworkrank.com

CIS 355 Week 6 Quiz updated

1. (TCO 6) For 
String c = “welcome to java”;

The Java statements
int i = c.indexOf( ‘e’ );
int j = c.lastIndexOf( ‘o’ );

will result in
2. (TCO 6) Consider the String below.
String r = “a toyota”;
Which of the following will create the String r1 = “a TOYOTa”?
3. (TCO 6) Consider the Java segment:
String line1 = updated String( “c = 1 + 2 + 3″ ) ;
StringTokenizer tok = updated StringTokenizer( line1, “+=” );

String foo = tok.nextToken();
String bar = tok.nextToken();
The values of foo and bar are
4. (TCO 6) What does the first pass of selection sort do?
5. (TCO 6) Which statement is false?
6. (TCO 6) Which statement is false?
7. (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
8. (TCO 6) Comparator method compare should return _____ if the first argument is greater than the second argument.
9. (TCO 6) If no elements are in the Stack, method pop throws an _____
10. (TCO 6) When the compiler translates a generic method into Java bytecodes, it uses _____ to replace the type parameters with actual types