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.
4.6.5. Limitations
This section
Practice test
10 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
2 cards from this lesson. Good the night before a test.
Try these first
- 1.
What is a major limitation of procedural programming?
Hint
Think about how functions relate to global versus local data.
- 2.
Name one advantage of object-oriented programming.
Hint
What does encapsulation allow us to do with data and behavior?
- 3.
Which of the following is a limitation of functional programming?
- Increased side effects
- Intuitive for beginners
- Performance overhead due to recursion
Hint
Remember how recursion differs from iteration.
- 4.
True or False: Event-driven programming is suitable for real-time systems.
- True
- False
Hint
Think about the years of development in responsive applications.
- 5.
Consider a software system using event-driven programming. Describe how you would identify and resolve callback hell.
Hint
Evaluate the callback nesting and think of simplifying it.
- 6.
Design a simple project using procedural programming and propose a refactor into an object-oriented model. What factors will you consider?
Hint
Think in terms of grouping similar functions and data together.
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
Get your answers marked and your progress tracked
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