Programming Language Concepts - Functional Programming

0.0(0)
studied byStudied by 0 people
0.0(0)
linked notesView linked note
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/20

flashcard set

Earn XP

Description and Tags

Flashcards covering essential vocabulary and concepts related to programming languages, particularly functional programming.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

21 Terms

1
New cards

Functional Programming

A programming paradigm where computation is treated as the evaluation of mathematical functions.

2
New cards

Lisp

The first functional programming language, developed in the late 1950s.

3
New cards

Scheme

A dialect of Lisp designed to teach programming; known for its simple syntax and powerful features.

4
New cards

First-class functions

Functions that can be passed as arguments, returned as values, and assigned to variables.

5
New cards

Lambda notation

A way to express anonymous functions in functional programming.

6
New cards

Recursion

A programming technique where a function calls itself to solve a problem.

7
New cards

Expressiveness

The breadth of concepts that can be expressed in a programming language.

8
New cards

Evaluation semantics

Rules that dictate how and when expressions in a programming language are evaluated.

9
New cards

Tail recursion

A specific kind of recursion where the recursive call is the last operation in the function.

10
New cards

List manipulation

Using functions like 'car', 'cdr', and 'cons' to operate on and modify lists.

11
New cards

Numeric predicates

Functions that perform tests on numerical values and return boolean results.

12
New cards

Higher-order functions

Functions that take other functions as arguments or return them as results.

13
New cards

Map function

A function that applies a given function to each item in a list, producing a new list.

14
New cards

Filter function

A function that processes a list and retains only the elements that satisfy a specified condition.

15
New cards

Quoting in Scheme

Using 'quote' to prevent evaluation of an expression and treat it as data.

16
New cards

Control structures

Constructs that dictate the flow of control in a program, such as 'if' and 'cond'.

17
New cards

Equality functions

Functions used to compare values in Scheme and return true or false.

18
New cards

GCD function

A function that computes the greatest common divisor of two numbers.

19
New cards

Object modeling

Using functions to model the behavior and characteristics of objects in a programming language.

20
New cards

DrScheme

An integrated development environment for the Scheme programming language.

21
New cards

REPL

Read-Eval-Print Loop; an interactive programming environment where expressions are read, evaluated, and printed.