Flashcards
IGCSE Computer Science Paper 2

Flashcards do conjunto (30)
- 1What can a problem be decomposed into?Inputs
Processes
Outputs
Storage - 2We can use different methods to solve problems. What is decomposition?Breaking down a complex problem down into smaller, more manageable parts
- 3—Flow line
An arrow represents control passing between the connected shapes
- 4—Process
This shape represents something being
performed or done.
- 5—Subroutine
This shape represents a subroutine call that will relate to a separate, non-linked flowchart.

- 6—Input/Output
This shape represents the input or output of something into or out of the flowchart.
- 7—Decision
This shape represents a decision
(Yes/No or True/False) that results in two lines representing the different possible outcomes.
- 8—Terminator
This shape represents the ‘Start’ and ‘Stop’ of the process.
- 9—NOT
AND
OR
- 10—NAND
NOR
XOR
- 11What is validation?Check to ensure that the data entered is sensible and reasonable under certain parameters
- 12Types of validationrange check (number between 1-5)
length check (length between 1-4)
type check (int, str, char, etc)
presence check (check if user has entered any data)
format check (check if data follows a certain pattern, eg. date) - 13What is verification?Act of checking data is accurate when entered into a system, or transferred across systems
- 14Types of verificationvisual check (prompting the user to check if the inputted credentials are correct)
double entry check (entering the data twice in separate input boxes and then comparing the data to ensure they both match) - 154 types of test datanormal
abnormal
extreme
boundary - 16What is extreme test data?largest/smallest acceptable
value - 17What is boundary test data?is the largest/smallest acceptable
value and the corresponding smallest/largest
rejected value - 18Write a line of code that declares a variable IN PSEUDOCODE

- 19Describe how to declare an array IN PSEUDOCODE

- 20Describe how to write a CASE statement IN PSEUDOCODE

- 21What is an iteration?Repeating a set of instructions...
Until a specific condition is met. - 22What is a selection?Executing different sets of instructions based on certain conditions.
Two main types of selection statements:
IF statements
CASE statements. - 23What are the three types of iterations?Count-controlled loops (FOR)
Precondition loops (WHILE)
Postcondition loops (REPEAT ... UNTIL) - 24How do you open a file IN PSEUDOCODE?OPENFILE SampleText.txt FOR READ
OPENFILE SampleText.txt FOR WRITE
- 25How do you read and write to a file IN PSEUDOCODE?READFILE SampleText.txt
WRITEFILE SampleText.txt, LineOfText
- 26Name the four string operations and describe how they work IN PSEUDOCODELENGTH()
LCASE()
UCASE()
SUBSTRING()
- 27What structure does a 2D array create, and how do you access elements inside a 2D array?Make a grid-like structure with rows and columns
ArrayName[i][j]
[i]: row index
[j]: column index - 28What is the first index value?The first index value is 0 IN BOTH PSEUDOCODE AND PYTHON.
Array = ["apple", "banana", "orange", "grape"]
the string "apple" would be index value 0 - 29What is a variable?

- 30What is a constant?

Informações
- Descrição
- IGCSE Computer Science FlashCards sobre IGCSE Computer Science Paper 2, criado por Julia Kim em 13-01-2024.
- Criado por
- Julia Kim · jan 2024
- Atualizado
- 14 jan 2024
- Visualizações
- 6
- Tags
- Avaliação