SlideShare a Scribd company logo
CIS 355 Week 1 Quiz
For more classes visit
www.snaptutorial.com
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
For more classes visit
www.snaptutorial.com
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
For more classes visit
www.snaptutorial.com
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
For more classes visit
www.snaptutorial.com
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
For more classes visit
www.snaptutorial.com
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
For more classes visit
www.snaptutorial.com
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 = 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
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
********************************************************

More Related Content

DOCX
Multiple Choice Questions for Java interfaces and exception handling
DOCX
Multiple choice questions for Java io,files and inheritance
PDF
Core java
PDF
[Question Paper] Advanced Java (75:25 Pattern) [November / 2014]
PDF
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
PPT
Java language fundamentals
Multiple Choice Questions for Java interfaces and exception handling
Multiple choice questions for Java io,files and inheritance
Core java
[Question Paper] Advanced Java (75:25 Pattern) [November / 2014]
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
Java language fundamentals

What's hot (6)

PDF
DAC CCAT GUESS PAPER Jun-Jul 2013
PPT
Java Inheritance
PDF
C and data structure
PDF
B.Sc.IT: Semester – V (December – 2017) [Revised Course | Question Paper]
PDF
Beyond PITS, Functional Principles for Software Architecture
DAC CCAT GUESS PAPER Jun-Jul 2013
Java Inheritance
C and data structure
B.Sc.IT: Semester – V (December – 2017) [Revised Course | Question Paper]
Beyond PITS, Functional Principles for Software Architecture
Ad

Similar to CIS 355 Success Begins / snaptutorial.com (20)

PDF
CIS 336 Final Exam (Feb 2016)p
DOCX
CIS 336 Become Exceptional--cis336.com
DOCX
CIS 336 STUDY Become Exceptional--cis336study.com
DOCX
CIS 336 STUDY Achievement Education--cis336study.com
DOCX
Cis 336 Extraordinary Success/newtonhelp.com
DOCX
CIS 336 Education Begins--cis336.com
PDF
Cis 336 Enhance teaching / snaptutorial.com
DOCX
CIS 336 STUDY Redefined Education--cis336study.com
PDF
CIS 336 STUDY Education Begins--cis336study.com
DOCX
CIS 336 STUDY Education Counseling--cis336study.com
DOC
CIS 336 Focus Dreams/newtonhelp.com
PDF
CIS 336 Life of the Mind/newtonhelp.com   
DOCX
CIS 336 Inspiring Innovation -- cis336.com
DOC
CIS 336 Imagine Your Future/newtonhelp.com   
DOC
CIS 336 Start With a Dream /newtonhelp.com
DOCX
CIS 336 PAPERS Education for Service--cis336papers.com
PDF
CIS 336 Redefined Education--cis336.com
PDF
CIS 336 Achievement Education --cis336.com
PDF
CIS336 Education for Service--cis336.com
PDF
CIS 336 PAPERS Lessons in Excellence--cis336papers.com
CIS 336 Final Exam (Feb 2016)p
CIS 336 Become Exceptional--cis336.com
CIS 336 STUDY Become Exceptional--cis336study.com
CIS 336 STUDY Achievement Education--cis336study.com
Cis 336 Extraordinary Success/newtonhelp.com
CIS 336 Education Begins--cis336.com
Cis 336 Enhance teaching / snaptutorial.com
CIS 336 STUDY Redefined Education--cis336study.com
CIS 336 STUDY Education Begins--cis336study.com
CIS 336 STUDY Education Counseling--cis336study.com
CIS 336 Focus Dreams/newtonhelp.com
CIS 336 Life of the Mind/newtonhelp.com   
CIS 336 Inspiring Innovation -- cis336.com
CIS 336 Imagine Your Future/newtonhelp.com   
CIS 336 Start With a Dream /newtonhelp.com
CIS 336 PAPERS Education for Service--cis336papers.com
CIS 336 Redefined Education--cis336.com
CIS 336 Achievement Education --cis336.com
CIS336 Education for Service--cis336.com
CIS 336 PAPERS Lessons in Excellence--cis336papers.com
Ad

Recently uploaded (20)

PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
master seminar digital applications in india
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PDF
Classroom Observation Tools for Teachers
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
01-Introduction-to-Information-Management.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Yogi Goddess Pres Conference Studio Updates
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
History, Philosophy and sociology of education (1).pptx
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
master seminar digital applications in india
Chinmaya Tiranga quiz Grand Finale.pdf
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Classroom Observation Tools for Teachers
Module 4: Burden of Disease Tutorial Slides S2 2025
01-Introduction-to-Information-Management.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
2.FourierTransform-ShortQuestionswithAnswers.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Yogi Goddess Pres Conference Studio Updates
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Anesthesia in Laparoscopic Surgery in India
History, Philosophy and sociology of education (1).pptx

CIS 355 Success Begins / snaptutorial.com

  • 1. CIS 355 Week 1 Quiz For more classes visit www.snaptutorial.com 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?
  • 2. 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 For more classes visit www.snaptutorial.com
  • 3. 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?
  • 4. 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 For more classes visit www.snaptutorial.com 1. (TCO 4) Consider the code segment below. Which of the following statements is false?
  • 5. 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?
  • 6. ******************************************************** CIS 355 Week 4 Quiz For more classes visit www.snaptutorial.com 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?
  • 7. 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? ********************************************************
  • 8. CIS 355 Week 5 Quiz For more classes visit www.snaptutorial.com 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?
  • 9. 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
  • 10. For more classes visit www.snaptutorial.com 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"?
  • 11. 3. (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 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
  • 12. 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 ********************************************************