Which of the following is a key characteristic of functional programming?

Exploring Programming Paradigms Quiz

Quiz
•
Computers
•
11th Grade
•
Hard
Simon Withey
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mutable state
First-class functions
Inheritance
Encapsulation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In object-oriented programming, what is the term used to describe the bundling of data with the methods that operate on that data?
Polymorphism
Abstraction
Encapsulation
Inheritance
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a pure function in functional programming?
A function that modifies a global variable
A function that returns different results for the same input
A function that has no side effects
A function that relies on external input
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In object-oriented programming, what is the concept of using a single interface to represent different data types?
Inheritance
Polymorphism
Encapsulation
Composition
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a feature of functional programming?
Immutability
Higher-order functions
Classes and objects
Recursion
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of using inheritance in object-oriented programming?
It allows for code duplication
It enables the creation of private methods
It facilitates code reuse
It restricts access to data
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In functional programming, what is the term for a function that takes another function as an argument or returns a function as a result?
Recursive function
Higher-order function
Pure function
Lambda function
Create a free account and access millions of resources
Similar Resources on Quizizz
9 questions
ujian harian 1

Quiz
•
11th Grade
8 questions
Object Oriented Programming

Quiz
•
11th - 12th Grade
15 questions
INTRODUCTION TO OOP TECHNIQUE

Quiz
•
11th - 12th Grade
10 questions
Introduction to Java

Quiz
•
8th - 12th Grade
14 questions
Code.org Unit 3

Quiz
•
9th - 12th Grade
10 questions
PBO XII RPL

Quiz
•
9th - 12th Grade
11 questions
Subclass/Subclass

Quiz
•
11th Grade
12 questions
Intro to Scratch 2

Quiz
•
KG - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade