CS116 - IIT Computer Science Department

Download Report

Transcript CS116 - IIT Computer Science Department

CS116
Quiz 2 Information
George Koutsogiannakis
1
QUIZ 2
• Date: April 6, 2014
• Grade: 8 points
• Duration: class period.
2
Topics Covered
•
•
•
•
•
•
•
Interfaces
Inheritance
Abstract Classes and Abstract Methods
Polymorphism
Method Overriding and Method Overloading.
Multiple Inheritance
Error Handling/Exceptions
3
Topics Covered
• NOTICE THAT USING I/O STREAMS IS NOT
INCLUDED.
4
Text Chapters
Chapter 10
Chapter 11 up to page 763 (writing into file NOT
included, only the part of ch. 11 devoted to
Exceptions).
5
Labs and Exercises
•
•
•
•
Lab 4
Lab 5
Extra Credit Practice Exercises 5 , 6
Review example programs on the
corresponding subjects that have been given
out (also posted on the course’s web site).
6
Lecture Presentations
•
•
•
•
Lecture 7
Lecture 8
Lecture 9
Lecture 10
7
Type Of Questions
• Write a program.
– Remember how to use the StringTokenizer.
– Remember how to use ArrayLists and iterate using the new
for loop.
– The program will use the inheritance rules , abstract
methods, interfaces, user defined exception.
• Closed Book/Closed Notes.
• You can’t use your laptop. You have to use your
station’s computer.
• No flush drives or smart phones are allowed in class.
8
Computer Usage
• Only Notepad++ and a DOS window can be
opened.
• Opening any other files is not allowed.
• Opening the browser to access email or the
internet will result in a zero grade.
• Submission
– Zip files.
– Submit on Blackboard under assignment file Quiz 2.
9
STARTING THE EXAM
• You must login to the terminal. If the terminal
is left on from a previous class, you must turn
it off and login again.
• Clear the computer of any previous files and
show to TA that the computer is clear before
you start work.
10