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.1.2. Key Features
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
3 cards from this lesson. Good the night before a test.
Try these first
- 1.
What is a procedural programming paradigm?
Hint
Think about how you organize tasks in a sequence.
- 2.
Name a language that supports procedural programming.
Hint
Think of older programming languages.
- 3.
What is a key feature of procedural programming?
- Encapsulation
- Sequence of Instructions
- Data Abstraction
Hint
Think about the order in which tasks are performed.
- 4.
True or False: Local variables can be accessed anywhere in a program.
- True
- False
Hint
Consider how scope works in programming.
- 5.
Write a C program that calculates the factorial of a number using a recursive function.
Hint
Think recursive; how does the function call itself?
- 6.
Explain how procedural programming could be employed to manage a library system. Illustrate your answer using functions.
Hint
How would each function interact with the library data?
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