Sie sind auf Seite 1von 28

SCHOOL OF COMPUTER SCIENCE ENGINEERING

M.TECH. COMPUTER SCIENCE AND ENGINEERING


CSE2005 – OBJECT ORIENTED PROGRAMMING
FALL 2018-19

Contents
 Syllabus
 Lesson Plan
 Grading Policy
 Question Papers
 Sample Answer Scripts
 Mark Sheets
 Result Analysis
 Attendance Particulars
 Course Material
 Student Class Notes
 Innovative Teaching Practices
 Steps taken for slow learners
 Student’s Feedback
 Faculty Feedback
SYLLABUS
Course Code: Course Title Object Oriented Programming TPC 3 2 4

Version No. 1.0


Course Pre- CSE 1001
requisites/ Co-
requisites/ anti-
requisites (if any).
Objectives: 1. To understand the concepts of object-oriented, event driven, and
concurrent programming paradigms and develop skills in using these
paradigms using Java.
2. To be aware of the important topics and principles of software
development.
3. To learn writing a computer program to solve specified problems.
4. To enable using the Java SDK environment to create, debug and
run simple Java programs.
Expected Outcome: On Completion of the course the students shall be able to
1. Knowledge of the structure and model of the Java programming language,
(knowledge)
2. Use the Java programming language for various programming
technologies (understanding)
3. Develop software in the Java programming language, (application)
4. Evaluate user requirements for software functionality required to decide
whether the Java programming language can meet user requirements
(analysis)
5. Propose the use of certain technologies by implementing them in the Java
programming language to solve the given problem (synthesis)
6. Choose an engineering approach to solving problems, starting from the
acquired knowledge of programming and knowledge of operating
systems. (evaluation)
Module No. 1 Object-Oriented Programming – Fundamentals  8 hours
Features of OOP - Objects and Classes in Java – Defining Classes – Methods - Access Specifiers
– Static Members – Constructors – Finalize Method – Arrays – Strings - Packages
Module No. 2 8 hours
Inheritance 

Inheritance – Class Hierarchy – Types of Inheritance - Polymorphism – Dynamic Binding – Final


Keyword – Abstract Classes – The Object Class – Reflection – Interfaces – Object Cloning –
Inner Classes – Proxies
Module No. 3 Event-Driven Programming  8 hours
Graphics Programming – Frame – Components – Working with 2D Shapes – Using Color, Fonts,
and Images – Applets- Basics of Event Handling – Event Handlers – Adapter Classes – Actions –
Mouse Events – AWT Event Hierarchy
Module No. 4 7 hours
SWING

Introduction to Swing – Model-View- Controller design pattern – Buttons – layout management


– Swing Components
Module No. 5 6 hours
Generic Programming 
Motivation for Generic Programming – Generic Classes and Methods – Generic Exceptions –
Exception Hierarchy – Throwing and Catching Exceptions – Assertions
Module No. 6 8 hours
Concurrent Programming 

Multi-Threaded Programming – Interrupting Threads – Thread States – Thread Properties –


Thread Synchronization – Synchronization .
Text Books
1. Herbert Schildt, “Java: The Complete Reference”, Tenth edition, McGraw-Hill
Education,2017.
References
1.Joyce Farrell,”Java Programming”,Eighth Edition,Cengage Learning,2016.
Mark Lassoff, “Java Programming for Beinners”,Pack Publishing,2017
Mode of Evaluation
Continuous Assessment Test-1 20%

Continuous Assessment Test-2 20%

Continuous Assessment Test-3 20%

Cumulative Lab Exercises 20%

Practical Assessment (Mini Project) 20%

Recommended by the
Board of Studies on
Date of Approval by
the Academic Council
LESSON PLAN

Course Course Allotted


Course Title ClassNbr Slot Faculty
Code Type Program
70067 - Prof.
Object Oriented
CSE2005 ETH AP2018191000016 D2/TD2 Anupama ALL
Programming
Namburu - SE

Syllabus Syllabus available


FAL(2018-19)_CSE2005_ETH_G17_AP2018191000016_Assignment
Assignment I
I_ass1.pdf
FAL(2018-19)_CSE2005_ETH_G17_AP2018191000016_Assignment
Assignment II
II_Ass2.pdf
Model Question FAL(2018-19)_CSE2005_ETH_G17_AP2018191000016_Model Question
Paper Paper_OOP CAT-2 Model questions.pdf

Lecture Lecture Reference


Sl.No. Lecture Topic
Date Day Material
Reference
24-Jul- Material I
1 TUE Introduction to java
2018
Web Material I
26-Jul-
2 THU classes and objec Web Material I
2018
27-Jul- Reference
3 FRI programming introduction to java
2018 Material I
31-Jul-
4 TUE data types
2018
02-Aug-
5 THU data members and member functions
2018
03-Aug-
6 FRI classes and objects
2018
07-Aug-
7 TUE Examples on classes and objects
2018
09-Aug- constructors introduction and definition and
8 THU
2018 sample programs
10-Aug-
9 FRI constructor overloading
2018
14-Aug-
10 TUE this keyword, final, finalize,garbage collector
2018
16-Aug-
11 THU Access Controls
2018
17-Aug-
12 FRI Arrays
2018
21-Aug-
13 TUE static methods,variables,blocks and classes
2018
23-Aug-
14 THU Inheritance
2018
24-Aug-
15 FRI Abstract classes
2018
28-Aug-
16 TUE Interfaces
2018
30-Aug-
17 THU Graphics Fonts
2018
31-Aug- Reference
18 FRI Graphics 2d shapes and color
2018 Material I
06-Sep- Reference
19 THU Introduction to Event handling
2018 Material I
07-Sep-
20 FRI Listners,events, Events sources
2018
11-Sep-
21 TUE mouselistners,keyboard listners,window listners
2018
14-Sep-
22 FRI Buttons,Labels,textfield,textArea
2018
18-Sep- Reference
23 TUE AWT-checkboxes,checkbox group,list,choices
2018 Material I
20-Sep- Reference
24 THU Adapters
2018 Material I
25-Sep- Reference
25 TUE Swings introduction
2018 Material I
27-Sep-
26 THU Swing components programs and GUI creation
2018
28-Sep-
27 FRI Examples on Swings
2018
04-Oct-
28 THU Border and Card Layouts
2018
05-Oct-
29 FRI Menu and its Applications
2018
09-Oct-
30 TUE MVC architecture
2018
11-Oct-
31 THU Applications on AWT
2018
12-Oct-
32 FRI Applications on Swings
2018
18-Oct-
33 THU Introduction to generic programming
2018
23-Oct-
34 TUE Generic classes
2018
25-Oct-
35 THU Generic Methods
2018
36 26-Oct- FRI Generic Exceptions
2018
30-Oct-
37 TUE Exception Hierarchy
2018
01-Nov-
38 THU Catch and Throw implementations
2018
02-Nov-
39 FRI Assertions
2018
06-Nov-
40 TUE Introduction to threading
2018
08-Nov-
41 THU Multi threading
2018
09-Nov-
42 FRI thread life cycle and states
2018
13-Nov-
43 TUE interrupting threads
2018
15-Nov-
44 THU thread synchronization
2018
16-Nov-
45 FRI thread synchronization
2018

Grading Policy
QUESTION PAPERS
CSE2005 – Object Oriented Programming CAT-1 Question Paper
PART-A (5X10=50 Marks)

Each question Carries 10M

1. Define a class for Matrix that contains four integers a00,a01,a10,a11. Define two objects for the
Matrix class and compute the addition, subtraction and multiplication (element wise
multiplication).
2. Write a test program that prompts the user to enter three points (x1, y1), (x2, y2), (x3, y3) and
create a class named MyTriangle with three sides that contains the following.
a) Define default constructor with no parameters and constructor with three sides as
parameter.
MyTrianlge() //assign default sides
MyTrianlge(double side1, double side2, double side3) //assign sides calculated from points
b) Display the perimeter of the triangle for default values and the calculated sides using the
below method.
public void perimeter( );
3. Define a Class for Employee that contains Empid , EmpName and Deprtment. There are 50
employees in the company. Ask the user to enter a search name and find whether that employee is
present in the company or not. If present display the details of the Employee.
4. Design a class named Television to represent a TV. The class contains
a) Three constants named LED, LCD, and CRT with values 1,2 and 3 .
b) An int data field named type that specifies the type of the Television
c) A string data field named company that specifies the company name of the Television
d) Define a constructor Television() to set default values of the Television for type LED
.and company Samsung.
e) Define a method that reads type and Company entered by the User.
void setConfiguration(int type, String Company)
f) Define a method to compute the cost of the television if type is LED the cost is 50,000. If
type is LCD cost is 25,000. If CRT cost is 10,000.
void compute()
5. Define a class for EnggClinics. In the initial phase, implement two simple methods like
void glowLed(), void stopLed()(just print simple messages like Led is glowing etc) and
also include an abstract method void controlLed(). Inherit the EnggClinics class to
ReverseEnggClinics class and implement the abstract method void controlled() in
ReverseEnggClinics class.
CSE2005 – Object Oriented Programming CAT-2 Model Question Paper
PART-A (5X10=50 Marks)

Each question carries 10M


1. Write a Java program that works as a simple calculator. Arrange buttons for the digits and + – * %
operations. Add a text field to display the result.
2. Write a java program to design the below graphics using Graphics Class

3. Write a swing program in Java program to present a set of choices for a user to select stationary
products and display the price of product after selection from the list.

4. Write a Swing program called VoteDialog, the user casts a vote by selecting a radio button and
clicking the Vote button. After the button is clicked, a dialog appears with an informational message or
a follow-up question. Here's a picture of the VoteDialog application:

5. Write a Swing program to develop Celsius converter application. If user enters a temperature in
degrees Celsius and clicks the Convert... button, and a label displays the equivalent in degrees .
Fahrenheit.

Assignment
Design the below graphics

1-15 Roll No

16-30 Roll No

31-48 Roll No
Assignment on constructor
Create a triangle class. Create three constructors to read breadth and height of integers, floats and
double. Calculate area of triangles.

SAMPLE ANSWER SCRIPTS


MARK SHEETS
Exam Evaluatio
Program Subject Exam Date
Event n
VIT AP [CSE2005 - 016] 03-Sep-2018
CAT1 - Sep Object Oriented (04:00 PM - 05:30
2018 Engineering Programming PM) 1
Tota
S.No Student Name Roll Number ADoc Id A l
(50)
YACHAMANENI
1 YASWANTH . 17MIS7006 336362 48 48
THIRUMALAREDDY
2 SANJEETH REDDY . 17MIS7008 336354 28 28
3 D NAGA HANISHA . 17MIS7010 336325 40 40
BHUMARAPU
4 KOUSHIK . 17MIS7012 336350 17 17
KOTHA DHANITH
5 KRISHNA . 17MIS7013 336346 11 11
BANDARI.CHAITANYA
6 SAI . 17MIS7015 336329 40 40
7 MADALA MANASA . 17MIS7022 336328 49 49
8 ADITYA KISHAN . 17MIS7027 336351 38.5 38.5
SINGARAJU VENKATA
9 VINAY KRISHNA . 17MIS7032 336342 34.5 34.5
KOGANTI SAI
10 KEERTHAN . 17MIS7036 336369 34 34
MODALA HARSHA
11 VARDHAN . 17MIS7045 336357 11 11
12 VENIGALLA SUBHASH . 17MIS7046 336349 21 21
KAMATAM SAI
13 PUJITHA . 17MIS7049 336360 38 38
VEMIREDDY SAI
14 SINDHU REDDY . 17MIS7051 336361 46 46
THOTA VENKATA
LAKSHMI NARASIMHA
15 NAIDU . 17MIS7055 336338 49 49
MOHAMMAD TAUSIF
16 IBRAHIM . 17MIS7058 336355 38 38
17 NSKS SUSANTH . 17MIS7060 336367 42 42
NADELLA MANI
18 KUMAR . 17MIS7061 336326 25 25
19 GUDIPUDI MOUNIKA . 17MIS7062 336334 48 48
RAJUPALEPU
20 PRASANNA LAKSHMI 17MIS7065 336365 44 44
LASYA PRIYA .
DUGGINENI SAI
21 ANIRUDH . 17MIS7072 336337 41 41
22 SYED ARSHAD . 17MIS7084 336323 39 39
23 P V K SAI . 17MIS7086 336327 33 33
TELAGATHOTI
24 THARUN RAJU . 17MIS7094 336322 17 17
kuraparthi harthik
25 reddy . 17MIS7098 336336 35 35
SHAIK ABDUL KAREEM
26 . 17MIS7100 336345 16 16
27 SAI HARSHA P . 17MIS7104 336358 20 20
PERICHARLA KRISHNA
28 VAMSHI VARMA . 17MIS7105 336324 13 13
PANDITI PRADEEP
29 KUMAR . 17MIS7109 336356 26 26
30 PARCHURI HEMANTH . 17MIS7110 336366 28.5 28.5
ACHANTA KRISHNA
31 VARDHAN . 17MIS7114 336330 11 11
POLINEDI VENKATA
32 RAYUDU . 17MIS7117 336352 39 39
33 KURAKU SRICHARAN . 17MIS7124 336333 25.5 25.5
34 GIRIDHAR SAMINENI . 17MIS7131 336347 35 35
ANANTHANENI
35 YOGENDRA . 17MIS7136 336364 38 38
NAGABHAIRU VINOD
36 KUMAR . 17MIS7149 336363 36 36
37 PUJARI THARUN . 17MIS7151 336359 16 16
YASWANTH
38 RAO.KUNTE . 17MIS7152 336343 31 31
NAREDLA MANI THEJA
39 . 17MIS7154 336340 14 14
40 BATTULA GAYATHRI . 17MIS7157 336341 25 25
VANKENA SANDHYA
41 SRI . 17MIS7158 336368 47 47
AVUTU SAI HANEESH
42 REDDY . 17MIS7160 336353 12 12
43 SAMINENI SAIDEEP . 17MIS7164 336332 29 29
AMBATIPUDI TARAKA
44 PARASURAM SASTRY . 17MIS7165 336348 17 17
VAYYAVURU AJAY
45 SHANKAR RAO . 17MIS7166 336335 44 44
NAGA KRISHNA SAI
46 KUMAR KETHA . 17MIS7169 336339 46 46
47 JHANSI OMMI . 17MIS7171 336344 13 13
Thota Mahendra Babu
48 . 17MIS7174 336331 43 43
RESULT ANALYSIS

DEPARTMENT OFCOMPUTERMSCIENCE ENGINEERING


B.Tech Computer Sceince Engineering
Result Analysis - CAT-I Examination
Sub Code: CSE2005 Subject Name: Object oriented programming
Faculty:   Slot:L19
Semester: Winter/Fall 2017-18    

S.No Register No. Student Name CAT-I


YACHAMANENI
1 YASWANTH . 17MIS7006 48
THIRUMALAREDDY
2 SANJEETH REDDY . 17MIS7008 28
3 D NAGA HANISHA . 17MIS7010 40
BHUMARAPU
4 KOUSHIK . 17MIS7012 17
KOTHA DHANITH
5 KRISHNA . 17MIS7013 11
BANDARI.CHAITANY
6 A SAI . 17MIS7015 40

7 MADALA MANASA . 17MIS7022 49


8 ADITYA KISHAN . 17MIS7027 38.5
SINGARAJU
VENKATA VINAY
9 KRISHNA . 17MIS7032 34.5
KOGANTI SAI
10 KEERTHAN . 17MIS7036 34
MODALA HARSHA
11 VARDHAN . 17MIS7045 11
VENIGALLA
12 SUBHASH . 17MIS7046 21
KAMATAM SAI
13 PUJITHA . 17MIS7049 38
VEMIREDDY SAI
14 SINDHU REDDY . 17MIS7051 46
THOTA VENKATA
LAKSHMI
NARASIMHA
15 NAIDU . 17MIS7055 49
MOHAMMAD
16 TAUSIF IBRAHIM . 17MIS7058 38
17 NSKS SUSANTH . 17MIS7060 42
NADELLA MANI
18 KUMAR . 17MIS7061 25
GUDIPUDI
19 MOUNIKA . 17MIS7062 48

RAJUPALEPU
PRASANNA LAKSHMI
20 LASYA PRIYA . 17MIS7065 44
DUGGINENI SAI
21 ANIRUDH . 17MIS7072 41
22 SYED ARSHAD . 17MIS7084 39
23 P V K SAI . 17MIS7086 33
TELAGATHOTI
24 THARUN RAJU . 17MIS7094 17
kuraparthi harthik
25 reddy . 17MIS7098 35
SHAIK ABDUL
26 KAREEM . 17MIS7100 16
27 SAI HARSHA P . 17MIS7104 20
PERICHARLA
KRISHNA VAMSHI
28 VARMA . 17MIS7105 13
PANDITI PRADEEP
29 KUMAR . 17MIS7109 26
PARCHURI
30 HEMANTH . 17MIS7110 28.5
ACHANTA KRISHNA
31 VARDHAN . 17MIS7114 11

POLINEDI VENKATA
32 RAYUDU . 17MIS7117 39
KURAKU SRICHARAN
33 . 17MIS7124 25.5
GIRIDHAR SAMINENI
34 . 17MIS7131 35
ANANTHANENI
35 YOGENDRA . 17MIS7136 38
NAGABHAIRU
36 VINOD KUMAR . 17MIS7149 36
37 PUJARI THARUN . 17MIS7151 16
YASWANTH
38 RAO.KUNTE . 17MIS7152 31
NAREDLA MANI
39 THEJA . 17MIS7154 14
BATTULA
40 GAYATHRI . 17MIS7157 25
VANKENA SANDHYA
41 SRI . 17MIS7158 47
AVUTU SAI
42 HANEESH REDDY . 17MIS7160 12

43 SAMINENI SAIDEEP . 17MIS7164 29


AMBATIPUDI
TARAKA
PARASURAM SASTRY
44 . 17MIS7165 17
VAYYAVURU AJAY
45 SHANKAR RAO . 17MIS7166 44
NAGA KRISHNA SAI
46 KUMAR KETHA . 17MIS7169 46
47 JHANSI OMMI . 17MIS7171 13
Thota Mahendra
48 Babu . 17MIS7174 43
Average (mean) 31.08
Max Marks 50.00
Total No. of Students 48.00
No of Students attended the
exam 48.00
No of Students <40% 12.00
Pass Percentage % 75.00
     
     
ACTION TAKEN
1 Personal counselling done with students
2 Motivate the students to prepare well for next term exams
3  
 
    Signature of Faculty
  Signature of HoD
     

   

ATTENDANCE
PARTICULARS
Fall Semester 2018-19 - ATTENDANCE CONSOLIDATE
REPORT

Course Details
Course
Code Course Title Course Type Slot Venue Class Nbr
AP20181910000
Object Oriented 16
CSE2005 Programming Embedded Theory D2+TD2 G17

Attendance from 26-Jul-2018 to 30-Aug-2018

Attende Total
d Classe Attendance
Sl.No. Reg. No. Student Name Classes s Percentage
YACHAMANENI
1 17MIS7006 YASWANTH 15 15 100
THIRUMALAREDDY
2 17MIS7008 SANJEETH REDDY 14 15 94
3 17MIS7010 D NAGA HANISHA 15 15 100
4 17MIS7012 BHUMARAPU KOUSHIK 14 15 94
5 17MIS7013 KOTHA DHANITH KRISHNA 15 15 100
6 17MIS7015 BANDARI.CHAITANYA SAI 13 15 87
7 17MIS7022 MADALA MANASA 15 15 100
8 17MIS7027 ADITYA KISHAN 15 15 100
SINGARAJU VENKATA
9 17MIS7032 VINAY KRISHNA 14 15 94
10 17MIS7036 KOGANTI SAI KEERTHAN 15 15 100
MODALA HARSHA
11 17MIS7045 VARDHAN 15 15 100
12 17MIS7046 VENIGALLA SUBHASH 15 15 100
13 17MIS7049 KAMATAM.SAI PUJITHA 12 15 80
VEMIREDDY SAI SINDHU
14 17MIS7051 REDDY 15 15 100
THOTA VENKATA LAKSHMI
15 17MIS7055 NARASIMHA NAIDU 14 15 94
MOHAMMAD TAUSIF
16 17MIS7058 IBRAHIM 14 15 94
17 17MIS7060 NSKS SUSANTH 15 15 100
18 17MIS7061 NADELLA MANI KUMAR 15 15 100
19 17MIS7062 GUDIPUDI MOUNIKA 15 15 100
RAJUPALEPU PRASANNA
20 17MIS7065 LAKSHMI LASYA PRIYA 15 15 100
21 17MIS7072 DUGGINENI SAI ANIRUDH 15 15 100
22 17MIS7084 SYED ARSHAD 14 15 94
23 17MIS7086 P V K SAI 14 15 94
TELAGATHOTI THARUN
24 17MIS7094 RAJU 13 15 87
KURAPARTHIHARTHIK
25 17MIS7098 REDDY 15 15 100
26 17MIS7100 SHAIK ABDUL KAREEM 15 15 100
27 17MIS7104 SAI HARSHA P 15 15 100
PERICHARLA KRISHNA
28 17MIS7105 VAMSHI VARMA 13 15 87
29 17MIS7109 PANDITI PRADEEP KUMAR 15 15 100
30 17MIS7110 PARCHURI HEMANTH 14 15 94
ACHANTA KRISHNA
31 17MIS7114 VARDHAN 13 15 87
POLINEDI VENKATA
32 17MIS7117 RAYUDU 14 15 94
33 17MIS7124 KURAKU SRICHARAN 13 15 87
34 17MIS7131 GIRIDHAR SAMINENI 15 15 100
ANANTHANENI
35 17MIS7136 YOGENDRA 13 15 87
NAGABHAIRU VINOD
36 17MIS7149 KUMAR 12 15 80
37 17MIS7151 PUJARI THARUN 15 15 100
38 17MIS7152 YASWANTH RAO.KUNTE 15 15 100
39 17MIS7154 NAREDLA MANI THEJA 13 15 87
40 17MIS7157 BATTULA GAYATHRI 14 15 94
41 17MIS7158 VANKENA SANDHYA SRI 14 15 94
AVUTU SAI HANEESH
42 17MIS7160 REDDY 14 15 94
43 17MIS7164 SAMINENI SAIDEEP 15 15 100
AMBATIPUDI TARAKA
44 17MIS7165 PARASURAM SASTRY 15 15 100
VAYYAVURU.AJAY
45 17MIS7166 SHANKAR RAO 15 15 100
NAGA KRISHNA SAI
46 17MIS7169 KUMAR KETHA 14 15 94
47 17MIS7171 JHANSI OMMI 14 15 94
48 17MIS7174 THOTA MAHENDRA BABU 15 15 100
COURSE MATERIAL

Vtop
https://vtop.vitap.ac.in/vtop/

google classroom
https://classroom.google.com/u/
1/c/MTQ5MzEwNDgyMzVa

sample Course material


-module1
Microsoft PowerPoint Microsoft PowerPoint Microsoft PowerPoint
97-2003 Presentation 97-2003 Presentation 97-2003 Presentation

STUDENT NOTES
INNOVATIVE TEACHING
PRACTICES & STEPS TAKEN
FOR SLOW LEARNERS

INNOVATIVE TEACHING PRACTICES

1. Industrial case studies have been explained and


students were practically exposed to the subject.
2. PBL has been made in relation to their theory subject
so as to improve their domain knowledge.
3. Teaching aids such as digital pens, power point
presentations and video lectures have been shown to
the students to make the class more interesting.

STEPS TAKEN FOR SLOW LEARNERS

1. Extra sessions have been arranged for clearing the


doubts and re explaining them the topics.
2. The students have been motivated and encouraged
to a sufficient level to perform well.
3. The students were boosted up to come to me and
clear their clarification in person.

FEEDBACK
STUDENT’S FEEDBACK
FACULTY FEEDBACK ABOUT THE COURSE

1. The students are very hardworking and above


average.
2. Few of them are slow learners. But suitable
methods are been adapted to help them in
overcoming the gap.
3. Syllabus is very neatly compiled to cater to the
students understanding.
4. One hour a week is not sufficient to complete
the syllabus.

Das könnte Ihnen auch gefallen