Paper 1

?
What is the top-down approach?
Break down a problem from the highest level into smaller, manageable sub-problems.
1 of 13
What is the bottom-up approach?
Start solving from the smallest components, progressively building up to a complete solution.
2 of 13
What is modularisation?
Dividing the problem into distinct modules or components for easier management.
3 of 13
What is decomposition?
Breaking a problem into smaller, more manageable sub-problems. It helps make large tasks solvable and enhances clarity.
4 of 13
What is pattern recognition?
Identifying patterns in problems or data to simplify and accelerate solutions.
5 of 13
What is abstraction?
Hiding unnecessary details to focus on essential features. The concept of layers involves abstracting different levels of complexity for clarity.
6 of 13
Explain why data structures are used (list, dictionary)
List - Ordered collection of items that can be of any data type.
Dictionary - Collections of key-value fairs. Each key is unique and is used to access its corresponding value.
7 of 13
Identify correct data types for given variables.
Integer, Float, String, Boolean, Tuple, Set, NoneType.
8 of 13
Explain how comments and meaningful variables names help software developers.
It allows a developer to directly understand why something is there and what it is.
9 of 13
Explain the difference between local and global variables.
Local variables are confined to a function, whilst Global variables are accessible throughout the program.
10 of 13
Explain what relational and Boolean operators are.
Relational operators are used to compare two values. They return a Boolean value (True or False) based on the comparison,
11 of 13
Explain how to use text files for input and output of data.
Used for storing data, input/output is done using Python's open() function and file methods.
12 of 13
What is the difference between loops and while loops.
A for loop is used to iterate over a sequence and execute a block of code for each item in the sequence.

A while loop is used to repeatedly
13 of 13

Other cards in this set

Card 2

Front

What is the bottom-up approach?

Back

Start solving from the smallest components, progressively building up to a complete solution.

Card 3

Front

What is modularisation?

Back

Preview of the front of card 3

Card 4

Front

What is decomposition?

Back

Preview of the front of card 4

Card 5

Front

What is pattern recognition?

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Problem Solving resources »