Computer Science EoY Revision Flashcards
What are the four cornerstones of computational thinking.
Decomposition
Pattern Recognition
Abstraction
Algorithms
Decomposition
Breaking down a complex problem or system into smaller, more manageable parts.
Pattern Recognition
Looking for similarities among and within problems.
Abstraction
Focusing on the important information only, ignoring irrelevant detail.
Algorithms
Developing a step-by-step solution to the problem, or the rules to follow to solve the problem.
What does ASCII stand for?
American Standard Code for Information Interchange
What is ASCII?
This consists of upper-case letters, lower-case letters, digits, punctuation marks, special characters and control characters.
What are the three basic programming constructs?
Sequence
Selection
Iteration
What is selection?
Selection is used to execute only a particular set of statements if a condition is satisfied.
What is iteration?
Iteration is used to execute a particular set of statements repeatedly until a condition is satisfied. There are three ways to create iteration:
What are the three ways to create iteration?
By counting how many times the statements are to be executed.
By repeatedly executing the statements until a condition is true.
By repeatedly executing the statements while a condition is true.
1
On/True
0
Off/False