2.2.1 Programming Techniques

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:47 AM on 6/16/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

6 Terms

1
New cards

Stopping condition/base case

condition that needs to be met to break the cycle of recursion

2
New cards

Advantages of local variable

Ensures subroutines are self-contained, variable name can be recycled in other subroutines

3
New cards

What is modular programming?

Split large program into small self-contained modules.

4
New cards

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

5
New cards

Advantages of concurrent programming

Processes happening at the same time saves time, another task can be completed while waiting for user input for another

6
New cards

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.