What is a programming paradigm?
Functional Programming 1

Quiz
•
Computers
•
12th Grade
•
Hard
O Hawkridge
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A pattern or model for how to program
A type of procedure or function
A programming language with immutable data structures
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which programming paradigm are programs constructed by applying and composing functions?
Procedural
Object Oriented
Declarative
Functional
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the head of this list: myList = [2, 3, 67, 89, 4]
2
3, 67, 89, 4
2, 3, 67
67, 89, 4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
myList = [2, 3, 67, 89, 4]
length myList
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What are two key features of functional programming? (PICK 2)
Executes line by line
Immutability
Lists
Statelessness
No ability to add comments
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following languages specifically follows the functional paradigm?
Python
Haskell
Java
C++
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate
fruits = ["Apple", "Honeydew", "Watermelon", "Kiwi", "Pear"]
tail (tail (fruits))
["Kiki", "Pear"]
"Watermelon", "Kiwi", "Pear"
"Honeydew", "Watermelon", "Kiwi", "Pear"
["Watermelon", "Kiwi", "Pear"]
Answer explanation
The tail function always returns a list (square brackets).
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
2D Arrays

Quiz
•
9th - 12th Grade
12 questions
Lists IN PYTHON!!!!!!!!

Quiz
•
KG - 12th Grade
12 questions
Computer Science

Quiz
•
9th - 12th Grade
13 questions
Unit 12 - Functional Programming

Quiz
•
12th Grade - University
18 questions
Computer Science LISTS

Quiz
•
12th Grade
10 questions
Pear Deck and Progress Journals

Quiz
•
1st - 12th Grade
15 questions
list in python

Quiz
•
10th - 12th Grade
18 questions
Lists

Quiz
•
10th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University