Search Header Logo

SST Yr8 - NCCE - Programming

Authored by M Birchall

Computers

9th - 12th Grade

Used 7+ times

SST Yr8 - NCCE - Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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: *

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?