Fall 2021: System Programming
Contents
Logistics
- Class Timings: Wednesdays and Thursdays 10:45 am - 12:45 pm (3rd and 4th slot)
- Classroom: Online
- Lab Timings: Tuesdays 1:00 pm - 5:00 pm (5th - 8thslot)
Course Overview
- As per the COURSE Guidelines
Lectures
| Lecture | Topic | Lecture Slides | Readings |
|---|---|---|---|
| Unit 01 (Part 1) (22/07, 29/07, 04/08) | Introduction: History of Java, Java Features, First Sample Program, Java Virtual Machine(JVM) Architecture.
|
1.pdf | Chapter 1 (R1) |
Assignments and Tests
Home Assignments
- Home Assignment (HA) No. 1, Difference between JDK, JRE, and JVM. [06/04/2021]
- Home Assignment (HA) No. 2(a), Difference between Procedure Oriented Programming(POPs) and Object Oriented Programming(OOPs). [08/04/2021]
- Home Assignment (HA) No. 2(b), Write some real life examples (pictorial representation) of OOPs. [08/04/2021]
- Home Assignment (HA) No. 3(a), WAP to read n elements in an array and finally print them. [16/04/2021]
- Home Assignment (HA) No. 3(b), WAP to calculate the sum and average of elements in the array. [16/04/2021]
- Home Assignment (HA) No. 3(c), WAP to find the largest and smallest element in the array. [16/04/2021]
- Home Assignment (HA) No. 3(d), WAP to find/search an element in the array(using linear search). [16/04/2021]
- Home Assignment (HA) No. 3(e), WAP to sort the elements of an array(using bubble sort). [16/04/2021]
- Home Assignment (HA) No. 4(a), WAP to print the prime numbers form given input m to n. [20/04/2021]
- Home Assignment (HA) No. 4(b), WAP to generate the Fibonacci Series upto a given limit. [20/04/2021]
- Home Assignment (HA) No. 5, WAP to create a Student class consisting of rollNo, name, course, and subjects as its instance variables. Demostrate in how many different ways you can initialize the objects of Student class. Finally display the objects as output of the program. [22/04/2021]
- Home Assignment (HA) No. 6, WAP to demonstrate the use of garbage collector in Java [27/04/2021]
- Home Assignment (HA) No. 7(a), What are the different ways of method overloading in Java? What is method overloading with widening in Java. [31/05/2021]
- Home Assignment (HA) No. 7(b), WAP to find the sum of n natural numbers using recursion. [31/05/2021]
- Home Assignment (HA) No. 7(c), WAP to find reversre a string using recursion. [31/05/2021]
- Home Assignment (HA) No. 7(d), WAP to count the number of objects created from a class. [31/05/2021]
- Home Assignment (HA) No. 7(e), WAP to demonstrate the different string handling methods in java. [31/05/2021]
- Home Assignment (HA) No. 8(a), Prepare 10 important questions from the Lecture 6. It should reflect your understanding about the topic. Avoid discussing with your friends. It may reduce your score if similarities are found. [05/06/2021]
- Home Assignment (HA) No. 8(b), Answer the questions prepared in 8(a). [05/06/2021]
- Home Assignment (HA) No. 9(a), Generate 5-10 errrors from the Lecture 07 ppt sample programs. The errors should be related to the concepts of inheritance, packages, and interfaces. [14/06/2021]
- Home Assignment (HA) No. 9(b), WAP to demonstrate how to achieve multiple inheritance in Java. [14/06/2021]
Class Assignments
- Assignment No. 1, Posted on Google Classroom, Submission Deadline: 20/05/2021
- Assignment No. 2, Posted on Google Classroom, Submission Deadline: 20/06/2021
Tests and Quizes
- Test 1, will be held on 04/05/2021. The Syllabus for Test 1 will be upto Chapter 6 + Class Assignment no. 1.
- Quiz 1, **/**/2021.
- Test 2, will be held on 02/07/2021. The Syllabus for Test 2 will be from Chapter 7-10 + Class Assignment no. 2.
- Quiz 2, **/**/2021.
Resources
- R1: Schildt, H. (2018). Java: The Complete Reference. 10th edition. McGraw-Hill Education.
- Additional R1: Balaguruswamy, E. (2014). Programming with JAVA: A Primer. 5th edition. India: McGraw Hill Education.
- Additional R2: Horstmann, C. S. (2017). Core Java - Vol. I – Fundamentals (Vol. 10). Pearson Education.
- Additional R3: Schildt, H., & Skrien, D. (2012). Java Fundamentals - A Comprehensive Introduction. India: McGraw Hill Education.
- Web 1: The Java™ Tutorials [1]
- Web 2: Java T Point Tutorial [2]
- Web 3: NTU notes on Java [3]
Course Running Status (Completed)
| Unit/Chapter | Topic | Status | Remarks |
|---|---|---|---|
| 1 | The History and Evolution of Java | Completed | 06/04/2021 |
| 2 | An Overview of Java | Completed | 08/04/2021 |
| 3 | Data Types, Variables and Arrays | Completed | 13/04/2021 |
| 4 | Operators | Completed | 16/04/2021 |
| 5 | Control Statements | Completed | 20/04/2021 |
| 6 | Introducing Classes | Completed | 27/04/2021 |
| 7 | A Closer Look at Methods and Classes | Completed | 28/05/2021 |
| 8 | Inheritance | Completed | 03/06/2021 |
| 9 | Packages and Interfaces | Completed | 10/06/2021 |
| 10 | Exception Handling | Completed | 25/06/2021 |
| 11 | IO and File Handling | Completed | 29/06/2021 |
| 12 | Event Handling and AWT | Completed | 09/07/2021 |
| 13 | Introducing Swing, Exploring Swing | Completed | 16/07/2021 |