Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
21 views

Functional Programing in Java_Theory

Tyjfedghjk

Uploaded by

harshmanav2204
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Functional Programing in Java_Theory

Tyjfedghjk

Uploaded by

harshmanav2204
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

SN Course Name: Functional L T P S C CH Course Type

Programming in Java
Course Coordinator: 2 0 0 2 Theory
PRE-REQUISITE --Java Programming
CO-REQUISITE --
ANTI-REQUISITE --
a.
Course Objectives
1. Introduce fundamental concepts of functional programming in Java.
2. Enable the use of lambda expressions and functional interfaces effectively.
3. Teach data processing using the Stream API in a functional style.
4. Develop modular and maintainable Java code with functional programming principles.
b. Course Outcomes
CO1 Understand functional programming principles in Java.
CO2 Apply lambda expressions and functional interfaces effectively.
CO3 Analyze the benefits of functional versus imperative code.
CO4 Evaluate and refactor Java code for improved maintainability.
CO5 Create efficient, concurrent Java applications using streams.

c. Syllabus
Unit-1 Introduction to Functional Programming Contact Hours:15
Introduction to Programming Paradigms: Imperative vs. Declarative Programming.
Core Functional Programming Concepts: Immutability, First-Class Functions, and Pure
Functions.
Java’s Support for Functional Programming: Integration into the Object-Oriented Paradigm.
Functional Programming Benefits: Clean Code, Easier Testing, and Modular Design.
Introduction to Functional Interfaces: Predicate, Function, Consumer, and Supplier.
Unit-2 Advanced Functional Constructs Contact Hours:15

Lambda Expressions in Detail: Syntax, Scoping, and Best Practices.


Functional Interfaces in Practice: Predicate, Consumer, Supplier, and Function.
Method References: Static, Instance, and Constructor References.
Stream API Basics: Introduction, Lazy Evaluation, and Stream Pipelines.
Intermediate Stream Operations: Map, Filter, and Sorted.

Unit-3 Functional Programming Techniques and Concurrency Contact Hours:15

Advanced Stream Operations: FlatMap, Reduce, and Collectors.


Immutability and Pure Functions: Writing Side-Effect-Free Code.
Error Handling with Functional Constructs: Optional and Best Practices.
Introduction to Functional Concurrency: Parallel Streams and CompletableFuture.
Case Study: Applying Functional Programming to Solve Real-World Problems.
SELF STUDY TOPIC Functional Programming in Other Languages, Performance Implications of Functional
Programming.

d. Textbooks / Reference Books

R1 Modern Java in Action by Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft

R2 Functional Programming in Java: Harnessing the Power of Java 8 Lambda Expressions by Venkat
Subramaniam

R3 Java 8 in Action by Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft


e. CO-PO Mapping

PO PO PO PO PO PO PO PO PO PO PO PO
Outcome 1 2 3 4 5 6 7 8 9 10 11 12
CO1 3 NA NA 2 NA NA NA NA NA NA NA NA
CO2 NA 3 2 NA 2 NA NA NA NA NA NA NA
CO3 NA 2 NA NA 3 NA NA NA 1 NA NA NA
CO4 NA NA NA 3 2 1 NA 2 NA 2 NA NA
CO5 NA NA 3 NA NA NA 2 NA 1 NA 3 2

Course
Outcome PSO 1 PSO 2 PSO 3
CO1 3 2 1
CO2 2 3 2
CO3 1 3 2
CO4 NA 2 3
CO5 NA 3 3

a. Assessment Pattern – Internal and External

The performance of students is evaluated as follows:

Components Theory Practical


Internal End Term Continuous Mid Term End Term
Assessment Assessment assessment Assessment Assessment
Marks 40 60 - - -
Total Marks 100 - - -

b. Internal/External Evaluation Components

a. Internal assessment:

S. Type of Weightage of actual Final Weightage in


No. Assessment conduct Internal
Assessment
(Prorated Marks)
1. Assignment-I 60 12 marks
2. Assignment-II 60 12 marks
3. Assignment-III 60 12 marks
4. Surprise Test 10 2 marks
5. Attendance NA 2 marks

b. External assessment:
S. Type of Weightage of actual Final Weightage in
No. Assessment conduct Internal
Assessment
(Prorated Marks)
1 Mini Project 100 60

c. Rubric for evaluation


Total Partial
Scor Expectation Approached Meets Exceeds
Phase Mark Parameter Expectation
e not met Expectation Expectation Expectation
s met
Tasks not
Planning and
differentiated; Different tasks identified but Different tasks are identified,
Task 10 / 2
timelines do timeline is not clear timeline clearly defined.
definition
not exist
The program
The program works and
The program is produces The program
produces the correct results and
Specification producing correct results works and
20 / 3 displays them correctly. It also
s incorrect but does not meets all of the
meets most of the other
results display them specifications.
specifications.
correctly
Able to Able to apply Able to apply
Able to apply
Ability to Unable to identify required data required data
required data
apply Identify required data type or data type or data
Assignment type or data
required data 20 / 3 required data type or data structure but structure and
/ Surprise 60 / 10 structure and
type or data type or data structure but does not produce
Test produce correct
structure structure. does apply produce partially correct
results
correctly correct results results
The program
The program
produces The program
produces The program
correct results works and
correct results works and
but does not meets all
Ability to The program but does not meets all
display specifications.
perform Produces display specifications.
10 / 2 correctly Does
input incorrect correctly. Does some
Does not exceptional
validation results Does little checking for
check for checking for
check for errors and out
errors and errors and out-
errors and out of range data
out-of- range of- range data
of range data
data
Mini 100 Technologies Effective use of
Project are known technology
but with Passable with
Effective use of
some demonstratio knowledge of
technology,
deficiencies n of technical alternative
Technologies strong grasp of
Technical of logic, no skills with technologies
20 used are not logic, critical
Competency demonstratio some and strong
known thinking and
n of critical engagement grasp of logic,
engagement
thinking, with critical thinking
with resources
engagement resources and
with resource engagement
missing with resources
Scope fulfilled, Scope fulfilled,
Scope Scope solution solution
fulfilled, fulfilled, working as per working as per
Scope of
Scope performance performance problem, problem,
20 project not
fulfilment of solution of solution solution not solution
fulfilled
under needs acceptable by acceptable by
question improvement user/beneficiar user/beneficiar
y y
No novelty in No novelty in the problem-
Originality of Originality of the problem
the problem. solving approach.
problem 30 statement. Introduction of new
Solution/desig Improvement in the existing
solving solution/design.
n already exist solution/design
Analysis, 30 Results are not Results are Results are Results are Results are
results and stated discussed but analysed but analysed analysed
discussion not analysed standard through through
protocol is standard standard
protocol, build
protocol but up correlation
not followed validation and of the results
and comparison with the need
validation not with existing and scope, able
done. solution is to project the
missing impact of
solution

You might also like