CS Y10 GCSE Topic Test 1

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards

What is a programming construct?

A programming construct determines the order in which lines of code are executed and controls the logic and behaviour of code.

2
New cards

The three core programming constructs are?

The three core programming constructs are sequence, selection, and iteration.

3
New cards

Define sequence.

Sequence refers to lines of code which are run one line at a time in the order they are written from first to last.

4
New cards

What is selection?

Selection is when the flow of a program is changed depending on a set of conditions, determining which lines or block of code runs next.

5
New cards

Two ways to write selection statements are?

Two ways to write selection statements are: if…then…else statements and case/switch statements.

6
New cards

Define iteration.

Iteration is repeating a line or block of code using a loop.

7
New cards

State two types of Iteration.

Iteration can be count controlled (e.g. for loop) or condition controlled (e.g. while loop).

8
New cards

The keywords indicating selection are?

The keywords indicating selection are if, elseif, else, endif, switch, case.

9
New cards

The keywords indicating iteration are?

The keywords indicating iteration are for, while, do.

10
New cards

If no selection or iteration keywords, the construct is?

If no selection or iteration keywords are present, the construct is sequence.

Explore top flashcards