Programming techniques

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 15

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

16 Terms

1
New cards
2
New cards
3
New cards
4
New cards
5

local variable

has limited scope and can only be accessed by the block of code in which they were defined. They are useful as they ensure the subroutines are self-contained, so that the variables are not affected by the code outside of the subroutine

New cards
6

global variable

can be accessed across the whole program. Useful for when needing to access a certain variable by multiple parts of the progmra, but may be unintentionally overwritten and requires more memory

New cards
7

modular programming

a programming technique used to split large, complex programs into smaller, self-contained modules

New cards
8

advantages of modular programming

can divide tasks between a team, simplifies the process of testing and maintenance, each component can be dealt with individually, each modules can be reused

New cards
9

top-down approach/stepwise refinement

problem is continually broken down into sub-problems until each task is represented as an individual, self-contained code

New cards
10

Procedures

can return multiple values

New cards
11

function

only returns a value

New cards
12

stepping

executing a line of code at a time to monitor the effect

New cards
13

variable watch

observe how the contents of a variable change through the execution of a program

New cards
14

breakpoint

set a point in the program where it will stop executing

New cards
15

source code editor

autocompletion, indentation, syntax highlighting, automatic bracket completion

New cards
16

debugging tools

run-time detection of errors detects where in the code likely caused the error

New cards

Explore top notes

note Note
studied byStudied by 47 people
650 days ago
5.0(1)
note Note
studied byStudied by 36 people
99 days ago
5.0(1)
note Note
studied byStudied by 61 people
743 days ago
5.0(2)
note Note
studied byStudied by 48 people
631 days ago
5.0(1)
note Note
studied byStudied by 19 people
211 days ago
5.0(1)
note Note
studied byStudied by 18 people
853 days ago
5.0(1)
note Note
studied byStudied by 440 people
938 days ago
5.0(5)
note Note
studied byStudied by 30 people
629 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (97)
studied byStudied by 10 people
614 days ago
5.0(1)
flashcards Flashcard (64)
studied byStudied by 11 people
832 days ago
5.0(1)
flashcards Flashcard (33)
studied byStudied by 34 people
280 days ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 5 people
706 days ago
5.0(1)
flashcards Flashcard (123)
studied byStudied by 168 people
40 days ago
5.0(1)
flashcards Flashcard (53)
studied byStudied by 3 people
708 days ago
5.0(1)
flashcards Flashcard (63)
studied byStudied by 10 people
636 days ago
5.0(2)
flashcards Flashcard (28)
studied byStudied by 81 people
437 days ago
5.0(3)
robot