Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

Class notes 21CSC203P (APP)

Beoordeling
-
Verkocht
-
Pagina's
40
Geüpload op
23-11-2025
Geschreven in
2025/2026

This document contains the complete APP syllabus in clear, easy-to-understand notes. All units are explained in a structured format so you can study faster and score better. Included in this file: Full APP course coverage Unit-wise notes Important definitions & formulas Exam-focused explanations Short revision notes for quick study Clean and well-organized format Useful for assignments, tests, and semester exams These notes are perfect for students who want a complete, ready-to-study material without searching multiple sources. Simple language, neat presentation, and fully exam-oriented content. If you want to prepare the entire APP subject quickly and effectively, these notes are exactly what you need.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

UNIT IV

BY:
SHUBHANGI SHARMA
ASSISTANT PROFESSOR
DEPARTMENT OF CSE

,Functional Programming
 Functional programming is a programming
paradigm in which we try to bind everything in
pure mathematical functions style.
 It is a declarative type of programming style.
Its main focus is on “what to solve” in
contrast to an imperative style where the
main focus is “how to solve“.
 It uses expressions instead of statements. An
expression is evaluated to produce a value
whereas a statement is executed to assign
variables

,Pure Functions
Pure functions have two properties.
 It always produces the same output for the same arguments.
For example, 3+7 will always be 10 no matter what.
 It does not change or modifies the input variable.



The second property is also known as immutability. The only
result of the Pure Function is the value it returns. They are
deterministic. Programs done using functional programming
are easy to debug because pure functions have no side
effects or hidden I/O. Pure functions also make it easier to
write parallel/concurrent applications. When the code is
written in this style, a smart compiler can do many things – it
can parallelize the instructions, wait to evaluate results when
needing them, and memorize the results since the results
never change as long as the input doesn’t change.

, First-Class Functions/Higher-Order
Functions
 First-class objects are handled uniformly throughout.
They may be stored in data structures, passed as
arguments, or used in control structures. A
programming language is said to support first-class
functions if it treats functions as first-class objects.
 Properties of first class functions:
 A function is an instance of the Object type.
 You can store the function in a variable.
 You can pass the function as a parameter to another
function.
 You can return the function from a function.
 You can store them in data structures such as hash
tables, lists, …

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
23 november 2025
Aantal pagina's
40
Geschreven in
2025/2026
Type
College aantekeningen
Docent(en)
Harshit mehta sir
Bevat
Alle colleges

Onderwerpen

€7,52
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
nitin8

Maak kennis met de verkoper

Seller avatar
nitin8 SRM Institute of Science and Technology
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
5 maanden
Aantal volgers
0
Documenten
8
Laatst verkocht
-

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen