



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Level Session 1 A Discuss JVM. K B Discuss JRE and JDK K C Compare C and Java K D Compare C++ and Java K E Discuss Bytecode. Also need of Byte code K F What do you mean by platform independent and architecture neutral K G State feature of Java K H State history of Java programming language K I State the applications of Java programming language K J Compare J2SE, J2EE and J2ME. K K Differentiate between “path” and “classpath” K L Differentiate between “javac” and “java” commands. K M Discuss datatype. Enlist all 8 primitive datatypes available in java K N Write a short note on following keywords: i) static ii) abstract iii) final
O Differentiate between “this” and “super” keyword. Give example of both. K P Describe the role of an operator in performing an operation. Enlist all types of operators available in java.
Q Differentiate between “extends” and “implements” keyword. Give example of both. K R Discuss package? How to use a package in a java program?Demonstrate the process of creating a package.
S Discuss array?Give syntax to define an array. Create an array of type char of size 100. K T What do you mean by static import? K
2 A Discuss the concept of Object Oriented programming in detail. K B Design a blueprint of “Student” entity. Blueprint must contain constructors(all types), instance variables(name,roll_no,course,branch,cumulative cgpa,dob), methods(calculateCGPA, showStudentDetail).
C Discuss Encapsulation in detail. Relate it with real world scenario. K D Discuss Inheritance in detail. Relate it with real world scenario. K E Discuss Polymorphism in detail. Relate it with real world scenario. K F Discuss Abstraction in detail. Relate it with real world scenario. K G “Class is a user defined datatype”. Prove that the given statement is true. K H Design a shape interface which contains area and perimeter method. Design Rectangle, Circle, Square classes which implements the shape interface.
I Discuss method overloading? Define a blueprint which demonstrates method overloading. K2,K J Dsicuss method over-ridding? Define a blueprint which demonstrates method over- ridding.
K Define a Vehicle interface with following prototypes: public void ignition() public void clutch() public void gearUp() public void gearDown() public void accelerate() public void applyBrake() Define Car and Bike blueprint implementing Vehicle interface.
L Write down the steps to create a package with appropriate commands to compile and execute.
M Write down a java program to implement linear searching in one dimensional array K N Write down a java program to implement binary searching in one dimensional array K O Write down a java program to implement bubble sorting in one dimensional array K P Write down a java program to create two matrices and find their sum. K Q Write down a java program to create two matrices and find their multiplication. K R Write down a java program to create a matrix and find its transpose. K S Outline the difference between Object oriented and procedural programming. K T Why multiple inheritance is not possible on java? How to implement it in java? K
Level Session 1 A Discuss Exception? K B Discuss Exception handling? K C Discuss multithreading in Java? K D Discuss various ways to acheive multithreading achieved in Java? K E Discuss the advantages of multithreading? K F Discuss Thread in Java? K G Write down the steps to create a thread in Java? K H Explain the life cycle of a thread in Java. K I Explain synchronization in Java multithreading? K J Explain the difference between checked and unchecked exceptions in Java. K K Discuss the purpose of the try-catch block in Java exception handling? K L Discuss the purpose of the finally block in Java exception handling? K M Explain the difference between the throw and throws keywords in Java. K N Write down the steps to define custom exceptions in Java? K O What is the default priority of a thread in Java? K P Discuss the procedure to set the priority of a thread in Java? K Q State the primary classes used for handling input and output operations in Java? K R Explain the purpose of System.out.println() and System.out.print() methods. K S Explain the significance of the java.util.Scanner class in input operations. K T Enlist various methods of Scanner class to accept runtime input values in java. K
2 A Explain the concept of inter-thread communication in Java. K B Explain the concept of thread priority in Java. K C Discuss Custom exceptions? Design a voting mechanism to generate custom mechanism if age is below 18.
D Discuss the various ways to read input from the console in Java? Provide an example. K E Discuss the various ways to open and read from a file in Java? K F Explain the difference between character streams and byte streams in Java IO. K G Discuss, how to handle exceptions that may occur during file input/output operations? K H Explain buffering in Java input/output operations? K I Discuss, how does using buffered input/output improve performance compared to unbuffered operations?
J Provide an example of using buffered input/output streams in Java. K K Explain the concept of command-line arguments in Java. K L Discuss, how do you parse command-line arguments in a Java program? K M Discuss InputStreamReader class in detail. K N Discuss the role of the RuntimeException class in Java? K
Level Session
F Describe the difference between Collection and Collections in Java. K G Design a Java method that takes a Collection of strings and returns a list of those strings in uppercase.
H Design a Java program that demonstrates how to use the removeIf method to remove all even numbers from a Collection of integers.
I Implement a method that uses the Collection interface to find the intersection of two collections.
J Which interface is part of the collection framework but does not extend the Collection interface? Why?
K Give a difference between LinkedList and ArrayList in Java? K L Discuss the critical difference between a list and a set? K M Discuss the various interfaces used in Java Collections Framework? K
2 A Give the difference between Array and Collection in Java? K B Discuss the advantages of the collection Framework? K C Differentiate between Comparable and Comparator interfaces in java K D Discuss Properties class in detail K E Discuss Queue Interface in Java? Explain Different operation in Queue Interface.^ K F Explain the Characteristics of a Queue Interface.^ K 2 G Explain Set Interface and also its all Operations.^ K H Discuss Hashset in java? Explain its features and also about the various operation on the Hashset.^ K I Discuss LinkedHashSet? How it is differ form the HashSet?^ K J Explain SortedSet
M Discuss HashMap? Explain the internal working of a HashMap and also State the differences between a Hashmap and a Hashtable in Java.
N Discuss LinkedHashMap in Java? Explain Important Features of a LinkedHashMap.^ K O Given an array of Pairs consisting of two fields of type string and integer. you have to sort the array in ascending Lexicographical order and if two strings are the same sort it based on their integer value. Sample I/O: Input: { {"abc", 3}, {"a", 4}, {"bc", 5}, {"a", 2} } Output: { {"a", 2}, {"a", 4}, {"abc", 3}, {"bc", 5} } Input: { {"efg", 1}, {"gfg", 1}, {"cba", 1}, {"zaa", 1} } Output: { {"cba", 1}, {"efg", 1}, {"gfg", 1}, {"zaa", 1} }
Level Session 1 A Discuss Spring Framework in java? State the features of Spring Framework? K
G Discuss how does Spring manage singleton beans? K H Discuss how can you explicitly define a bean as a singleton in Spring XML configuration?
2 A Describe WebSocket, and how does it differ from traditional HTTP communication?^ K 2 B Explain, how does Spring support WebSockets?^ K C Explain auto-wiring in Spring, and how does it work? State the different modes of auto-wiring in Spring?
D Explain annotations in Spring, and why are they important?^ K 2 E Enlist some commonly used Spring annotations?^ K 1 F Discuss life cycle callbacks in Spring beans? Enlist the common life cycle callback methods in Spring? Specify the order of execution for life cycle callbacks?
G Explain build systems, and why are they important in Spring Boot? What are the recommended build systems for Spring Boot projects?
H Discuss about the question samples on Spring Boot Code Structure.^ K I Explain logging, and why is it important in Spring Boot applications? How does Spring Boot handle logging?
J Discuss web services, and why are they important? What does REST stand for, and what are RESTful web services? Which HTTP methods are commonly used in RESTful web services?
K Discuss REST Controller in Spring Boot? How do you create a REST API controller using Spring Boot? What are the common HTTP methods used in a REST Controller?
L Discuss the purpose of @RequestMapping in Spring Boot? How do you use @RequestMapping at the class level in a Spring Boot controller?
M Discuss the purpose of @PathVariable in Spring Boot? How do you use @PathVariable in a Spring Boot controller?
N Discuss the purpose of @RequestParam? How do you use @RequestParam?^ K O Explain the CRUD REST APIs (GET, POST, PUT, DELETE) in Spring Boot.^ K P Discuss , How we can Building a Spring Boot Web Application? Explain with all Steps.^ K