computational thinking

0.0(0)
studied byStudied by 2 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/108

flashcard set

Earn XP

Description and Tags

Cambrdige AS level computer science 2025. Textbook references: Cambridge International AS and A level computer science coursebook Sylvia Langfield, David Duddell 2019 press ||| Cambrdige International AS and A Levels Computer science by David Wastson, Helen Williams press 2019

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

109 Terms

1
New cards

what is computational thinking used for

to study a problem and formulate an effective solution

2
New cards

what is abstraction

extracting information and only including what is necessary to solve that problem

3
New cards

what is in computational thinking

abstraction, decomposition, pattern recognition

4
New cards

what do you need to keep in mind in abstraction

purpose and information

5
New cards

what is decomposition

process of breaking a complex problem into smaller parts until a smallest unit is found

6
New cards

what is used for decomposition

flowcharts, structure diagrams

7
New cards

what is pattern recognition

identification of parts of a problem and could use the same solution

8
New cards

what are algorithms

ordered set of steps to be followed

9
New cards

what is structured english

agreed subset of straightforward english words that consists of command statements used to describe an algorithm

10
New cards

what is a flowchart

diagrammatic representation of an algorithm

11
New cards

what is pseudocode

a way of using keywords and identifies to describe an algorithm without following the syntax of a particular programming language

12
New cards

what is stepwise refinment

subdividing each part of a larger problem into a series of smaller parts

13
New cards

what is a logical approach to analysing a program

computational thinking

14
New cards

what gived the power to deal with complexity when approaching a problem?

Abstraction

15
New cards

what leads us to the concept of program modules and using procedures and functions?

Decomposition

16
New cards

what involved analysing and organising data while setting up abstract data types to model real-world concepts?

data modelling

17
New cards

what is data modelling

process of abstracting real-world entities into structured representations

18
New cards

what is an assignment

a value associated with a given identifier that can be changed

19
New cards

what is a sequence

number of steps that are performed one after the other

20
New cards

what is selection

under certain conditions some steps are performed otherwise something else is performed

21
New cards

what is repetition

sequence of steps performed a number of times

22
New cards

what is iteration

process of repeating steps

23
New cards

what is looping

a code structure that enables iterations

24
New cards

what is the scope of iteration

a single execution of the loop body

25
New cards

what is the scope of looping

the entired block of code that repeats

26
New cards

which is syntax-dependent : iteration or looping?

looping

27
New cards

which can occur alone via recursion or manual repetition? : iteration or looping

iteration

28
New cards

what is count-controlled iteration

fixed repetitions

29
New cards

what is condition-controlled iteration

repeating until a conditon is met

30
New cards

what is the focus with looping

how the repetition is implemented

31
New cards

what is the focus with iteration

what is beign repeated

32
New cards

which is conceptually broader? : iteration or looping?

iteration

33
New cards

how is iteration different from looping?

it is a process of repeating steps and not the conde structure that enabes it

34
New cards
<p>what is this? </p>

what is this?

structured english

35
New cards
<p>what is this? </p>

what is this?

pseudocode

36
New cards
<p>what is this? </p>

what is this?

flowchart

37
New cards

what is a variable?

a storage location for a data value that has an identifier

38
New cards

what is an identifier table

somethinng listing the variable identifiers required for the solution

39
New cards

what does an identifier provide other that the variable identifiers

explanations and data types

40
New cards

what is a nested IF statement

conditional statements within conditional statements

41
New cards

what is a rogue value

a value used to terminate a sequence of values

42
New cards

how does a rogue value operate

its the same data type but outside the range of normal expected values

43
New cards

which lood do you use when…? : it is known how many repetitions are requred

FOR loop

44
New cards

which lood do you use when…? : statements inside the loop might never be executed

WHILE loop

45
New cards

which lood do you use when…? : statements inside the loop are to be executed at least once

REPEAT loop

46
New cards

what is a procedure

a sequence of steps that is given an identifier and can be called to perform a sub-task

47
New cards

what is a function

a sequence of steps that is given an identifier and returns a signle value

48
New cards

which returns a value? : function or procedure

function

49
New cards

which is called? : function or procedure

procedure

50
New cards

what can you use to decompose a problem into sub-tasks

Modules

51
New cards

functions and procedures are examples of…?

Modules

52
New cards

what does a function definiton state

data type of the returned value

53
New cards

what is an advantage of modules

each can be reused in other solutions

54
New cards

what is designed to be self-contained

Modules

55
New cards

what does it mean when a module is self-contained

does not rely on external variables

56
New cards

what makes a module independent and reusable?

local variables

57
New cards

what is a local variable

a variable that is accssible only within the module in which it is declared

58
New cards

what is a global variable

a variable that is accessible from all modules

59
New cards

which type of variable can cause issues in a program with multiple modules but used in multiple locations?

global variables

60
New cards

what is an identifier?

input storage location with a specified name

61
New cards

what is algorithm design

developing step by step instructions to solve a problem

62
New cards

what is similar to a recipe

an algoritm

63
New cards

what makes an algorithm difficult or impossible

insrtuctions are not followed in the correct logical sequence

64
New cards

how do you know you have a good algorithm/code

takes up little computer memory and fast to execute

65
New cards

what is an assignment

pratical application for problem-solving

66
New cards

what does an assignment intergrate

data modelling and algorithmic problem solving

67
New cards

what do assignments define

clear entities and relationships

68
New cards

what should you do when given an assignment

break down into modular functions

69
New cards

what is a logical statement

declarative expression that evaluates to a Boolean value

70
New cards

what enables conditional execution

logical statements

71
New cards

is this a good example of a variable name: Num of students

No

72
New cards

is this a good example of a variable name: Num_of_students

yes

73
New cards

how do you properly declare a variable

with letters, numbers, no spaces

74
New cards

if you can’t use spaces when declaring a variable, what do you do?

use underscores instead

75
New cards

where should a letter be when declaring a variable

not as the first character

76
New cards

what does a loop do

help avoid writing the same lines of code over and over

77
New cards

what is computational thinking

problem solving process where a number of steps are taken in order to reach a solution

78
New cards

what process of computational thinking do things like maps, calandars use

abstraction

79
New cards

what is manaegd by well-defined objects and their heirachial classification?

abstraction

80
New cards

what computational thinking method uses many standard algorithms to solve standard problems

pattern recognition

81
New cards

what resembles a standard program

subroutines

82
New cards

what do subroutines have that make it resemble a standard program

its own variables, data types, lables, constant declarations

83
New cards

what is a parameter

a value that is received in a subroutine

84
New cards

which is considered as default passing : ByRef or ByVal

ByRef

85
New cards

which one passes the value of the variable : ByRef or ByVal

ByVal

86
New cards

what happens when you change the value of a variable in ByRef passing

revised value goes back to the main code

87
New cards

what happens when you change the value of a variable in ByVal

changed made will not be passed back into main code

88
New cards

what is an assignment statement

fundemental programming construct that stores in a variable for storage and data manipulation

89
New cards

what is the order of execution in assignment statements

right hand expressions are fully evaluated before assignment

90
New cards

what is the structure of an assignment statement

variable name, assignment operator, value

91
New cards

why are assignment statements important

programs can’t track state, process data or make decisions dynamically

92
New cards

what is a sub-system

self-contained component within a larger system that performs a specifc and well defined task

93
New cards

what do sub-systems align with

decomposition

94
New cards

what is a role in program solving does a sub-system have

improving maintainability

95
New cards

why do sub-systems matter

enables efficient problem solving by focusing on individual tasks

96
New cards

what is an advataged of using sub-systems

simplified error detection

97
New cards

what is the wording in structured english that can be used for : input and output

enter, read, print, write

98
New cards

what is the wording in structured english that can be used for : selection

if, then, choose

99
New cards

what is the wording in structured english that can be used for : iteration

loop, repeat

100
New cards

what is the wording in structured english that can be used for : process

set, calculate