0% found this document useful (0 votes)
31 views7 pages

JAVA Antim Prahar

The document outlines a comprehensive curriculum for Java programming, covering various topics such as JRE, JDK, JVM, data types, object-oriented programming, multithreading, exception handling, Java Collections Framework, and Spring Framework. It includes both 2-mark and 5-mark questions aimed at assessing knowledge and practical skills in Java. Additionally, it encourages students to engage with the EduRudram YouTube channel for further learning resources.

Uploaded by

amrin bano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views7 pages

JAVA Antim Prahar

The document outlines a comprehensive curriculum for Java programming, covering various topics such as JRE, JDK, JVM, data types, object-oriented programming, multithreading, exception handling, Java Collections Framework, and Spring Framework. It includes both 2-mark and 5-mark questions aimed at assessing knowledge and practical skills in Java. Additionally, it encourages students to engage with the EduRudram YouTube channel for further learning resources.

Uploaded by

amrin bano
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

EduRudram

Join Our You Tube channel


Antim Prahar Series 2.0
Unit I

2 MARKS
 Discuss JRE and JDK
 Discuss JVM.
 Discuss datatype. Enlist all 8 primitive datatypes available in java
 Differentiate between “javac” and “java” commands.
 Discuss Bytecode. Also need of Byte code
 Discuss array?Give syntax to define an array. Create an array of type char of size
100.
 State the applications of Java programming language
 What do you mean by platform independent and architecture neutral
 Differentiate between “extends” and “implements” keyword. Give example of both.
 Compare C++ and Java
 Discuss package? How to use a package in a java program?Demonstrate the
process of creating a package.
 Compare J2SE, J2EE and J2ME.
 State feature of Java
 Compare C and Java
 State history of Java programming language
 Differentiate between “path” and “classpath”.
 Describe the role of an operator in performing an operation. Enlist all types of
operators available in java.
 What do you mean by static import?
 Differentiate between “this” and “super” keyword. Give example of both.
5 MARKS
 Discuss the concept of Object Oriented programming in detail.
 Discuss Inheritance in detail. Relate it with real world scenario.
 Write down a java program to implement linear searching in one dimensional array

Download the App Now EduRudram Success Classes


Contact - 06398101339
Like, Share & Subscribe
EduRudram
Join Our You Tube channel
 Write down the steps to create a package with appropriate commands to compile and
execute.
 Discuss Encapsulation in detail. Relate it with real world scenario.
 “Class is a user defined datatype”. Prove that the given statement is true.
 Discuss method overloading? Define a blueprint which demonstrates method
overloading.
 Write down a java program to create two matrices and find their sum.
 Discuss Abstraction in detail. Relate it with real world scenario.
 Write down a java program to create two matrices and find their multiplication.
 Dsicuss method over-ridding? Define a blueprint which demonstrates method over-
ridding.
 Write down a java program to create a matrix and find its transpose.
 Discuss Polymorphism in detail. Relate it with real world scenario.
 Write down a java program to implement bubble sorting in one dimensional array
 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).
 Design a shape interface which contains area and perimeter method. Design Rectangle,
Circle, Square classes which implements the shape interface.
 Write down a java program to implement binary searching in one dimensional array
 Outline the difference between Object oriented and procedural programming.
 Why multiple inheritances are not possible on java? How to implement it in java?
Unit II
2 MARKS
 Write down the steps to create a thread in Java?
 Discuss the procedure to set the priority of a thread in Java?
 Explain synchronization in Java multithreading?
 Explain the purpose of System.out.println() and System.out.print() methods.
 Explain the life cycle of a thread in Java.
 Discuss Exception?
 Write down the steps to define custom exceptions in Java?
Download the App Now EduRudram Success Classes
Contact - 06398101339
Like, Share & Subscribe
EduRudram
Join Our You Tube channel
 Explain the significance of the java.util.Scanner class in input operations.
 Discuss multithreading in Java?
 Explain the difference between the throw and throws keywords in Java.
 Explain the difference between checked and unchecked exceptions in Java.
 Discuss the purpose of the finally block in Java exception handling?
 Discuss the advantages of multithreading?
 Discuss Thread in Java?
 Discuss various ways to acheive multithreading achieved in Java?
 Discuss the purpose of the try-catch block in Java exception handling?
 Discuss Exception handling?
 What is the default priority of a thread in Java?
 State the primary classes used for handling input and output operations in Java?
 Enlist various methods of Scanner class to accept runtime input values in java.
5 MARKS
 Discuss InputStreamReader class in detail.
 Explain the difference between character streams and byte streams in Java IO.
 Discuss Custom exceptions? Design a voting mechanism to generate custom
mechanism if age is below 18.
 Discuss the various ways to read input from the console in Java? Provide an
example.
 Discuss the various ways to open and read from a file in Java?
 Discuss, how does using buffered input/output improve performance compared to
unbuffered operations?
 Explain the concept of thread priority in Java.
 Explain the concept of inter-thread communication in Java.
 Discuss, how to handle exceptions that may occur during file input/output
operations?
 Discuss the role of the RuntimeException class in Java?
 Explain the concept of command-line arguments in Java.
 Explain buffering in Java input/output operations?

Download the App Now EduRudram Success Classes


Contact - 06398101339
Like, Share & Subscribe
EduRudram
Join Our You Tube channel
 Discuss, how do you parse command-line arguments in a Java program?
Unit III
2 MARKS
 Provide examples of encoding and decoding a string using Base64 in Java.
 Explain the purpose of Base64 encoding and decoding.
 Discuss the benefits of using lambda expressions over anonymous classes.
 Discuss the role of static methods in interfaces.
 Explain the purpose of the try-with-resources statement in Java?
 Discuss Stream API in Java? How does it differ from collections?
 Explain what a functional interface is in Java. Give an example.
 Define a lambda expression in Java. Provide an example of its usage.
 Give an example of using Stream API to filter a collection.
 Describe common operations that can be performed using the Stream API.
 Discuss default methods in Java interfaces? When are they used?
 Discuss method references in Java? Give examples of different types of method
 Give an example of using try-with-resources to automatically close resources like
 Explain the syntax and usage of method references in Java.
5 MARKS
 Discuss Java Module System introduced in Java 9?
 Explain the yield keyword introduced in Java 13?
 Explain how local variable type inference simplifies variable declarations.
 Provide an example of using diamond syntax with an inner anonymous class.
 Provide examples demonstrating the usage of text blocks.
 Describe sealed classes introduced in Java 15.
 Describe the traditional switch statement in Java.
 Discuss the diamond syntax introduced in Java 7.
 Discuss the enhancements made to switch statements in Java 12 with switch
 Explain local variable type inference introduced in Java 10?
 Explain text blocks introduced in Java 13?

Download the App Now EduRudram Success Classes


Contact - 06398101339
Like, Share & Subscribe
EduRudram
Join Our You Tube channel
 Explain the concept of records introduced in Java 14.
 Explain usage and significance of yield keyword in introduced in switch.
 Describe the benefits of using modules in Java applications.
UNIT-IV
2 MARKS

 Explain the relationships between different interfaces and classes in the hierarchy.
 Discuss the various interfaces used in Java Collections Framework?
 Which interface is part of the collection framework but does not extend the
Collection interface? Why?
 Describe the hierarchy of the Collection Framework in Java.
 Design a Java program that demonstrates how to use the removeIf method to
remove all even numbers from a Collection of integers.
 Discuss the critical difference between a list and a set?
 Design a Java method that takes a Collection of strings and returns a list of those
strings in uppercase.
 Give a difference between LinkedList and ArrayList in Java?
 Explain the purpose of the Collections Framework in Java.
 Discuss the advantages of using collections in Java programming.
 Implement a method that uses the Collection interface to find the intersection of two
collections.
 Describe the difference between Collection and Collections in Java.
 Define the Java Collections Framework.
5 MARKS
 Explain the TreeSet and also discuss about the key points of the TreeSet.
 Discuss Properties class in detail
 Differentiate between Comparable and Comparator interfaces in java
 Discuss HashMap? Explain the internal working of a HashMap and also State the
differences between a Hashmap and a Hashtable in Java.
 Discuss Hashset in java? Explain its features and also about the various operation
on the Hashset.
 Explain the Characteristics of a Queue Interface.
 Explain Set Interface and also its all Operations.
Download the App Now EduRudram Success Classes
Contact - 06398101339
Like, Share & Subscribe
EduRudram
Join Our You Tube channel
 Discuss the advantages of the collection Framework?
 Discuss map Interface? Explain differenece between Map containsKey() and Map
containsValue().
 Discuss LinkedHashMap in Java? Explain Important Features of a
LinkedHashMap.
 Discuss LinkedHashSet? How it is differ from the HashSet?
 Discuss Queue Interface in Java? Explain Different operation in Queue Interface.
 Give the difference between Array and Collection in Java?
 Explain SortedSet<E> interface with its methods.
UNIT-V
2 MARKS

 Explain, how can you define a bean as a prototype in Spring XML configuration?
 Give the difference between the singleton scope and the prototype scope in Spring?
 Discuss IoC (Inversion of Control) Container in Spring Framework?
 Explain the request scope in Spring, and when is it used?
 Give the default scope in Spring, and how does it work?
 Explain, What will happens when you request a prototype bean multiple times?
 Explain Dependency Injection?
 Discuss the session scope in Spring, and when is it used?
 Explain Aspect-Oriented Programming (AOP)? Explain Spring AOP Features.
 Discuss Spring Framework in java? State the features of Spring Framework?
 Discuss how can you explicitly define a bean as a singleton in Spring XML
configuration?
 State the steps to define a bean as having session scope in Spring?
 Give the difference between constructor and setter injection?
 Explain, how can you define a bean as having request scope in Spring?
 Discuss how does Spring manage singleton beans?
5 MARKS
 Discuss , How we can Building a Spring Boot Web Application? Explain with all
Steps.
 Discuss about the question samples on Spring Boot Code Structure.

Download the App Now EduRudram Success Classes


Contact - 06398101339
Like, Share & Subscribe
EduRudram
Join Our You Tube channel
 Explain build systems, and why are they important in Spring Boot? What are the
build systems for Spring Boot projects?
 Explain logging, and why is it important in Spring Boot applications? How does
Spring Boot handle logging?
 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?
 Explain annotations in Spring, and why are they important?
 Describe WebSocket, and how does it differ from traditional HTTP communication?
 Discuss the purpose of @PathVariable in Spring Boot? How do you use
@PathVariable in a Spring Boot controller?
 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?
 Explain, how does Spring support WebSockets?
 Discuss the purpose of @RequestMapping in Spring Boot? How do you use
@RequestMapping at the class level in a Spring Boot controller?
 Enlist some commonly used Spring annotations?
 Explain auto-wiring in Spring, and how does it work? State the different modes of
auto-wiring in spring.
 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?
 Discuss the purpose of @RequestParam? How do you use @RequestParam?
 Explain the CRUD REST APIs (GET, POST, PUT, DELETE) in Spring Boot.

BEST OF LUCK
TO
ALL STUDENTS
Download the App Now EduRudram Success Classes
Contact - 06398101339
Like, Share & Subscribe

You might also like