Topic 6: Problem Solving with Programming: revision quiz and key terms
Free practice for Topic 6: Problem Solving with Programming in Pearson Edexcel GCSE Computer Science (1CP2). It covers: developing code, constructs, data types and structures, input/output, operators and subprograms. Try the questions, then check the key terms.
Try 5 free questions
Which construct is most suitable when the number of repetitions is known before the loop starts?
Testing with erroneous data helps check a program can appropriately handle invalid input.
In Python, what is the result of the expression 7 // 2?
In Python, a while loop always runs its code at least once, even if the condition is false at the start.
What is the main difference between a function and a procedure?
In RADevo, this topic has fill-in-the-blank, matching, multiple-choice and true or false activities, and every question you get wrong comes back in Revise today until you've learnt it.
Key terms for Topic 6: Problem Solving with Programming
- Function
- A subprogram that returns a value.
- Input statement
- Allows a program to accept data entered by the user.
- Integer division operator
- Returns only the whole number part of a division.
- Local variable
- A variable that can only be used within the subprogram in which it is declared.
- Logic error
- Occurs when a program runs but produces an incorrect result.
- Parameter
- A value passed into a subprogram when it is called.
- Runtime error
- Occurs while a program is running.
- While loop
- Typically used for condition-controlled repetition.
What Topic 6: Problem Solving with Programming covers
In RADevo this topic has a full topic test and a focused quiz for each part:
- 6.1 Develop Code
- 6.2 Constructs
- 6.3 Data Types and Data Structures
- 6.4 Input and Output
- 6.5 Operators
- 6.6 Subprograms
Teaching Pearson Edexcel GCSE Computer Science (1CP2)?
Set this topic as homework in two clicks, see who has done it and which questions your class got wrong, and start every lesson with a Do Now built from their mistakes.
Start a free 2-week trialRevising for this?
If your school uses RADevo, sign in to do the full quizzes and keep your progress. If it doesn't, show this page to your Computing teacher.
Log in to RADevo