1/5
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Stopping condition/base case
condition that needs to be met to break the cycle of recursion
Advantages of local variable
Ensures subroutines are self-contained, variable name can be recycled in other subroutines
What is modular programming?
Split large program into small self-contained modules.
Advantages of splitting into sub-procedures
Procedures can be reused, program can be split amongst programmers, speed up completion time by working on multiple procedures concurrently, easier to test modules than whole code
Advantages of concurrent programming
Processes happening at the same time saves time, another task can be completed while waiting for user input for another
Disadvantages of concurrent processing
On a single core processor only one task is actually being processed at once, if tasks are dependent on each other they may need to be completed in order, trying to do a large number of tasks at once means it takes a long time before any of them are individually completed.