0% found this document useful (0 votes)
14 views

OOPJ_R23_II-I_MicroSylllabusFinalModelPaper

Model paper of java

Uploaded by

ksrilakshmia8
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

OOPJ_R23_II-I_MicroSylllabusFinalModelPaper

Model paper of java

Uploaded by

ksrilakshmia8
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

VASIREDDY VENKATADRI INSTITUTE OF

TECHNOLOGYNAMBUR-522508.

YEAR: II B. Tech SEMESTER: I


COURSE NAME: OBJECT ORIENTED PROGRAMMING THROUGH JAVA
COURSE CODE:
BRANCH: CSE, IT and Allied Branches
PREREQUISITE: Knowledge of C programming language
COURSE OBJECTIVE:
 Identify Java language components and how they work together in
applications
 Learn the fundamentals of object-oriented programming in Java, including
defining classes, invoking methods, and using class libraries.
 Learn how to extend Java classes with inheritance and dynamic binding
and how to use exception handling in Java applications
 Understand how to design applications with threads in Java
 Understand how to use Java APIs for program development

COURSE OUTCOMES: Students will be able to:
Cognitive
Levels as
S.N Weightag
OUTCOME per
o e (%)
Bloom’s
Taxonomy
Explore the fundamentals of Java concepts L1, L2, L3,
CO1 20
L4
List Object oriented concepts through Java L1, L2, L3,
CO2 20
L4
Implement Inheritance and Java libraries L1, L2, L3,
CO3 20
L4
Demonstrate Java Exceptions, threads, and I/O Streams L1, L2, L3,
CO4 20
L4
Explore Java 8 features and Java FX library L1, L2, L3,
CO5 20
L4

WEIGHTAGE OF BLOOM’S LEGENDS & PERCENTAGE OF QUESTIONS IN


EXAMINATIONS:
L1 (Remembering) = 30- 40%, L2 (Understanding) = 30 - 40%,
L3 (Applying) = 10-20 %, L4 (Analysing) = 10 - 20%,
Easy (%) = 15%-20%, Average (%)= 60% - 70%, Difficult (%)= 15% - 20%
TOTAL = L1 + L2 + L3 + L4 = 100% (on an average about 2 minutes per mark)
Note: This specification weightage in above shall be treated as a general
guideline for students, teachers, and paper setters. The actual distribution of
marks in the question paper may vary slightly.
DETAILED SYLLABUS:
Object Oriented Programming: Basic concepts, Principles,
Program Structure in Java: Introduction, Writing Simple Java Programs, Elements
or Tokens in Java Programs, Java Statements, Command Line Arguments, User
Input to Programs, Escape Sequences Comments, Programming Style.
Data Types, Variables, and Operators : Introduction, Data Types in Java,
Declaration of Variables, Data Types, Type Casting, Scope of Variable Identifier,
Literal Constants, Symbolic Constants, Formatted Output with printf() Method,
Static Variables and Methods, Attribute Final, Introduction to Operators,
Precedence and Associativity of Operators, Assignment Operator ( = ), Basic
Arithmetic Operators, Increment (++) and Decrement (- -) Operators, Ternary
Operator, Relational Operators, Boolean Logical Operators, Bitwise Logical
Operators.
Control Statements: Introduction, if Expression, Nested if Expressions, if–else
Expressions, Switch Statement, Iteration Statements, while Expression, do–while
Loop, for Loop, Nested for Loop, For–Each for Loop, Break Statement, Continue
Statement.
UNIT II
Classes and Objects: Introduction, Class Declaration and Modifiers, Class
Members, Declaration of Class Objects, Assigning One Object to Another, Access
Control for Class Members, Accessing Private Members of Class, Constructor
Methods for Class, Overloaded Constructor Methods, Nested Classes, Passing
Arguments by Value and by Reference, Keyword this.
Methods: Introduction, Defining Methods, Overloaded Methods, Overloaded
Constructor Methods, Class Objects as Parameters in Methods, Access Control,
Recursive Methods, Nesting of Methods, Static keyword.
Arrays: Introduction, Declaration and Initialization of Arrays, Storage of Array in
Computer Memory, Accessing Elements of Arrays, Operations on Array
Elements, Assigning Array to Another Array, Dynamic Change of Array Size,
Sorting of Arrays, Search for Values in Arrays, Class Arrays, Two-dimensional
Arrays, Arrays of Varying Lengths, Three-dimensional Arrays, Arrays as Vectors.
String Handling in Java: Introduction, Interface Char Sequence, Class String,
Methods for Extracting Characters from Strings, Comparison, Modifying,
Searching; Class String Buffer.
UNIT III
Inheritance: Introduction, Process of Inheritance, Types of Inheritances,
Universal Super Class-Object Class, Inhibiting Inheritance of Class Using Final,
Access Control and Inheritance, Multilevel Inheritance, Application of Keyword
Super, Constructor Method and Inheritance, Method Overriding, Dynamic
Method Dispatch, Abstract Classes, Interfaces and Inheritance, Final Class,
Methods and attributes.
Interfaces: Introduction, Declaration of Interface, Implementation of Interface,
Multiple Interfaces, Nested Interfaces, Inheritance of Interfaces, Default Methods
in Interfaces, Static Methods in Interface, Functional Interfaces, Annotations.
Packages and Java Library: Introduction, Defining Package, Importing Packages
and Classes into Programs, Path and Class Path, Access Control, Packages in
Java SE, Java.lang Package and its Classes, Class Object, Enumeration, class
Math, Wrapper Classes, Auto-boxing and Auto-unboxing, Java util Classes and
Interfaces, Formatter Class, Random Class, Time Package, Class Instant
(java.time.Instant), Formatting for Date/Time in Java, Temporal Adjusters Class,
Temporal Adjusters Class.

UNIT IV
Exception Handling: Introduction, Hierarchy of Standard Exception Classes,
Keywords throws and throw, try, catch, and finally Blocks, Multiple Catch
Clauses, Class Throwable, Unchecked Exceptions, Checked Exceptions.
Java I/O and File: Java I/O API, standard I/O streams, types, Byte streams,
Character streams, Scanner class, Files in Java, Serialization (Text Book 2)
Multithreaded Programming: Introduction, Need for Multiple Threads
Multithreaded Programming for Multi-core Processor, Thread Class, Main Thread-
Creation of New Threads, Thread States, Thread Priority-Synchronization,
Deadlock and Race Situations, Inter-thread Communication - Suspending,
Resuming, and Stopping of Threads.
UNIT V
Java 8 features: Lambda Expressions, functional Interfaces, Default Methods,
Date and Time API.
Java FX GUI: Java FX Scene Builder, Java FX App Window Structure, displaying
text and image, event handling, laying out nodes in scene graph, mouse events
(Text Book 3)
Text Books:
1) The complete Reference Java, 11th edition, Herbert Schildt, TMH
2) JAVA one step ahead, Anitha Seth, B.L.Juneja, Oxford.
3) Joy with JAVA, Fundamentals of Object-Oriented Programming, Debasis
Samanta, Monalisa Sarma, Cambridge, 2023.
4) JAVA 9 for Programmers, Paul Deitel, Harvey Deitel, 4th Edition, Pearson.
References Books:
1) JAVA 9 for Programmers, Paul Deitel, Harvey Deitel, 4th Edition, Pearson.
2) Introduction to Java programming, 7th Edition, Y Daniel Liang, Pearson
Online Resources:
1) https://nptel.ac.in/courses/106/105/106105191/
2)https://infyspringboard.onwingspan.com/web/en/app/toc/
lex_auth_012880464547618816347_shared/overview

MICRO-SYLLABUS:
Unit Module Micro content
Java program structure, features and history
Introduction to Java
Java Command Line Arguments
Datatypes
1 Operators
Basic concepts of Java Control statements – conditional statements
Looping statements
Break and continue
Unit Module Micro content
Objects
Classes – Constructors, Encapsulation
OOPS Concepts part-I Java methods
Method overloading
Static, this, final and access modifiers
2
Introduction arrays in Java, 1-Dimensional arrays
2-D arrays – declaring, reading & printing
Arrays & Strings Java Strings introduction- String methods
StringBuffer methods
Strings & arrays examples
Unit Module Micro content
Inheritance – types of inheritance, examples
Method overriding – Run time polymorphism
OOPS Concepts part-II Abstraction through Abstract classes
Abstraction through interfaces
Multiple inheritance with classes and interface
3 Introduction to packages
Writing user-defined packages
Exploring Packages Access control
Exploring built-in packages java.lang
java.util
Unit Module Micro content
Exception, Exception handling keywords
Types of Exceptions
Handling checked and unchecked exceptions
Exception Handling & IO
More about try, catch, throw, throws and finally
keywords
Working with User-defined exceptions
4
Thread, Multiprocessing vs Multithreading
Java thread creation – Thread class, Runnable interface
Exploring isAlive, join, setPriority, and getPriority
Multithreading
Exploring setName,getName,isDaemon and setDaemon
Thread synchronization – Mutual Exclusive
Thread synchronization – Inter Thread Communication
Unit Module Micro content
5 Lambda Expressions
Functional interfaces
Java8 features
Static and default methods in interfaces
Date & Time API
JavaFX GUI Introduction to JavaFX, configuring javafx
Working with javafx UI Controls
Working with javafx various shapes
Rapid Application Development with SceneBuilder

*****

R23
Code No:
II B. TECH I SEMESTER REGULAR EXAMINATIONS, DEC-2024
OBJECT ORIENTED PROGRAMMING THROUGH JAVA
(COMMON TO CSE, IT & ALLIED BRANCHES)
Time: 3 Hours Max. Marks:
70
_________________________________________________________________________________
Note: 1. The question paper consists of two parts (Part-A and Part-B)
2. All the questions in Part-A are Compulsory
3. Answer ONE Question from Each Unit in Part-B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PART – A (20 Marks)
CO BL
1. a [2M
Define JDK, JRE and JVM. 1 L1
) ]
b [2M
Explain for-each in Java. 1 L1
) ]
c) [2M
Write about encapsulation. 2 L1
]
d [2M
List Java Access specifiers. 2 L1
) ]
e Method parameter passing techniques of Java. [2M
3 L1
) ]
Write about Java Multiple inheritance. [2M
f) 3 L1
]
g Checked vs Unchecked exceptions of Java. [2M
4 L1
) ]
h Thread Life Cycle. [2M
4 L1
) ]
i) Functional interface in Java. [2M
5 L1
]
j) JavaFx application structure. [2M
5 L1
]

PART – B (50 Marks)


UNIT-I CO BL
2. a Write and explain the Java program structure with
) a suitable example and, also discuss [5M] 1 L2
the compilation and execution steps
b Explain Java arithmetic and bitwise operators with
examples. [5M] 1 L2
)
(OR)
3. a Write a Java program to perform a binary search.
[5M] 1 L3
) Use command line arguments to accept input.
b List and explain Java primitive data types and, also
) write a program to display default values of all [5M] 1 L2
primitive data types.
UNIT-II
4. a Explain object-oriented programming concepts in
[5M] 2 L1
) detail.
b Write a Java application that proves compile time
[5M] 2 L3
) polymorphism
(OR)
5. a Discuss types of variables in Java with suitable
[5M] 2 L2
) examples (hint: local, instance and class).
b Define constructor. Discuss types of constructors in
[5M] 2 L2
) Java with examples.
UNIT-III
6. a What is an inheritance? What are the various forms
) of inheritance? Write a Java program to [5M] 3 L2
demonstrate multilevel inheritance.
b Discuss the following Java keywords
[5M] 3 L1
) i)this ii)final iii)super
(OR)
7. a Define an interface. Discuss how abstraction can be
achieved in java through interfaces [5M] 3 L2
)
b Define the package and its advantages. Discuss any
2 built-in packages [5M] 3 L1
)
UNIT-IV
8. a Discuss keyword try, catch, throw, throws, and [5M] 4 L2
) finally with a suitable example
b Write a Java program to demonstrate object [5M]
4 L4
) serialization
(OR)
9. a Define a thread. Explain how threads can be
[5M] 4 L2
) created using the Runnable interface
b Develop a Java program for Inter Thread
[5M] 4 L4
) Communication.
UNIT-V
10 a Explain Lambda expression. Write how Lambda [5M]
5 L2
. ) expressions are used in functional interfaces
b Write about Java default methods and static [5M]
5 L2
) methods in interfaces
(OR)
11 a Write a JavaFX program to work with various UI
[5M] 5 L3
. ) controls.
b Explain event handling in JavaFX. Write a JavaFX
[5M] 5 L3
) program to handle key events

*****

THE ABOVE MODEL PAPER ATTAINMENTS OF BLOOM’S TAXONOMY AS FOLLOWS

L1: 35 Marks

L2: 55 Marks

L3: 20 Marks

L4: 10 Marks

SIGNATURES OF
COURSE COORDINATER MODULE COORDINATER HOD

You might also like