Difference between revisions of "Spring 2020: Programming in Java"
Jump to navigation
Jump to search
(48 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
*Class Timings: '''Thursdays'''(3rd,4th slot), '''Fridays'''(1st,2nd slot) | *Class Timings: '''Thursdays'''(3rd,4th slot), '''Fridays'''(1st,2nd slot) | ||
*Classroom: '''R33'''(Thursdays), '''R34'''(Fridays) | *Classroom: '''R33'''(Thursdays), '''R34'''(Fridays) | ||
− | *Lab Timings:Wednesdays'''(Lab3)''' | + | *Lab Timings:Wednesdays'''(Lab3/Lab4)''' |
== Course Overview == | == Course Overview == | ||
* As per the [http://mkbhandari.com/mkwiki/data/spring2020/JavaGuidelines.pdf '''COURSE Guidelines'''] | * As per the [http://mkbhandari.com/mkwiki/data/spring2020/JavaGuidelines.pdf '''COURSE Guidelines'''] | ||
− | == | + | == Lectures == |
{| class="wikitable" style="text-align: left; width: 100%"; | {| class="wikitable" style="text-align: left; width: 100%"; | ||
|- | |- | ||
Line 15: | Line 15: | ||
!Readings | !Readings | ||
|- | |- | ||
− | | Fri 10/01 | + | | style="width: 8%" | Fri 10/01 |
− | | The History and Evolution of Java. An Overview of Java | + | | style="width: 42%" | The History and Evolution of Java. An Overview of Java |
− | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect01.pdf '''Lect01.pdf'''], OOPs Principles [<span style="color:#009000"> Class notes </span>] | + | | style="width: 33%" | [http://mkbhandari.com/mkwiki/data/spring2020/Lect01.pdf '''Lect01.pdf'''], OOPs Principles [<span style="color:#009000"> Class notes </span>] |
| Chapter 1,2 | | Chapter 1,2 | ||
|- | |- | ||
Line 37: | Line 37: | ||
| Thu 30/01 | | Thu 30/01 | ||
| Introducing Classes(2) | | Introducing Classes(2) | ||
− | | Constructors, this keyword, A Stack Class [<span style="color:#009000"> Class notes </span>] | + | | Constructors, this keyword, A Stack Class, Garbage Collection, The finalize() Method [<span style="color:#009000"> Class notes </span>] |
| Chapter 6 | | Chapter 6 | ||
+ | |- | ||
+ | | Wed 12/02 | ||
+ | | A Closer Look at Methods and Classes | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect06.pdf '''Lect06.pdf'''] | ||
+ | | Chapter 7 | ||
+ | |- | ||
+ | | Thu 13/02 | ||
+ | | A Closer Look at Methods and Classes (2) | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect07.pdf '''Lect07.pdf'''] | ||
+ | | Chapter 7 | ||
+ | |- | ||
+ | | Thu 20/02 | ||
+ | | A Closer Look at Methods and Classes (3) | ||
+ | | final keyword, Arrays Revisited, Nested and Inner Classes, Varargs, Using Command-Line Arguments, Exploring the String Class [<span style="color:#009000"> Class notes </span>] | ||
+ | | Chapter 7 [http://mkbhandari.com/mkwiki/data/spring2020/A-Closer-Look-at-Methods-and-Classes.pdf '''Chapter7.pdf'''] | ||
+ | |- | ||
+ | | Fri 21/02 | ||
+ | | Inheritance | ||
+ | | Inheritance basics [<span style="color:#009000"> Class notes </span>] | ||
+ | | Chapter 8 | ||
+ | |- | ||
+ | | Thu 05/03 | ||
+ | | Inheritance basics, Using super, Creating a Multilevel Hierarchy, When Constructors are executed. | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect10.pdf '''Lect10.pdf'''] | ||
+ | | Chapter 8 | ||
+ | |- | ||
+ | | Fri 06/03 | ||
+ | | Method overriding, Dynamic Method Dispatch, Using Abstract Classes, Using final with Inheritance, The Object Class. | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect11.pdf '''Lect11.pdf'''] | ||
+ | | Chapter 8 | ||
+ | |- | ||
+ | | L12 | ||
+ | | Packages | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect12.pdf '''Lect12.pdf'''] | ||
+ | | Chapter 9 | ||
+ | |- | ||
+ | | L13 | ||
+ | | Interfaces | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect13.pdf '''Lect13.pdf'''] | ||
+ | | Chapter 9 | ||
+ | |- | ||
+ | | L14 | ||
+ | | Exception Handling | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect14.pdf '''Lect14.pdf'''] | ||
+ | | Chapter 10 | ||
+ | |- | ||
+ | | L15 | ||
+ | | Multithreaded Programming | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect15.pdf '''Lect15.pdf'''] | ||
+ | | Chapter 11, Till page 246 | ||
+ | |- | ||
+ | | L16 | ||
+ | | Enumerations, Autoboxing,and Annotations (Metadata) | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect16.pdf '''Lect16.pdf'''] | ||
+ | | Chapter 12, Till page 279 | ||
+ | |- | ||
+ | | L17 | ||
+ | | I/O, File Operations(Create a File, Get File Information, Write To a File, Read from a File) | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect17.pdf '''Lect17.pdf'''] | ||
+ | | Chapter 13, Till page 321 | ||
+ | Read [https://www.javatpoint.com/java-file-class '''File Class'''] for file operations. | ||
+ | |- | ||
+ | | L18 | ||
+ | | String Handling | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect18.pdf '''Lect18.pdf'''] | ||
+ | | Chapter 16 | ||
+ | |- | ||
+ | | L19 | ||
+ | | The Applet Class | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect19.pdf '''Lect19.pdf'''] | ||
+ | | Chapter 23, Till page 764 | ||
+ | |- | ||
+ | | L20 | ||
+ | | Event Handling and AWT(Abstract Window Toolkit) | ||
+ | | [http://mkbhandari.com/mkwiki/data/spring2020/Lect20.pdf '''Lect20.pdf'''] | ||
+ | | Chapter 24,25 | ||
+ | |- | ||
+ | | L21 | ||
+ | | Swing (Introduction to Swing, Swing vs. AWT, Hierarchy for Swing components, Creating GUI applications using Swing) | ||
+ | | Online Tutorial | ||
+ | | Chapter 31 | ||
+ | Read about Swing form [https://www.javatpoint.com/java-swing] | ||
|} | |} | ||
== Assignments and Tests== | == Assignments and Tests== | ||
===Assignments=== | ===Assignments=== | ||
− | *A1 | + | *A1 |
*A2 | *A2 | ||
*A3 | *A3 | ||
+ | * Assignments(A1,A2,A3) Submission deadline is 20th April, 2020. | ||
+ | |||
===Tests=== | ===Tests=== | ||
− | * | + | * Test 1: Held on 20/02/2020 |
− | *T2 | + | * T2 |
− | *T3 | + | * T3 |
== Resources == | == Resources == |
Latest revision as of 00:25, 29 August 2020
Contents
Logistics
- Class Timings: Thursdays(3rd,4th slot), Fridays(1st,2nd slot)
- Classroom: R33(Thursdays), R34(Fridays)
- Lab Timings:Wednesdays(Lab3/Lab4)
Course Overview
- As per the COURSE Guidelines
Lectures
Date | Topic | Lecture Slides [ppt/pdf] | Readings |
---|---|---|---|
Fri 10/01 | The History and Evolution of Java. An Overview of Java | Lect01.pdf, OOPs Principles [ Class notes ] | Chapter 1,2 |
Thu 16/01 | OOPs Principles, JVM Architecture | Lect02.pdf, OOPs Principles [ Class notes ] | Chapter 2 |
Fri 17/01 | Data Types, Variables,and Arrays. Operators. Control Statements. | Lect03.pdf | Chapter 3, 4, and 5 |
Wed 29/01 | Introducing Classes | Lect04.pdf | Chapter 6 |
Thu 30/01 | Introducing Classes(2) | Constructors, this keyword, A Stack Class, Garbage Collection, The finalize() Method [ Class notes ] | Chapter 6 |
Wed 12/02 | A Closer Look at Methods and Classes | Lect06.pdf | Chapter 7 |
Thu 13/02 | A Closer Look at Methods and Classes (2) | Lect07.pdf | Chapter 7 |
Thu 20/02 | A Closer Look at Methods and Classes (3) | final keyword, Arrays Revisited, Nested and Inner Classes, Varargs, Using Command-Line Arguments, Exploring the String Class [ Class notes ] | Chapter 7 Chapter7.pdf |
Fri 21/02 | Inheritance | Inheritance basics [ Class notes ] | Chapter 8 |
Thu 05/03 | Inheritance basics, Using super, Creating a Multilevel Hierarchy, When Constructors are executed. | Lect10.pdf | Chapter 8 |
Fri 06/03 | Method overriding, Dynamic Method Dispatch, Using Abstract Classes, Using final with Inheritance, The Object Class. | Lect11.pdf | Chapter 8 |
L12 | Packages | Lect12.pdf | Chapter 9 |
L13 | Interfaces | Lect13.pdf | Chapter 9 |
L14 | Exception Handling | Lect14.pdf | Chapter 10 |
L15 | Multithreaded Programming | Lect15.pdf | Chapter 11, Till page 246 |
L16 | Enumerations, Autoboxing,and Annotations (Metadata) | Lect16.pdf | Chapter 12, Till page 279 |
L17 | I/O, File Operations(Create a File, Get File Information, Write To a File, Read from a File) | Lect17.pdf | Chapter 13, Till page 321
Read File Class for file operations. |
L18 | String Handling | Lect18.pdf | Chapter 16 |
L19 | The Applet Class | Lect19.pdf | Chapter 23, Till page 764 |
L20 | Event Handling and AWT(Abstract Window Toolkit) | Lect20.pdf | Chapter 24,25 |
L21 | Swing (Introduction to Swing, Swing vs. AWT, Hierarchy for Swing components, Creating GUI applications using Swing) | Online Tutorial | Chapter 31
Read about Swing form [1] |
Assignments and Tests
Assignments
- A1
- A2
- A3
- Assignments(A1,A2,A3) Submission deadline is 20th April, 2020.
Tests
- Test 1: Held on 20/02/2020
- T2
- T3
Resources
- [Reference Book]: Herbert Schildt, The Complete Reference, 9th Edition, MGH Education (India).
- [Web:The Java™ Tutorials] https://docs.oracle.com/javase/tutorial/
- [Web: GeeksforGeeks ] https://www.geeksforgeeks.org/java/
- [Web: Java T Point Tutorial ] https://www.javatpoint.com/java-tutorial