
Programming Paradigms Quiz
Authored by Elmerson Benito
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
54 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the main characteristic of pure functions in the Functional Paradigm?
The output depends only on the input
They call themselves during execution
They express facts and rules about a system
They encapsulate state and behavior
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In the context of the Functional Paradigm, what does "referential transparency" mean?
Functions can be passed as arguments or returned from other functions
Variables cannot be modified after initialization
An expression can be replaced with its value without changing the program's behavior
Functions that call themselves during execution
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is NOT a common programming paradigm mentioned in the text?
Imperative (Procedural) Paradigm
Functional Paradigm
Logical Paradigm
Declarative Paradigm
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which paradigm follows a declarative approach rather than an imperative approach?
Imperative (Procedural) Paradigm
Functional Paradigm
Logical Paradigm
Object-Oriented Paradigm
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is NOT a feature of the Functional Paradigm?
Pure functions
Recursion
Referential transparency
Mutable variables
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of inheritance in Object-Oriented Programming?
Hiding unnecessary details in classes
Deriving a class from another class for code reuse and hierarchy
Reducing data to a simplified representation
Allowing variables, functions, or objects to take on multiple forms
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the concept of Polymorphism in Object-Oriented Programming?
Hiding unnecessary details in classes
Deriving a class from another class for a hierarchy
Simplifying the representation of data
The ability of an entity to take on multiple forms
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
55 questions
Final Exam Practice
Quiz
•
10th Grade - University
50 questions
2nd Sem 1st Qrt Summative Test
Quiz
•
12th Grade
55 questions
Advanced HTML5 & CSS3 Part IV
Quiz
•
9th - 12th Grade
51 questions
Digital Literacy Chapter 14 Review
Quiz
•
9th - 12th Grade
58 questions
Logic && Boolean Expressions (A-Level Computer Science)
Quiz
•
11th - 12th Grade
50 questions
Foundations of Computer Science Exam Review
Quiz
•
9th - 12th Grade
59 questions
Higher Computer Systems
Quiz
•
12th Grade
50 questions
Ujian Sekolah TKJ 2022
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade