Basics of Java Programming CS9 LTPC: -0-4-3 Instructor: Gauravkumarsingh Gaharwar Program: Masters of Science(IT) Class-Semester: FYMSc(IT) (Sem-II) Email: gauravsinghg@nuv.ac.in Phone Number: 065-30000(0) Class Hours: Office Hours: Prerequisites: None Implementation inheritance causes the same intertwining and brittleness that have been observed when goto statements are overused. As a result, OO systems often suffer from complexity and lack of reuse. John Ousterhout Scripting, IEEE Computer, March 998 The problem with object-oriented languages is they ve got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle. Joe Armstrong Course Description The course is one of the foundation courses for object oriented programming. The course will cover fundamentals of java programming. Course aims at improving fundamentals by covering areas of data types, variable, operator, decision & iterative constructs, class, object, exception handling, threads, file handling, and AWT. As fundamental course in object oriented programming, this course is extremely important domain for the students of computer applications.
Course objectives To introduce object oriented concepts. To introduce object oriented programming through java language. To introduce fundamental of java programming language like data structure, operators, variable, decision structures, looping structures, etc. Learning outcomes Upon completion of the course students are expected to: Understand concepts of object oriented programming. Understand basics of java programming language. Understanding about control and looping structures. Understating usage of classes and objects. Instructional Methods Methods for teaching the course include: Lectures and in-class discussions Practicals (LAB sessions) Re-search based Presentations Theory and Practical Assignments Hands on Activities that involves students to apply learning Student Responsibilities:. Maintain silence in class. Don t distract or harass others 3. Participate in class discussions 4. Turn in and do well in Assignments/Homework 5. Demonstrate in class presentation/discussions 6. Pass in Midterm and Final exam 7. Arrive to class on time 8. Maintain 80% attendance (minimum) 9. No plagiarism at all 0. Come prepared to class Learning outcomes Upon completion of the course students are expected to: Understand concepts of object oriented programming. Understand basics of java programming language. Understanding about control and looping structures. Understating usage of classes and objects. Attendance: Mandatory. 80% attendance is needed to pass the course. Evaluation criteria Students will be evaluated on the following: Quizzes/Practical Tests : 0% Assignments/Practical Work: 0% Academic Contribution: 0%
Mid-Sem Exam: 30% End-Sem Exam: 40% Extra Credit Extra credit means, extra marks for extra work. Students can earn up to 5% of total 00% marks in a course by: Attending lectures/talks, conferences, seminars, workshops; Entering in competitions; Doing extra projects; Getting involved in community projects approved the university. Grading Students total marks out of 00 will be converted into a grade after completion of all activities at the end of the semester. Each student will get a final grade for the subject which will be any one from the grades mentioned below. Grade Total Marks AA >95 AB 86-95 BB 76-85 BC 66-75 CC 56-65 CD 46-55 DD 40-45 F < 40 Submissions Assignment Second week of February Assignment Second week of April Course schedule (Daily teaching topics) Unit Unit : Sr. No. Name of Topics Overview of Object Oriented Concepts, Features of Java language Nos. of Lect. Data Types, Type Conversion and Casting 3 Class Fundamentals, Constructors, this keyword, Garbage Collection 4 Method Overloading, Constructor Overloading 5 Introducing Access Control, String Class in Java 6 Using Command-Line Arguments, Varargs: Variable-Length Arguments
Total Lectures of Unit : 08 9 Inheritance Basics, Using super, Method Overriding Unit : Unit : 3 0 Abstract Classes 3 4 7 Packages, Defining a Package, Access Protection, Importing Packages Interfaces, Defining an Interface, Implementing Interfaces, Partial Implementations Exception Handling, Using try and catch, throw, throws, Java s Built-in Exceptions, Multithreaded Programming Java Thread Model, Thread Class and the Runnable Interface, Creating a Thread, Thread Priorities Total Lectures of Unit : 0 Java I/O Basics, Byte Stream and Character Stream Classes, Reading Console Input, Reading Characters, Reading Strings, Writing Console Output, PrintWriter Class, Reading and Writing Files 8 Creating Applets 9 Collections Overview, Collection Interfaces, Collection Classes, Accessing a Collection via an Iterator Total Lectures of Unit : 3 08 5 0 AWT Classes, Window Fundamentals, Frame Window Working with Graphics, Color, Fonts Unit : 4 AWT Controls like Labels, Buttons, etc., Layout Managers 3 4 The Delegation Event Model, Event Classes, Event Listener Interfaces, Handling Mouse Events, Handling Keyboard Events, Adapter Classes Swing Features, Swing Packages and Classes, MVC Architecture, Swing Component Basics Total Lectures of Unit : 4 09 Total Lecture Required for entire syllabus : 35 Text Books:. Herbert Schildt, Java: The Complete Reference, Seventh Edition, Publication: TMH. Ken Arnold, James Gosling, David Holmes, The Java Programming Language 3 Edition, Pearson (008) Reference Books:. Gary Cornell, Cay S. Horstmann, Core Java Fundamentals (Volume - ), 8 Edition, Pearson (008). Pravin Jain, The class of JAVA, Pearson
Important Dates: Commencement of classes: nd January, 07. Mid-Semester Exams: 6 th March, 07 to th March 07. End-Semester Exams: 7 th May, 07 to 7 th May, 07. Attendance Policy. Attendance is mandatory though a minimum of 80% is required to be allowed to take the exam.. Those with over 5% will receive F in the course. 3. No re-examination is allowed for those with over 5% absent and they will need to repeat the course. 4. Course repeat will require a student to re-register for the course, pay fee for the course and attend all classes with other students for the entire duration of the semester. 5. Three late arrivals (0 minutes from the beginning of the class) or early departures (0 minutes before end of class) will constitute absent.