
Functional Programming Quiz
Authored by Jimy Mathew
Computers
12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main focus of imperative programming?
What should happen
How to do it
Using pattern matching
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which language is an example of a declarative language?
C
Java
SQL
Assembly
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key characteristic of declarative programming?
a) Programs describe what the result should look like
b) Programs prescribe a sequence of steps
c) Programs use only loops
d) Programs must have side effects
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does referential transparency mean?
a) A function always produces the same result for the same input
b) A function changes its return value based on external conditions
c) A function modifies external variables
d) A function uses mutable state
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following violates referential transparency?
a) A function that returns the sum of two numbers
b) A function that modifies a global variable
c) A function that always returns the same output for a given input
d) A function that calculates the square of a number
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a characteristic of functional programming?
a) Referential transparency
b) Mutable state
c) First-class functions
d) Pattern matching
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
examen secundaria feb
Quiz
•
12th Grade
10 questions
Q1L1: Introduction to MIL (Quiz)
Quiz
•
12th Grade
10 questions
Computação Gráfica
Quiz
•
12th Grade
10 questions
ICT as Social Change
Quiz
•
12th Grade
10 questions
HTML & Google Site Seatwork
Quiz
•
12th Grade
10 questions
TIC Cuarto ESO
Quiz
•
1st - 12th Grade
10 questions
Lourdes Amaranta Ayala Gracia
Quiz
•
8th Grade - University
11 questions
UF465 - Tema 5
Quiz
•
12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
24 questions
Identify Properties of Polygons and Quadrilaterals
Quiz
•
9th - 12th Grade