Paper 2 comp

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

1/21

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:00 PM on 5/18/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

22 Terms

1
New cards

Decomposition

-breaking down a larger program into smaller, more manageable sub programs

2
New cards

Abstraction

removing unnecessary information to focus on important details

3
New cards

Algorithmic thinking

creating step by step process to produce a solution to a problem

4
New cards

Flow chart symbols

line- movement

rectangle-process

rectangle with 2 vertical lines-subroutine

parallelogram-input/output

diamond-decision

oval-terminal(start and stop)

5
New cards

bubble sort

compare first 2 values

if in wrong order swap

compare next 2 continue until end of data set

when swaps are made repeat from start

when no swaps are made stop

-simple algorithm to program, time consuming to execute

6
New cards

merge sort

Split in half continuously until they are split into individual values

combine split data sets which order once merged

repeat until in one large dataset

-efficient

-may not work well for small lists

7
New cards

Insertion sort

take 1st value of data set,now sorted list

next value compare to previous values if,smaller put to left else stay same

repeat until all has been compared

-difficult to implement in high level/amateur programmers

-faster than bubble

8
New cards

linear search

looks one by one comparing to desired value

stops when value is found/or reports not found

-inefficient

-works regardless of order

9
New cards

binary search

picks middle value

determine whether desired is higher or lower

discards middle value and section of list value i not in

repeat until value found/reported not found

-efficient,fewer comparisons

only works when ordered

10
New cards

Authentication

Checking users identity

biometrics

username and password

11
New cards

Input validation

checks whether data matches certain rules

ensures input is sensible

can prevent SQl injection

12
New cards

Maintainability,easier to understand

sub-routines,easier to follow

suitable variable names, can identify purpose

comments,explain what parts of the program do

13
New cards

Testing

ensures program function as expected

iterative-at each stage of development

final-near end of development

14
New cards

test data

normal-typically expected

boundary-very edge of being valid

invalid-correct data type, outside boundaries

erroneous-incorrect data type

15
New cards

low level languages

binary to represent instructions

can only run on certain hardware

refer directly to hardware,programmer must understand how it works

run directly by processer

16
New cards

High level

English word

run on many types of hardware

abstract processor details, focus on what program needs to do

must be translated into machine code to run

17
New cards

compiler

translates every line of code in a program and runs after

produces executable file

run again without recompiling

executable file source code doesn’t have to be seen

ran quickly

18
New cards

interpreter

translates one line and reads line

no executable file

when rerun every line is retranslated

no executable file

slow

19
New cards

editor(ide)

modify code

auto-suggestion of key words

pretty printing(colour-coding)

auto indent

20
New cards

error diagnostics

find/fix errors

breakpoints stop at certain points

stepping, run code from break point one at a time

variable contents checked

21
New cards

runtime nvironment

run code within ide

output seen without external program

VM may be used

22
New cards

Translator

convert high level into machine code to be executed

compilers, interpreters