Functional programing with java_Lab (1)
Functional programing with java_Lab (1)
b. Course Outcomes
CO1 Demonstrate the use of lambda expressions and functional interfaces in real-world programming scenarios.
CO2 Apply method references and closures to simplify and optimize Java code.
CO3 Utilize the Stream API for data processing, including filtering, mapping, and collecting data efficiently.
CO4 Implement advanced stream operations, such as flatMap and reduce, to handle complex data
transformations.
CO5 Develop concurrent Java applications using parallel streams and CompletableFuture to leverage functional
programming for multi-threaded environments.
c. Syllabus
Unit-1 Introduction to Functional Programming Contact Hours:15
Experiment 4 Create programs using functional interfaces and custom functional interfaces
Experiment 8 Process collections using the Stream API to filter, map, and sort data.
Experiment 11 Create programs demonstrating advanced stream operations like flatMap and reduce.
Experiment 14 Develop a concurrent Java application using parallel streams and CompletableFuture.
d. Text/Reference Books
REFERENCE BOOKS
R1 Modern Java in Action by Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft
Course P P P P
PO PO PO PO PO PO1 PO1 PO1 PSO PSO
Outcom O O O O
1 2 3 4 5 0 1 2 1 2
e 6 7 8 9
CO1 3 2 2 NA 1 NA NA NA NA NA NA NA 3 2
CO2 2 3 NA 2 NA NA NA 1 NA NA NA NA 2 3
CO3 NA 2 3 NA 2 1 NA NA 2 NA NA NA 1 3
CO4 NA 1 2 3 NA NA 2 NA NA 2 NA NA NA 2
CO5 3 NA 1 NA 3 NA NA 3 NA NA 3 2 NA 3
b. External assessment: