Lecture Notes



 

Lecture Notes

Java Operator Precedence Table

Lecture 1

[pdf]

28/Jul

Monday

Lecture 2

[pdf]

30/Jul

Wednesday

Lecture 3

[pdf]

1/Aug

Friday

Lecture 4

[pdf]

4/Aug

Monday

scope_example.java

Lecture 5

[pdf]

6/Aug

Wednesday

if_example.java
else_example1.java
else_example2.java

Lecture 6

[pdf]

8/Aug

Friday

while1.java
while2.java
for1.java

Lecture 7

The algorithm for the programs are given in the java files

11/Aug

Monday

Palindrome.java
Next-palindrome.java

Lecture 8

The algorithm for the programs are given in the java files

13/Aug

Wednesday

gcd1.java
gcd2.java

Lecture 9 and 10

[pdf]

18/Aug
20/Aug

Monday
Wednesday

Lecture 11

[pdf]
[practice problem]

23/Aug

Friday

Lecture 12 and 13

[pdf]

25/Aug
27/Aug

Monday
Wednesday

Lecture 14 and 15

[pdf]

1/Sep
3/Sep

Monday
Wednesday

print_stars.java
print_using_main_only.java
print_stars_plus_minus.java"
bad_diamond.java
realdiamond.java

Lecture 16

[pdf]

4/Sep

Friday

Lecture 17 and 18

[pdf]

8/Sep
10/Sep

Monday
Wednesday

Clever_prisoner.java
max_perm.java

Lecture 19

[pdf]

12/Sep

Friday

No lecture on 15 September

Lecture 20

[pdf]

17/Sep

Wednesday

Lecture 21

[pdf]

19/Sep

Friday

Lecture 22

[pdf]

22/Sep

Monday

Point.java
Triangle.java
Circle.java
triangle_program1.java
circle_program1.java

Lecture 23

[pdf]

24/Sep

Wednesday

program1.java
program2.java
Triangle.java
Point.java

Lecture 24

[pdf]

26/Sep

Friday

box.java
box_example.java
class1.java
class2.java

Lecture 25

[pdf]

29/Sep

Monday

program1.java
Point.java

Lecture 26

[pdf]

13/Oct

Monday

Rainfall.java
Rainfall2.java
ArrayMidsemss.java

Lecture 27

[pdf]

15/Oct

Wednesday

Student.java
Course.java
Array2D.java

Lecture 28

[pdf]

17/Oct

Friday

array_random.java
random_example.java
selection_sort.java
sieve.java

Lecture 29

[pdf]

20/Oct

Monday

character_example1.java
character_example2.java
matrix_mul.java

Lecture 30

[pdf]

22/Oct

Wednesday

Lecture 31+32

[pdf]

29/Oct

Wednesday

Combination.java
Bars_and_Stars.java

Lecture 33

[lec33.pdf]

induction.pdf

31/Oct

Friday

recur-exercise.pdf

permutation.java

Lecture 34

[pdf]

3/Nov

Monday

bin_search.java
Console_chareader.java
Interactively_reading_integers.java
selection_sort_i.java

Lecture 35

[pdf]

5/Nov

Wednesday

IO_without_buffer.java
random_example_file.java
reading_numbers_from_file.java
Quick_sort.java
Comparing_sorting_algo.java

Solution to Practice problem on Recursion

[pdf]

Lecture 36

[pdf]

7/Nov

Friday

merge-sort.java
Three_sorting_algos.java

Lecture 37

[pdf]

10/Nov

Monday

Lecture 38

[pdf]

12/Nov

Wednesday

Practice Problems

[pdf]

Lecture 39

[pdf]

14/Nov

Friday



Tutorials and Quiz

Tutorial 2

[pdf]

7/Aug Thursday

Tutorial 3

[pdf]

14/Aug Thursday

Tutorial 4

[pdf]

4/Sep Thursday

Tutorial 5

[pdf]

11/Sep Thursday

Tutorial 6

[pdf]

18/Sep Thursday

Tutorial 7

[pdf]

25/Sep Thursday

Tutorial 8

[pdf]

16/Oct Thursday

Tutorial 10

[pdf]

30 /Oct Thursday

Tutorial 11

[pdf]

6 /Nov Thursday



Quiz

Quiz 1a

[pdf] [solution]

Quiz 1b

[pdf] [solution]

Quiz 2a

[pdf] [solution]

Quiz 2b

[pdf] [solution]

Quiz 3a

[pdf] [solution]

Quiz 3b

[pdf] [solution]