Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
24 views
3 pages
OOT
KTU 2019 Scheme OOT question paper
Uploaded by
as2001win
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save OOT For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
24 views
3 pages
OOT
KTU 2019 Scheme OOT question paper
Uploaded by
as2001win
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save OOT For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save OOT For Later
You are on page 1
/ 3
Search
Fullscreen
Name: APJ ABDUL KALAM TECHNOLOGICAL, UNIVERSITY Fourth Semester B.Tech Degree Examination June 2022 (2019 scheme) Keg NO. = 4 i 2 & : c £ Abts ae Course Code: 1TT202 + Course Name: PRINCIPLES OF OBJECT ORIENTED TECHNIQUES Max. Marks: 100 Duration: 3 Hours PARTA (Answer all questions; each question carries 3 marks) Marks, Vv Differentiate between Object Oriented Programming and Procedural Oriented (3) Programming 2 Why is the main method in java qualified as public, static, and void? @) 3 What are the ways of argument passing in Java programming? Explain. By 4 What is parameterized constructor? Is it possible to create an object for a class (3) A using, A ob = new AQ); if the class contains only parameterized constructor? Justify. 3 Describe the uses of super keyword in Java. 6) v Discuss about the three access specifiers using in Java, @) Ll Explain the scenario under which the following three exceptions occur, 3) ArrayIndexOutOfBoundsException, ArithmeticException, and InterruptedException 8 What are thread priorities? How do you assign and obtain priority values of . threads in Java? 2 What are the advantages of Swing? @) 10/ Explain the various methods in the Applet Skeleton. @) / PART B (Answer one full question from each module, each question carries 14 marks) Module 1 Uy mM 4) Explain any six characteristics of Object-Oriented Programming ©) b) IMlustrate with an example how encapsulation feature is implemented ina java (5) / program? dk 4) Describe the control statem@nts in Java with syntax ” ) bY Create 4 class ‘Distance’ with data members feet and inches, It contains a zero Page 1 of 313 a) by ws b) 15 a) b) 16- a) b) 020001TT202052106 parameter constructor and a two-parameter constructor, It also contains three finctions: setDistance(), showDistance() and convertDistance(). The convertDistance() function converts the distance in fect and inches to centimetres, Write the Java program to implement the scenario, Use this keyword in the constructors. [1 foot = 12 inches, 1 inch = 2.54 ems] Module-2. -\”’ Define a class Stack for representing a stack data structure, The class must define a default constructor, a parameterized constructor and functions for push, pop and display operations. Write a Java program to implement the stack What is meant by Nested class? Write a java program in which a nested class is defined within the body of a for loop. What is the scope of the above nested class? Write a Java program to calculate the volume of different shapes namely cylinder, cube and rectangular prism using the concept of Method Overloading. How do we create a class member which can be accessed without creating any objects of the class? Explain with example. Modute-3 ~~ Illustrate with an example, how a class in Java can be prevented from getting overridden and inherited? Develop a java package named PrimePackage, with a class Prime containing a static method to check whether a number is a prime or not and retums that information. Import this package in another class and use to check a number is prime or not. Compare and contrast the usage of abstract class and interface in Java, Give examples of each, Consider a scenario where there are two classes: *BaseClass’ and “DerivedClass’, . such that ‘DerivedClass’ is inherited from “BaseClass’, Both class contains one instance variable and a funetion ‘public void show()’ for displaying the values of the variables, Explain Method Overriding by implementing the scenario and state why this scenario is known as run time polymorphism? Page 2 of 3 Mm mM (8) (6) 6) @)[heen Wk chats Cine ie yo 4 1020001TT 202052106 Gaye us um 4 Z Module-4 *" 1 17g)“ How can we handle multiple exceptions tnised by a single piece of cole? (8) xplain with example. 6 Write a Java program to display all the positive integers fess than or equal to (9) 100 which are divisible by 2 and 3, by creating two threads. Create first thread for displaying the positive integers divisible by two, using Runnable interface. Create second thread for displaying the positive integers divisible by three, using Thread class, Ensure that the main thread finishes as the fast thread using : join() function. 18 a) Illustrate and explain the two ways of synchronizing your code in Java. (8) b) Create a user defined Exception ‘InvalidinputException’. Write a Java program (6) to find the average of the 5 integers given as Command Line Arguments. Raise the Exception InvalidinputException’ on reading invalid number of inputs. [ie no: of inputs #5] Modules - '\1 19 a) Write an Applet program to read two strings and display the concatenated (8) string, using event handling mechanism. b) List and explain any four AWT controls © 20 .a) List any four event sources and their corresponding event types and listeners (6) y) oa UML Class Diagram. Represent the following class diagram as a java (8) class. aa rtlon § ae ak a pane sea ie volt sol slow 0 enor Page 3 of 3
You might also like
Topic: Evolution of Java, Java Architecture, Language Basics, Flow Control
PDF
40% (5)
Topic: Evolution of Java, Java Architecture, Language Basics, Flow Control
15 pages
CE219.01 Practical List
PDF
No ratings yet
CE219.01 Practical List
5 pages
3 Sem CE251 Prac List 21 22
PDF
No ratings yet
3 Sem CE251 Prac List 21 22
6 pages
Question Paper Code: 20645: Reg. No. 9 5 1 7
PDF
No ratings yet
Question Paper Code: 20645: Reg. No. 9 5 1 7
6 pages
Question Bank - MTE
PDF
No ratings yet
Question Bank - MTE
3 pages
Oop (Java) Unit-2 Question Bank
PDF
No ratings yet
Oop (Java) Unit-2 Question Bank
3 pages
Java3 1
PDF
No ratings yet
Java3 1
13 pages
Module For CSE & EEE
PDF
No ratings yet
Module For CSE & EEE
51 pages
JAVA Lab Practices
PDF
No ratings yet
JAVA Lab Practices
7 pages
Examples 1
PDF
No ratings yet
Examples 1
5 pages
Java Consolidated
PDF
No ratings yet
Java Consolidated
3 pages
OOP Final 2
PDF
No ratings yet
OOP Final 2
8 pages
CJP Question Bank
PDF
No ratings yet
CJP Question Bank
11 pages
Java Lab 2025 - B.tech-4th Semester - Upto Array
PDF
No ratings yet
Java Lab 2025 - B.tech-4th Semester - Upto Array
5 pages
Vardhaman College of Engineering: Four Year B. Tech III Semester Tutorial Question Bank 2013 - 14
PDF
No ratings yet
Vardhaman College of Engineering: Four Year B. Tech III Semester Tutorial Question Bank 2013 - 14
5 pages
SET5 Notes
PDF
No ratings yet
SET5 Notes
3 pages
OOP Assignment Questions-AIML 16.7.24
PDF
No ratings yet
OOP Assignment Questions-AIML 16.7.24
5 pages
Index Java
PDF
No ratings yet
Index Java
3 pages
Set4 Notes
PDF
No ratings yet
Set4 Notes
3 pages
Java EE694c
PDF
100% (1)
Java EE694c
8 pages
Oops Lab Syllabus
PDF
No ratings yet
Oops Lab Syllabus
4 pages
Solution For Java Sample MID - 1
PDF
No ratings yet
Solution For Java Sample MID - 1
7 pages
Dse2153 Oop QP (D3)
PDF
No ratings yet
Dse2153 Oop QP (D3)
2 pages
Assignment 1 Individual Assignment: Mohammad Saad Uddin
PDF
No ratings yet
Assignment 1 Individual Assignment: Mohammad Saad Uddin
20 pages
SY Java Journal 2023 24
PDF
No ratings yet
SY Java Journal 2023 24
33 pages
Question Bank Java
PDF
No ratings yet
Question Bank Java
2 pages
2csedssyll 20 24
PDF
No ratings yet
2csedssyll 20 24
5 pages
JAVA Question Bank IA 2
PDF
No ratings yet
JAVA Question Bank IA 2
1 page
OOPSThroughJava Lab Manual
PDF
No ratings yet
OOPSThroughJava Lab Manual
7 pages
DocScanner 22-Jan-2025 9-52 Am
PDF
No ratings yet
DocScanner 22-Jan-2025 9-52 Am
8 pages
Experiment No 4
PDF
No ratings yet
Experiment No 4
2 pages
OOP Skill Plan
PDF
No ratings yet
OOP Skill Plan
21 pages
JAVA Assignment Part A - 20.3 UGC and 20.2 VU
PDF
No ratings yet
JAVA Assignment Part A - 20.3 UGC and 20.2 VU
4 pages
Oop QP
PDF
No ratings yet
Oop QP
7 pages
Question Bank Java A2
PDF
No ratings yet
Question Bank Java A2
2 pages
JavaImpQuestions Set1
PDF
No ratings yet
JavaImpQuestions Set1
5 pages
CSE110 - OOP - Lab Assignment 02 - Student Version
PDF
No ratings yet
CSE110 - OOP - Lab Assignment 02 - Student Version
4 pages
Practice Program (Class and Object)
PDF
No ratings yet
Practice Program (Class and Object)
1 page
Assignment
PDF
No ratings yet
Assignment
6 pages
Object Oriented Programming With Java Feb 2022
PDF
No ratings yet
Object Oriented Programming With Java Feb 2022
2 pages
CSL37 OOP Question Bank 2021
PDF
No ratings yet
CSL37 OOP Question Bank 2021
4 pages
SPE 2207 Advanced Object-Oriented Programming Year II Semester II
PDF
No ratings yet
SPE 2207 Advanced Object-Oriented Programming Year II Semester II
5 pages
Students Practical - Index - AOOP
PDF
No ratings yet
Students Practical - Index - AOOP
2 pages
PWJ RV25
PDF
No ratings yet
PWJ RV25
86 pages
JAVA Previous Question Papers Jntuh r18
PDF
No ratings yet
JAVA Previous Question Papers Jntuh r18
5 pages
Oopj Practical 2
PDF
No ratings yet
Oopj Practical 2
8 pages
CS8392 Object Oriented Programming
PDF
No ratings yet
CS8392 Object Oriented Programming
2 pages
CJ APR-19 (Sol) (E-Next - In)
PDF
No ratings yet
CJ APR-19 (Sol) (E-Next - In)
5 pages
Sample Paper 01
PDF
No ratings yet
Sample Paper 01
9 pages
OOP Final Fall'22
PDF
No ratings yet
OOP Final Fall'22
3 pages
Java Programming
PDF
No ratings yet
Java Programming
13 pages
Dse2153-Oop - QP - (D2)
PDF
No ratings yet
Dse2153-Oop - QP - (D2)
2 pages
Question Paper Code: 18006: Reg. No
PDF
No ratings yet
Question Paper Code: 18006: Reg. No
5 pages
Page 1 of 17
PDF
No ratings yet
Page 1 of 17
17 pages
CS 8392 - Oop - Question Bank
PDF
67% (3)
CS 8392 - Oop - Question Bank
7 pages
Screenshot 2023-12-09 at 6.50.49 AM
PDF
No ratings yet
Screenshot 2023-12-09 at 6.50.49 AM
20 pages
Soen 305
PDF
No ratings yet
Soen 305
3 pages