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 these languages follows the functional paradigm most strongly?
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
10 questions
Pear Deck and Progress Journals

Quiz
•
1st - 12th Grade
10 questions
Sorting Algorithms

Quiz
•
9th - 12th Grade
15 questions
Python Unit 8 Quiz

Quiz
•
9th - 12th Grade
10 questions
Python lists and tuples

Quiz
•
12th Grade
10 questions
Arrays and Lists

Quiz
•
6th - 12th Grade
12 questions
Unit 5 Lists, Loops, & Traversals

Quiz
•
10th - 12th Grade
12 questions
BJC Unit 2 Concepts Review

Quiz
•
10th Grade - University
13 questions
Unit 12 - Functional Programming

Quiz
•
12th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade