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

java 5 sets

java pdf

Uploaded by

sazadsk99
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
0% found this document useful (0 votes)
14 views

java 5 sets

java pdf

Uploaded by

sazadsk99
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
You are on page 1/ 10
LB. Th. LB. ILA, MLB. IV.A, VB. VAL VB. y 2) 1) 2 Dv 2 yd) 2 » y 2) ) ) 2 yy SET-1 H.T.No.: usnadh RAMA COLLEGE OF ENGINEERING AND TECHNOLOGY (An Autonomous Institute with Permanent Affiliation to JNTUK, Kakinada) ILB. Tech II Semester Regular Examinations, July-2021 Java Programming URI9PCCS401, URI9PCIT401 (Common to CSE & IT branches) Time: 3 hours Max. Marks: 5x14=70 Answer either A or B from each Question All Questions carries equal marks (B12) plain in detail the Principles of Object Oriented Programming and its 14M Applications OR Explain the role of JVM in Java. TMBL2) What are different primitive data types in Java? Give their sizes in bits TM|(BL2) Define a class. What is the general form of a class? How objects are declared? TMIBLI) Discuss the importance of constructor? Write a java program to perform constructor | 7MI(BL2)| overloading. OR Differentiate call-by-value and call-by-reference with example. MBL) ‘What is method overloading explain with example? TM|(BL2) Discuss declaration, allocation and accessing array elements in java with 7Mi(BL2) example Discuss about Array class and its methods, TBI) OR What is method overriding? Illustrate the concepts of method overriding i4MBL3) How to create packages and use them in java? TMBLO) Explain the different types of controls in AWT TM(BL2) OR What is an exception? Explain exception handling in java with examples. 14MiB12) Explain String class and its methods with an example, TM[(BL2) Write and explain the string buffer class ™MBI2) OR Briefly explain about Thread Life Cycle 14M(BL2) SCHEME OF VALUATION (URI9PCCS401, URI9PCIT401 SET- QNo. Description Marks TAs) [Lit of OOPS concepts 10M --1) F Applications of OOPS 4M 1A2) pay [2VS definition and importance of TVMI 3M 'B-D) TivM architecture aM List of Primitive data types with their sizes 7™M 1B.) THA.p ESS Setniton and example 3M Nt [Object definition and example. 4M. THA.2) | Sonsttuctor definition and types oF constuctors aM -A-2) Fexample program 3M Tp.1) [Dilference between call by value and call by reference 4M B-D | Example program 3M Method overloading definition 3M 1B2) Fiexample program 4M TILA) | Atty definition, decoration and types aM -A-D TExample program 3M THLA.2y | Atay class and its methods Tit 3M -A-2) | Explain any 4 methods of Array class aM. TILB.1) [Method overriding definition and diagram 10M -B-1) | Example program 4M H1LB.2) Keywords package and import aM IV.A.1) [Example program 3M FA gy Wrapper classes list 3M 1V-A-2) T Any 4 wrapper class explanation 4M. Exception definition and its types 3M 1V-B-1) FE xample program oM 1V.B.2) VA.) | Sting class constructors and ts methods List aM “AD [Any 5 Methods explanation 10M V.B.1) | Thread definition and life cycle diagram 6M Thread states explanation 3M SET-2 LB. ILA. ILB. LA, LB. IVA, VB. 1 » » » 2) » » 2) y 2 » 2) VB. ) (An Autonomous Institute with Permanent Affiliation to INTUK, Kakinada) ILB. Tech I Semester Regular Examinations, July-2021 Java Programming URI9PCCS401, URI9PCIT401 (Common to CSE & IT branches) Time: 3 hours Max. Marks: 5x14=70 Answer either A or B from each Question.All Questions carries equal marks (B12) ist and explain Java buzzwords, T List Jump statements? Give an example for each of them. 7 MBL? OR, Explain the Control Statements in detail TaMBL2) Explain garbage collection in Java and role of finalize) and ge methods? TMBI2) Create a class called Circle that indude radius as instance variable and Circle_Area()as__ [7 Ml (BL method to calculate area of circle. Create another class called Result. This class includes 6) main{) method. Create two Circle objects here. Initialize Circle objects through constructors. Display the area of two circles. OR. Explain the use of ‘this’ keyword with an example. 7™MBL2) Develop a program that shows an Employee class which contains various methods _ | 7MI(BL6) for accessing employee's personal information and methods for paying an employee. What is meant by Inheritance and why it is important in Object Oriented )14M(BL2) Programming? Explain different types of inheritance supported in JAVA OR, Give a detail note on interfaces in Java, TMBI2) Discuss about the keyword final 7TM(BL2) Explain Auto boxing and Unboxing with example. 7™M(BL2) Describe Applet Life Cycle TM[(BL2)| ‘OR Briefly explain User Defined Exception with example T™M(BL2) Demonstrate the finally statement. TMi(BL2)| Explain ResultSet and ResultSetMetaData TM|(BL2)] Develop a JDBC Program to retrieve data from database. 7™M(BL6) OR, What is JDBC? Explain the role & responsibility of JDBC API 14M(BL2) SCHEME OF VALUATION (UR19PCCS401, URI9PCIT401 SET-2) Q.No. Description Marks Java Buzz words list 4M LAD [any 5 buzzwords explanation 10M 1.4.2) pay | Sonttol Statement definition and List aM [Example programs with different control statements 10M 1.B.2) Tag Lobes definition and example aM -A-D Constructors with example program 10M TLA.2) Tiep.ty [lmportance ofthis keyword 4M Example program’ 3M TLB2) | Explovee class program 7M TILA. [2beitance definition and types 4M ah" [Explanation with example program 10M M11.A.2) Tip.) [erase definition and implementation eM | Uhh’ [Different interface examples 3M 1.B.2) 1.A.d [Attoboxing and Unboxing definition 4M Example program 3M TV.A.) | AmmayLiist and LinkedList methods 4M Example program. 3M | Assert definition and uses 4M WB.) [Example Program 3M Importance of finally block 4M 1V-B.2) FE xample program 3M StringBuffer class constructors and its methods 4M V-A-1) Fxample program 3M VB.) HDBC definition and architecture 8M ‘B-D [ist of JDBC APT interfaces and classes 6M LA. LB. ILA, TILA. TILB. IVA, VB. VA. VB. a) 2 » 2 » 2) 1) ) 2) » 1) dy » 2) » SET-3 ustiadh RAMA COLLEGE OF ENGINEERING AND TECHNOLOGY (An Autonomous Institute with Permanent Affiliation to JNTUK, Kakinada) ILB. Tech I Semester Regular Examinations, July-2021 Java Programming URI9PCCS401, URI9PCIT401 (Common to CSE & IT branches) Time: 3 hours Max. Marks: 5x14=70 Answer either A or B from each Question All Questions carries equal marks Differentiate between Procedural Programming vs. Object Oriented Programming | 7M|(BL4) Flow to implement precedence rules and associativity in java Tanguage? Givean | 7M|(BL2)| example. OR How to use break and continue statement in Java? T™MBI2) Develop a Java Program to check whether the Number is ArmStrong or Not TM(BL6) Write an example program to show the calling sequence of constructors 7MBL2) Write a Java program to ilustrate the use of static keyword. 7™M(BL2) ‘OR Define class and object 14M(BL2) Design a class that represents a bank account and construct the methods to §) Assign initial values i) Deposit an amount iii) Withdraw amount after checking balance Tilustrate the use of super keyword with suitable example. 7M(BL3) ‘Can you identify and explain the differences between interfaces and Abstract classes | 7M|(BL4) in Java? OR How two dimensional arrays are created in Java? Write a Java program for Matrix ]I4Mi(BL2) Multiplication. What is Event Delegation Model? Develop Java Program (o implement ItemListener [I4M[BL2)] OR ‘What is Event Handling? Develop a Java Program to implement ActionListener _[14M|(BL6) ‘What is multithreading? Mention the difference between process and thread. 7MBL2) Write a program to implement multithread programming in java. T™M(BI2) OR What is JDBC? Deseribe the steps need to execute a SQL query using IDBC i4M(B12) SCHEME OF VALUATION (URI9PCCS401, URI9PCIT401 SET-3) Q.No. Description Marks Difference between POP and OOP 7™M LAA) TA.2) | Precedence and associativity definetion aM Example Program 3M Tuna [Break.and continue definition aM [Example program 3M “Ammstrong Number Program 7™ 1.8.2) TA) | Constructor definition 2M -A-D [Constructor Program 5M 3 uses of static keyword 2M TLA.2) Example program 5M Tp.) [lass and Object definetion aM BD | Example program 10M B2) TA |S ot per Reyword 2M -A-D [Example program 3M TILA.2) [Dillerence between interface and abstract class 7™ Tp. | Le dimensional anay definition and declaration aM -D | Matrix multiplication program 10M 1118.2) Importance of collection framework aM 1V-A-1 [Tist of collection interfaces 10M 1V.A.2) 1 Baty | Maead definition 2M “B-1) (Thread state diagram and explanation 12M 1V.B.2) V Ag [itead and Multithreading definition aM -A-D [pifferent ways of implement multithreading 10M Vp DBC definition and uses 4M B-D TSteps to work with JDBC program 10M » LB. ILA. ILB. HLA. ULB. IVA, IV. yy 2) yy 2) a) 2) ay 2) » 2) » y SET4 usta nasa COLLEGE oF ENGINEERING AND TECHNOLOGY (An Autonomous Institute with Permanent Affiliation to JNTUK, Kakinada) ILB. Tech I Semester Regular Examinations, July-2021 Java Programming URI9PCCS401, URI9PCIT401 (Common to CSE & IT branches) Time: 3 hours Max. Marks: 5x14=70 Answer either A or B from each Question.All Questions carries equal marks (B12) Explain Command Line arguments with example. Discuss about Data Type Conversion in Java. TMI(BL2) OR Explain Bitwise Operators in Java with example. TM[(BL2) Develop a Java Program to find the factorial of a number. 7MI(BL6) What are class methods? How they are different from instance methods? TMBL4) How do you achieve call by reference in Java? TM|(BL5) OR Demonstrate Nested dass concept with an example. TM[BL2) Write a program to input any three numbers from the console & find out the 7MI(BL2) maximum number. Explain different types of inheritance in java. TM(BI2) Explain dynamic binding in java with suitable example, TM|(BL3) OR Develop a Java Program to search an clement using Binary Search. TMBLO) Explain the concept of Jagged Arrays in Java, 7M|BL2) Why do you think exception handling is useful in Java? Explain briefly? 14M[B12) OR What is a package? How to create package and sub packages? Explain with suitable I4MI(BL6) example. Explain about Thread Synchronization in Java, 14M(BL2) OR What is a JDBC driver? Explain each with a simple architecture 14MB12) SCHEME OF VALUATION (URI9PCCS401, URI9PCIT401 SET-4) Q.No. Description Marks Command line arguments 2M LAD [Example program TA.2) | Data Type conversion definition Example Program : : 3 Tapa [Bitwise Operators List M Example program aM TB.) | Factorial Program 7™ ThA. | SBS Method detiaition 3M “D [Difference between class method and instance method aM Tad Hall by reference definition 2M -A-2) Texample program to implement call by reference using object 5M | 1.B.1) ‘Creating an object 2M B-D [Constructor with example program 12M 11.82) stance defini inna. [abettance definition 2M 3 types of inheritance and example 5M THLA.2) PBelvmorphism definition and dynamie bindin aM -A-2) Example Program 3M pay [Bay Search Program ™ Tagged Any Defintion and declaration aM H1-B2) | Example Program 3M Exception definition and types 3M IV.A.1) Fxample Program 6M IV.A.2) .p. [Package and import keyword uses 3M -D Fisxample Program oM 1V.B.2) Thread Synchronization definition =u V-A-D T Example Program 6M Vp DBC diver definition 4M. “BD [4 types JDBC Drivers 10M SETS usd nasa COLLEGE oF ENGINEERING AND TECHNOLOGY (An Autonomous Institute with Permanent Affiliation to JNTUK, Kakinada) ILB. Tech I Semester Regular Examinations, July-2021 Java Programming URI9PCCS401, URI9PCIT401 (Common to CSE & IT branches) Time: 3 hours Max. Marks: 5x14=70 Answer either A or B from each Question All Questions carries equal marks LA. 1) [ Give a brief note on operators in java, T™MBI2) 2) [Describe the meaning of each of the Keyword in “public static void main™ TM|(BL2 OR) LB. 1) [ How garbage collector plays its role? Explain, 7MI(BL2) 2) | Develop a Java Program that inputs an number from the command line and find the | 7MI(BL6) sum of the digits of a number. ILA. 1) [ How to share the data among the functions with the help of static keyword? Give I4MI(BL2) example. OR ILB. 1) [ What is a Constructor? What is the main purpose of Constructors? How to TaM(BL2)] invoke a constructor in JAVA? TILA. 1) [ What is inheritance? Explain in detail inheritance in java with examples i4M(BL2) OR ULB. 1) [ What is an Interface? Give the general form of an Interface and also discuss the 14M(BL3)| Implementation details of Interfaces. 1V.A. 1) [ What are different ways to use import statement in Java? TMBL4) 2) [Discuss Math class and its methods. TM(BL2) OR IV.B. 1) [ What is the importance of Exception Handling in Java? Define and distinguish T™MBL2) between checked and unchecked exceptions. 2) | Why to use finally block in java exception handling? TM(BI2) V.A. 1) [ What is IDBC? Develop a JDBC program fo implement the Following: T4MBL) 1. Create a table 2. Insert a record 3._Delete a record. OR V.B. 1) [ What is PreparedStatement? Write a Java Program to update a record using 14M(BL3] PreparedStatement. SCHEME OF VALUATION (URI9PCCS401, URI9PCIT401 S QNo. Description Marks LA.) [pastor definition 2M -A-D | List and description of different operators 5M Ta) | Structure of Java Program 7™ Garbage collector definition 2M 1.B.1) [Tmportance of GCO, finaliazeO) 3M TB.) | Java Program with command line program 7™. Trap [About Satie Keyword and is wes oM -A-D TExample program 3M 1A.) op. [-Constzuctor definition, is purpose and types of constructor 3M -B-1) [Example program 6M 11.82) Tira [abetanes deiniion, asx and pes 3M Example program 6M TA.) Tnterface definition , implements Keyword , different implementations TOM U1LB.1) Example Program 4M 11LB.2) Package definition, uses of import 3M IV.A.1) [Example program 4M WA) PM sls and is methods 7™M Tv pay [Exception definition, problem with exception and importance exception handling aM “B.D I Difference between checked and unchecked exception 3M Importance of Finally block 3M TV.B.2) [Different ways of using finally block 4M Vast [Consumer producer problem, synchronization 3M “AD [Example Program 6M PreparedStatement and its mehods 6M Table in MySql, Example Program 3M

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy