Docsity

java programming made easy, Exams of Java Programming

Toggle sidebar
bg1
Contents
S.No
Topic
Page. No.
1
Cover Page
2
Syllabus copy
3
Vision of the Department
4
Mission of the Department
5
PEOs and POs
6
Course objectives and outcomes
7
Course mapping with POs
8
Brief notes on the importance of the course and how it fits into the curriculum
9
Prerequisites if any
10
Instructional Learning Outcomes
11
Class Time Table
12
Individual Time Table
13
Lecture schedule with methodology being used/adopted
14
Detailed notes
15
Additional topics
16
University Question papers of previous years
17
Question Bank
18
Assignment Questions
19
Unit wise Quiz Questions and long answer questions
20
Tutorial problems
21
Known gaps ,if any and inclusion of the same in lecture schedule
22
Discussion topics , if any
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download java programming made easy and more Exams Java Programming in PDF only on Docsity!

Contents

S.No Topic Page. No.

1 Cover Page

2 Syllabus copy

3 Vision of the Department

4 Mission of the Department

5 PEOs and POs

6 Course objectives and outcomes

7 Course mapping with POs

8 Brief notes on the importance of the course and how it fits into the curriculum

9 Prerequisites if any

10 Instructional Learning Outcomes

11 Class Time Table

12 Individual Time Table

13 Lecture schedule with methodology being used/adopted

14 Detailed notes

15 Additional topics

16 University Question papers of previous years

17 Question Bank

18 Assignment Questions

19 Unit wise Quiz Questions and long answer questions

20 Tutorial problems

21 Known gaps ,if any and inclusion of the same in lecture schedule

22 Discussion topics , if any

Course coordinator Program Coordinator HOD

23 References, Journals, websites and E-links if any

24 Quality Measurement Sheets

A Course End Survey

B Teaching Evaluation

25 Student List

26 Group-Wise students list for discussion topic

Geethanjali College of Engineering and Technology

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

(Name of the Subject/Lab Course): Java Programming

(JNTU CODE: A40503 ) Programme: UG

Branch: CSE Version No: 1

Year: II A & B ,C&D Document Number :GCET/CSE/

Semester: I No. of Pages:

Classification status (Unrestricted/Restricted ) : Unrestricted

Distribution List: Unrestricted

Prepared by :

1) Name : A.Sree Lakshmi

2) Sign :

3) Design : ASSOCIATE PROFESSOR

4) Date :

1) Name : N. Swapna

2) Sign :

3) Design : ASSOCIATE PROFESSOR

4) Date :

Verified by : *For Q.C only

1) Name : 1)Name :

2) Sign : 2) Sign :

3) Design : 3) Design :

4) Date : 4) Date :

Approved by (HOD) :

1) Name :

2) Sign :

3) Date :

2) Syllabus copy

Syllabus

UNIT-I OOP concepts:

  • Data abstraction , encapsulation , inheritance, benefits of inheritance , polymorphism, classes and objects , procedural and Object oriented programming paradigms Java Programming - History of Java, comments, datatypes, variables, constants, , scope and life time of variables,operators,operator hierarchy, expressions, type conversion and casting, enumerated types,control flow block scope, conditional statements, loops break and continue statements.simple java program ,arrays,console input and output, formatting output, constructors, methods, parameter passing, static fields and methods, access control, this keyword, overloading methods and constructors recursion,garbage collection,building strings, exploring string class UNIT-II Inheritance – Definition ,hierarchies, super and subclasses , Member access rules, super keyword,preventing inheritance : final classes and methods , the Object class and its methods. Polymorphism - Dynamic binding, method overriding, abstract classes and methods. Interfaces : Interfaces VS Abstrct classes,defining an interface , implementing interfaces, accessing implementations through interface references, extending interface. Inner classes: Uses of inner classes, local inner classes, anonymous inner classes, static inner classes, examples. Packages: Definition, Creating and Accessing a package, understanding CLASSPATH, importing packages. UNIT-III Exception handling – Dealing with errors, benefits of exception handling, the classification of exceptions- exception hierarchy, checked exceptions and unchecked exceptions, usage of try, catch, throw, throws and finally, rethrowing exceptions, exception specification,built in exceptions, creating own exception sub classes.

3. Vision of the Department To produce globally competent and socially responsible computer science engineers contributing to the advancement of engineering and technology which involves creativity and innovation by providing excellent learning environment with world class facilities. 4. Mission of the Department

  1. To be a center of excellence in instruction, innovation in research and scholarship, and service to the stake holders, the profession, and the public.
  2. To prepare graduates to enter a rapidly changing field as a competent computer science engineer.
  3. To prepare graduate capable in all phases of software development, possess a firm understanding of hardware technologies, have the strong mathematical background necessary for scientific computing, and be sufficiently well versed in general theory to allow growth within the discipline as it advances.
  4. To prepare graduates to assume leadership roles by possessing good communication skills, the ability to work effectively as team members, and an appreciation for their social and ethical responsibility in a global setting. 5. PROGRAM EDUCATIONAL OBJECTIVES (PEOs) OF C.S.E. DEPARTMENT
  5. To provide graduates with a good foundation in mathematics, sciences and engineering fundamentals required to solve engineering problems that will facilitate them to find employment in industry and / or to pursue postgraduate studies with an appreciation for lifelong learning.
  6. To provide graduates with analytical and problem solving skills to design algorithms, other hardware / software systems, and inculcate professional ethics, inter-personal skills to work in a multi-cultural team.
  1. To facilitate graduates to get familiarized with the art software / hardware tools, imbibing creativity and innovation that would enable them to develop cutting-edge technologies of multi-disciplinary nature for societal development.
    1. PROGRAM OUTCOMES (CSE)
  2. An ability to apply knowledge of mathematics, science and engineering to develop and analyze computing systems.
  3. an ability to analyze a problem and identify and define the computing requirements appropriate for its solution under given constraints.
  4. An ability to perform experiments to analyze and interpret data for different applications.
  5. An ability to design, implement and evaluate computer-based systems, processes, components or programs to meet desired needs within realistic constraints of time and space.
  6. An ability to use current techniques, skills and modern engineering tools necessary to practice as a CSE professional.
  7. An ability to recognize the importance of professional, ethical, legal, security and social issues and addressing these issues as a professional.
  8. An ability to analyze the local and global impact of systems /processes /applications /technologies on individuals, organizations, society and environment.
  9. An ability to function in multidisciplinary teams.
  10. An ability to communicate effectively with a range of audiences.
  11. Demonstrate knowledge and understanding of the engineering, management and economic principles and apply them to manage projects as a member and leader in a team.
  12. A recognition of the need for and an ability to engage in life-long learning and continuing professional development
  13. Knowledge of contemporary issues.
  14. An ability to apply design and development principles in producing software systems of varying complexity using various project management tools.
  15. An ability to identify, formulate and solve innovative engineering problems.

The course enables a student to analyze a problem and identify and define thecomputing requirements appropriate for its solution under given constraints, to perform experiments to analyze and interpret data for different applications, and to design, implement and evaluate computer-based systems, processes, components or programs to meet desired needs within realistic constraints of time and space. The student can use current techniques, skills and tools necessary to practice as a CSE professional and continuing professional development. The student gains knowledge of subject to apply design and development principles in producing software systems of varying complexity 9 Prerequisites if any i) Knowledge in programming i.e., C language 10 Instructional Learning Outcomes Unit-I: Students gain ability to

  1. Explain and apply object oriented concepts
  2. Differentiate Procedural and object oriented paradigms
  3. Explain features of Java programming language
  4. Write simple java stand alone applications Unit-II
  5. Apply the Concepts of inheritance, Polymorphism and Interfaces and Packages
  6. Design abstract classes and interfaces and analyze when to use them.
  7. Create and access a package. Unit-III
  8. Handle Exceptions and create own exception sub classes.
  9. Multithread programming with an ability to synchronize threads. Unit- IV
  10. Use the Collection Frame work in java.
  1. File management with a clear understanding of different kinds of input output streams
  2. Connecting and querying a database using JDBC Unit-V
  3. Design GUI screens using AWT and Swings
  4. Handle different types of events
  5. Design Applets 11 Course mapping with POs Course Code and Title POS A40503- Java Programming 1 2 3 4 5 6 7 8 9 10 11 12 13 14 A40503.1 Understand the concept of OOP as well as the purpose and usage principles of inheritance, polymorphism, encapsulation and method overloading 2 2 2 2 1 1 1 1 2 2 A40503.2 Identify classes, objects, members of a class and the relationships among them needed for a specific problem. 2 2 2 2 1 1 1 1 2 2 A40503. 3.Create Java application programs using sound OOP practices (e.g., interfaces and APIs) and proper 2 2 2 2 1 1 1 1 2 2

5 1 Operators, expressions,Type conversion and casting Board 6 1 Control Statements Board 7 1 Arrays, console input and output Board 8 1 classes and objects, Concepts of classes, constructors and methods Board 9 1 Access control, this keyword, garbage collection Board 10 1 Overloading methods and constructors Board 11 1 Recursion, String handling Board Total 13 Board

UNIT II

12 1 Inheritance definition, single inheritance, benefits of inheritance Board 13 1 Super classes and subclass Member access rules Board 14 1 Preventing inheritance:final class and methods Board 15 1 Base class object and its methods Board 16 1 Polymorphism: dynamic Binding Board 17 1 Method overriding Board 18 1 Abstract classes and methods Board 19 1 Defining an interface, implementing interface Board 20 1 Implements and extends keywords Board 21 1 An application using an interfaces and uses of interfaces Board 22 1 Differences between abstract classes and interfaces Board 23 1 Inner classes(local and Anonymous and static) Board 24 1 examples Board 25 1 Defining, Creating and Accessing a Package, Types of packages Board 26 1 Understanding CLASSPATH, importing packages Board Total 15

UNIT III

27 1 Dealing with errors and benefits of Exception Handling Board 28 1 Concepts of Exception handling, Exception hierarchy Board 29 1 Types of exceptions, usage of try, catch, throw, throws, finally keywords Board 30 1 Built in Exceptions, Creating own Exception sub classes Board 31 1 Differences between multiple Processes and Multiple threads Board 32 1 Thread life cycle, creating multiple threads by using thread Board

class 33 1 Creating multiple threads by using Runnable interface Board 34 1 Interrupting threads and thread priorities Board 35 1 Synchronization Board 36 1 Inter thread communication Board Total 10

UNIT IV

37 1 Introduction and Overview of Collection framework Board 38 1 Generics Board 39 1 Commonly used Classes- ArrayList, Vector Board 40 1 Hashtable, stack Board 41 1 Enumeration and iterator Board 42 1 String tokenizer Board 43 1 Random, scanner, calendar and properties Board 44 1 Files- streams Board 45 1 Text input/output Board 46 1 binary input/output Board 47 1 Random access file operations, File management using file class Board 48 1 Connecting to database : drivers – 4 types Board 49 1 Connection and querying the database, Updating data with JDBC Board Total 13

UNIT V

50 1 Advantages of GUI over CUI, The AWT class hierarchy Board 51 1 Introduction to swing and Swing VS AWT Board 52 1 Hierarchy for swing components Board 53 1 containers Board 54 1 Jbutton,jtextfield,jtextarea with example Board 55 1 Layout managers(border, grid and flow) Board 56 1 Event handling Board 57 1 Events, sources, classes, listeners Board 58 1 Relationship between event sources and listeners Board 59 1 Delegation Event model Board 60 1 Handling button click Board 61 1 Handling mouse events Board

19 1 Defining an interface, implementing interface Board 20 1 Implements and extends keywords Board 21 1 An application using an interfaces and uses of interfaces Board 22 1 Differences between abstract classes and interfaces Board 23 1 Inner classes(local and Anonymous and static) Board 24 1 examples Board 25 1 Defining, Creating and Accessing a Package, Types of packages Board 26 1 Understanding CLASSPATH, importing packages Board Total 15

UNIT III

27 1 Dealing with errors and benefits of Exception Handling Board 28 1 Concepts of Exception handling, Exception hierarchy Board 29 1 Types of exceptions, usage of try, catch, throw, throws, finally keywords Board 30 1 Built in Exceptions, Creating own Exception sub classes Board 31 1 Differences between multiple Processes and Multiple threads Board 32 1 Thread life cycle, creating multiple threads by using thread class Board 33 1 Creating multiple threads by using Runnable interface Board 34 1 Interrupting threads and thread priorities Board 35 1 Synchronization Board 36 1 Inter thread communication Board Total 10

UNIT IV

37 1 Introduction and Overview of Collection framework Board 38 1 Generics Board 39 1 Commonly used Classes- ArrayList, Vector Board 40 1 Hashtable, stack Board 41 1 Enumeration and iterator Board 42 1 String tokenizer Board 43 1 Random, scanner, calendar and properties Board 44 1 Files- streams Board 45 1 Text input/output Board 46 1 binary input/output Board

47 1 Random access file operations, File management using file class Board 48 1 Connecting to database : drivers – 4 types Board 49 1 Connection and querying the database, Updating data with JDBC Board Total 13

UNIT V

50 1 Advantages of GUI over CUI, The AWT class hierarchy Board 51 1 Introduction to swing and Swing VS AWT Board 52 1 Hierarchy for swing components Board 53 1 containers Board 54 1 Jbutton,jtextfield,jtextarea with example Board 55 1 Layout managers(border, grid and flow) Board 56 1 Event handling Board 57 1 Events, sources, classes, listeners Board 58 1 Relationship between event sources and listeners Board 59 1 Delegation Event model Board 60 1 Handling button click Board 61 1 Handling mouse events Board 62 1 Concepts of Applets, differences between applets and, Applications Board 63 1 Life cycle of an applet Board 64 1 Types of applets, creating applets, passing parameters to applets Board 65 1 Applet security Board Total 16

Section C

SNO LECTURE

NO

TOPIC NAME Methodology OHP/Board/LCD

UNIT I

1 1 Introduction to subject: Objectives , Outcomes Board 2 1 Object Oriented Programming Concepts. Board 3 1 Procudural and Object Oriented Paradigms Board 4 1 History of JAVA Board 5 1 Data Types, Variables ,constants ,Scope and lifetime of variables Board

32 1 Thread life cycle, creating multiple threads by using thread class Board 33 1 Creating multiple threads by using Runnable interface Board 34 1 Interrupting threads and thread priorities Board 35 1 Synchronization Board 36 1 Inter thread communication Board Total 10

UNIT IV

37 1 Introduction and Overview of Collection framework Board 38 1 Generics Board 39 1 Commonly used Classes- ArrayList, Vector Board 40 1 Hashtable, stack Board 41 1 Enumeration and iterator Board 42 1 String tokenizer Board 43 1 Random, scanner, calendar and properties Board 44 1 Files- streams Board 45 1 Text input/output Board 46 1 binary input/output Board 47 1 Random access file operations, File management using file class Board 48 1 Connecting to database : drivers – 4 types Board 49 1 Connection and querying the database, Updating data with JDBC Board Total 13

UNIT V

50 1 Advantages of GUI over CUI, The AWT class hierarchy Board 51 1 Introduction to swing and Swing VS AWT Board 52 1 Hierarchy for swing components Board 53 1 containers Board 54 1 Jbutton,jtextfield,jtextarea with example Board 55 1 Layout managers(border, grid and flow) Board 56 1 Event handling Board 57 1 Events, sources, classes, listeners Board 58 1 Relationship between event sources and listeners Board 59 1 Delegation Event model Board 60 1 Handling button click Board 61 1 Handling mouse events Board

62 1 Concepts of Applets, differences between applets and, Applications Board 63 1 Life cycle of an applet Board 64 1 Types of applets, creating applets, passing parameters to applets Board 65 1 Applet security Board Total 16 SNO LECTURE NO TOPIC NAME Methodology OHP/Board/LCD

UNIT I

1 1 Introduction to subject: Objectives , Outcomes Board 2 1 Object Oriented Programming Concepts. Board 3 1 Procudural and Object Oriented Paradigms Board 4 1 History of JAVA Board 5 1 Data Types, Variables ,constants ,Scope and lifetime of variables Board 4 1 Creating a simple java program, compiling and running, Board 5 1 Operators, expressions,Type conversion and casting Board 6 1 Control Statements Board 7 1 Arrays, console input and output Board 8 1 classes and objects, Concepts of classes, constructors and methods Board 9 1 Access control, this keyword, garbage collection Board 10 1 Overloading methods and constructors Board 11 1 Recursion, String handling Board Total 13 Board

UNIT II

12 1 Inheritance definition, single inheritance, benefits of inheritance Board 13 1 Super classes and subclass Member access rules Board 14 1 Preventing inheritance:final class and methods Board 15 1 Base class object and its methods Board 16 1 Polymorphism: dynamic Binding Board 17 1 Method overriding Board 18 1 Abstract classes and methods Board 19 1 Defining an interface, implementing interface Board 20 1 Implements and extends keywords Board