Programming fundamentals

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/52

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:16 AM on 7/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

53 Terms

1
New cards

Development step - Requirements define

Conditions and capabilities a system needs to meet to achieve its purpose

2
New cards

Development step -Determining specifications

Process of defining requirements for a software

3
New cards

Development step -Design

Create architecture of the system, create ui, plan database and how the system will work

4
New cards

Development step -Development

Write the code

5
New cards

Development step -Testing

Find out if software works and fix bugs

6
New cards

Development step -Installation

Send software out for users to install

7
New cards
8
New cards
Algorithm
a set of steps a computer follows to achieve a task.
9
New cards
Flowcharts
visual representation of an algorithm using a combinations of shapes and arrows
10
New cards
Pseudocode
text-based representation of an algorithm that uses keywords to mimic how the code would be written.
11
New cards
Sequence
A control structure where instructions are executed one after another in the order they are written
12
New cards
Selection
A control structure where the program chooses which path to follow based on a condition
13
New cards
Binary selection
A type of selection that offers exactly two possible paths, such as IF-THEN-ELSE
14
New cards
Multiway selection
A type of selection that offers more than two possible paths, such as a CASE or IF-ELSEIF-ELSE statement
15
New cards
Iteration (Repetition)
A control structure where a set of instructions is repeated multiple times until a condition is met
16
New cards
Pre-test iteration
A type of loop that checks the condition before executing the block of code, meaning the code may never run
17
New cards
Post-test iteration
A type of loop that checks the condition after executing the block of code, meaning the code will always run at least once
18
New cards
Subroutines
A named block of reusable code that performs a specific task and can be called from anywhere in the program
19
New cards

Pre test loop example Psuedocode

START

    integer counter = 1


    WHILE counter <= 3 DO
        PRINT "This is iteration number " + counter
        counter = counter + 1
    ENDWHILE

    PRINT "Loop has finished."
END

20
New cards

Post test loop example Pseudocode

START

    integer counter = 5

    REPEAT
        PRINT "This code runs at least once. Counter is " + counter
        counter = counter + 1
    UNTIL counter > 5 

    PRINT "Loop has finished."
END

21
New cards

Pre test loop flowchart

knowt flashcard image
22
New cards

Post test loop flowchart

knowt flashcard image
23
New cards

Backtracking

A solution is built to go step by step and tries a different option if a problem is encountered.

24
New cards

Procedure vs function

Functions have the return word and provide a result, while procedures don’t

25
New cards

Structure chart

A diagram that provides a system overview showing, module, control flow, data flow

26
New cards

Refinement

creating more detailed structure charts for lower level modules.

27
New cards
term image

Shows data movement between modules

28
New cards
<p></p>

A specific variable passed to trigger stuff

29
New cards
term image

indicates a decision

30
New cards
term image

shows repetition

31
New cards

What is the char data type for

A single character

32
New cards

What is the string data type for

A sequence of characters like words

33
New cards

What is the boolean data type for

True or false

34
New cards

What is the real/float data type for

decimal numbers

35
New cards

What is the int data type for

whole numbers

36
New cards

What is the date/time data type for

clock and calendar data

37
New cards

What are arrays?

Collections of homogenous data

38
New cards
39
New cards
Records
structures containing multiple data types under one name
40
New cards
Trees
a hierarchal structure of data. Organised by nodes and branches
41
New cards
Stacks
a structure Last In and first out (LIFO)
42
New cards
Sequential files
Files that are processed from beginning to end
43
New cards
Breakpoints
Execution is stopped allowing you to spot errors in real time
44
New cards
Watches
monitor variables as they change
45
New cards
Inline stepping
execute code line by line to spot bugs
46
New cards
print statements (debugging)
Outputting information into the terminal
47
New cards
Boundary Testing
Uses extreme input values (min/max) to validate code
48
New cards
Path Coverage
Ensures all paths through code logic are tested
49
New cards
Faulty/Abnormal Data Testing
Introduces incorrect data to test robustness
50
New cards

Waterfall Model

A sequential development model with fixed phases. Suitable for well-understood,stable requirements.

51
New cards
Waterfall Cons
The linear nature makes it extremely difficult to accommodate changes once a phase is finished, and late-stage testing means critical errors may not be found until the project is nearly complete.
52
New cards

Agile Pros

provides high flexibility and rapid delivery through iterative cycles, ensuring the product stays relevant to user needs via constant feedback and early bug detection.

53
New cards
Agile Cons
The lack of a fixed scope can lead to scope creep and unpredictable final costs, while the requirement for constant stakeholder involvement can be taxing on resources.