Question Bank-Java FSD 7th Sem
Question Bank-Java FSD 7th Sem
Date: 27/10/2024
1
(Unit -1)
Compare the performance and use cases of ArrayList and LinkedList in Java. [CO-1]
A
Under what conditions is each preferable?
L1
Write a Java program to read text from a file and display it on the console. Which [CO-1]
B classes and methods are used in file handling?
L1
Describe the Collection Framework hierarchy in Java also Differentiate between [CO-1]
C L1
List and Set in Java.
Write a file-handling program that copies the contents of one text [CO-1]
D file to another.
List the main interfaces of the Java Collection Framework and describe the purpose [CO-1]
F
of each.
L1
List the key components of the JDBC API and their roles in [CO-1]
G database connectivity.
Write a Java program that reads data from a file and displays it on [CO-1]
H the console.
2
(Unit -2)
Nagar YuwakShikshanSanstha’s
YeshwantraoChavan College of Engineering
(An Autonomous Institution affiliated to RashtrasantTukadoji Maharaj Nagpur University)
(Accredited 'A++' Grade by NAAC)
Hingna Road, Wanadongri, Nagpur - 441 110
Ph.: 07104-295083, 295085, Website: www.ycce.edu
A
Use a lambda expression to sort a list of Employee objects by [CO-2]
salary in ascending order. Write the code to implement this. L2
B Implement a Stream pipeline to find the top 3 highest salaries from a list of
[CO-2]
Employee objects.
L2
Given a map of product IDs and prices, use the Streams API to find the total price of
C
all products priced above a certain value. [CO-2]
L2
D
Write a lambda expression to filter a list of Employee objects, [CO-2]
returning only those with a salary greater than a specified amount.
L2
E Given a map of product IDs and prices, use the Streams API to find the total price of
all products priced above a certain value. [CO-2]
L2
L2
G
Given a list of integers, apply the Streams API to filter out even [CO-2]
numbers and collect them into a new list. Write the code.
L2
L2
Nagar YuwakShikshanSanstha’s
YeshwantraoChavan College of Engineering
(An Autonomous Institution affiliated to RashtrasantTukadoji Maharaj Nagpur University)
(Accredited 'A++' Grade by NAAC)
Hingna Road, Wanadongri, Nagpur - 441 110
Ph.: 07104-295083, 295085, Website: www.ycce.edu
Devlop a program that creates a list of integers and uses the Streams API to
I
filter out all numbers greater than 10. Print the remaining numbers [CO-2]
L2
(Unit -3)
Given an HTML form with multiple fields, analyze how you would [CO-3]
I add client-side JavaScript validation for different input types (e.g.,
email, password, number). Describe how to improve user feedback L2
if an invalid input is detected.
4
(Unit -4)
Develop a Spring Boot application that integrates with Hibernate to manage CRUD [CO-4]
A operations on a database. Describe how dependency injection is used in this L4
scenario.
Design class Student with fields like id, Name and Email and generate table
B with this fields in database using hibernate with suitable steps and coding
example?
[CO-4]
5
(Unit -5)
List the differences between SaaS, PaaS, and IaaS in cloud computing. [CO-1]
A
L1
Explain following Terms (any two) [CO-1]
B
1. AWS Cloudfront L1
2. Virtualization
3. Docker
Evaluate the effectiveness of virtualization in optimizing resource [CO-1]
C usage and reducing costs in a cloud-based data center.
L3
Identify the key benefits of using AWS CloudFront for content [CO-1]
D delivery.
L1
What is a Cloud? What are the different layers in cloud computing? Explain [CO-1]
E
working of them. L1
Nagar YuwakShikshanSanstha’s
YeshwantraoChavan College of Engineering
(An Autonomous Institution affiliated to RashtrasantTukadoji Maharaj Nagpur University)
(Accredited 'A++' Grade by NAAC)
Hingna Road, Wanadongri, Nagpur - 441 110
Ph.: 07104-295083, 295085, Website: www.ycce.edu
List the types of virtualization used in cloud computing (e.g., server, [CO-1]
G network, storage).
L1
What do you mean by a Maven Archetype? How will you create a new project [CO-2]
B
based on an Archetype? List different types of Maven repositories? L1
What are the benefits and limitations of using Docker for managing [CO-2]
C dependencies in multi-service applications?
L2
What do you mean by a Maven Archetype? How will you create a new project [CO-2]
F
based on an Archetype? List different types of Maven repositories? L2
What do you mean by a Maven Archetype? How will you create a new project [CO-2]
I
based on an Archetype? List different types of Maven repositories? L1
Subject Teacher