SST Yr8 - NCCE - Programming

SST Yr8 - NCCE - Programming

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Python Strings

Python Strings

11th Grade

21 Qs

python_1

python_1

5th - 12th Grade

22 Qs

Python Iteration

Python Iteration

10th Grade

17 Qs

Review Python Dictionaries

Review Python Dictionaries

9th - 12th Grade

18 Qs

OCR GCSE Subroutines

OCR GCSE Subroutines

10th Grade

20 Qs

Program Development - Python: Conditionals

Program Development - Python: Conditionals

9th - 10th Grade

15 Qs

Tracing Loops in Java

Tracing Loops in Java

12th Grade

17 Qs

Python Functions

Python Functions

12th Grade

15 Qs

SST Yr8 - NCCE - Programming

SST Yr8 - NCCE - Programming

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

M Birchall

Used 6+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 1: The process of finding errors in your code and removing or solving them is called?
A – Filtering
B – Probing
C – Debugging
D – Refining

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 2: Manisha has written the following code and when she runs it, she receives an error. name=input(“Please enter your name: “) print(“Welcome “ name “… loading main menu”) What does Manisha need to do for the code to run as expected?
A: Include concatenation in the print statement
B: The user input needs to be cast to the correct datatype
C: Remove the brackets in the print statement
D: Replace the speech marks with single quotations

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 3: What term do we give to code that contains actions that must be executed one after the other without skipping any.
A: Iteration
B: Sequence
C: Selection
D: Decomposition

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 4: The following code is an example of which programming construct? if choice == 1: print(“Welcome to the user account area”) elif choice == 2: print(“Welcome to the quiz area”) else: print(“You are now being logged off”)
A: Sequence
B: Iteration
C: Decomposition
D: Selection

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 5: The following code is an example of which programming construct? for i = 1 to 10 print(i) next i print(“Coming, ready or not”)
A: Repetition
B: Sequence
C: Decomposition
D: Selection

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 6: Which of the following code makes use of a function?
A: Total = Price * Quantity
B: Name = “Minahil”
C: While Grade != 5
D: Name = input(“Enter your name”)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 7: What arithmetic operator should replace the ‘+’ to give the output the total made from ticket sales? Cost = input(“Enter cost per ticket”) Quantity = input(“Enter the number of tickets sold”) total = Cost + Quantity
A: DIV
B: /
C: MOD
D: *

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?