Enrol to start learning
Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.
2.3.2. Advanced Paradigms
This section
Practice test
11 questions on this section. Wrong answers show you what to read again.
Sign up to take itWhole chapter
Revision test
Mixed questions from across the chapter. Your answers get marked.
Sign up to take itQuick
Flashcard drill
4 cards from this lesson. Good the night before a test.
Try these first
- 1.
What is Object-Oriented Programming?
Hint
Think of classes and objects.
- 2.
Name one feature of Functional Programming.
Hint
It refers to not changing states.
- 3.
What programming paradigm uses objects?
- Procedural Programming
- Object-Oriented Programming
- Functional Programming
Hint
Think about class-based programming.
- 4.
True or False: Functional programming relies heavily on mutable data.
- True
- False
Hint
Consider how data can change.
- 5.
Create a mini online shopping cart application using OOP principles.
Hint
Think about relationships among users, items, and their actions.
- 6.
Write a Functional program to calculate the sum of even numbers from a list of integers.
Hint
Focus on composing functions together without changing the list.
Exercises
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
4 more questions available
Enrol freeQuiz
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
1 more question available
Enrol freeChallenge Problems
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting