Year 9 Programming Mini Assessment

Quiz
•
Computers
•
9th Grade
•
Easy
Sarah Burchell
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
OPEN ENDED QUESTION
5 mins • 1 pt
Look at the following program source code. When the program is run, the sum of the numbers are not printed out. Explain why this is so. (1)
num1 = input('What is your first number? ')
num2 = input('What is your second number? ')
num3 = input('What is your third number? ')
num4 = input('What is your fourth number? ')
num5 = input('What is your fifth number? ')
Sum = num1+num2+num3+num4+num5
print('The sum is: ', sum)
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Add a welcome message to the first line of the code above (1)
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 2 pts
What are the two modes available to learning how to program in Python? (2)
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
5 mins • 3 pts
Rewrite the following statement in a strict syntax of Python. (3)
if <condition> is true then print <message A> else print <message B.
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
10 mins • 4 pts
Write the code for Python below for a program that performs the following: (4)
Prints a typical welcome message
Followed by a request to input one’s name and age
Assigns these two items of data to variables
Outputs the message:
‘Nice to meet you <name variable>, you are <age variable> years old!’
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
10 mins • 4 pts
Jenny is trying to write a program for her youth club which asks the user to type in their age. If the user’s age is between 10 and 14, then they are eligible to be members. That means, a child who is 10, 11, 12, 13 or 14 can join. If they are not in this age range, they are not eligible to be members. Here is her program:
When Jenny tries to run this program, it will not work. Correct the program above by inserting your proposals in the appropriate places. (4)
Type the full lines of code to show corrections.
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
What is casting?
Evaluate responses using AI:
OFF
8.
OPEN ENDED QUESTION
5 mins • 3 pts
Give me 3 datatypes and an example of each.
Evaluate responses using AI:
OFF
Similar Resources on Wayground
10 questions
Python Selection

Quiz
•
9th - 10th Grade
13 questions
Entry Level - Programming Techniques

Quiz
•
8th - 9th Grade
13 questions
Y9 Homework 1: Python Revisited 1

Quiz
•
9th Grade
10 questions
Python Input/Output

Quiz
•
9th - 12th Grade
10 questions
Flow Charts (OCR GCSE)

Quiz
•
7th - 11th Grade
10 questions
Programming - Test Data

Quiz
•
3rd - 11th Grade
10 questions
ICT General Knowledge Quiz

Quiz
•
3rd Grade - Professio...
10 questions
Module 2 - Lesson 5

Quiz
•
6th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade
14 questions
Points, Lines, Planes

Quiz
•
9th Grade