File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ Q7 Scenario : A student enrolls in 6 bscs courses<br />
25
25
Q8 : code from quiz <br />
26
26
27
27
Week5: <br />
28
- Fibbonachi code Optimization in function form ( Fib1 to Fib 4)
28
+ Fibbonachi code Optimization in function form ( Fib1 to Fib 4) <br />
29
+ Fib1 : missing a base case <br />
30
+ Fib2 : normal recursive Fibonacchi code <br />
31
+ Fib3 : memorization , use hashmap to calculate a big fibonachi sequence <br />
32
+ Fib4 : iterative approach : use a for loop to calculate fibonachi sequence <br />
29
33
30
34
Week 7: <br />
31
35
Fibbonachi code in the Class/object form
@@ -38,7 +42,12 @@ Q3 and Q4 : Conversion between derived type to base type object using dynamic po
38
42
Q5 (imp) : Difference between Association , Aggregation and Composittion<br />
39
43
40
44
Week 8 : <br />
41
- Contains all the questions code from mid term (last) handout.
45
+ Pointers : Program to swap 2 numbers using pointers with some pointer logic <br />
46
+ Q2-) Understand how pointers work <br />
47
+ Q3 and Q3b ) Thing class : See how the objects are created and destroyed when they go out of scope <br />
48
+ Q4a and Q4b) Lamp class : learn how to use 2 states of lamp ON/OFF using enum . <br />
49
+ Q8) See the order of constructor and destructor in a for loop <br />
50
+
42
51
43
52
44
53
You can’t perform that action at this time.
0 commit comments