2023-24 - Y8 - Python Programming - Quiz 1

2023-24 - Y8 - Python Programming - Quiz 1

7th Grade

10 Qs

quiz-placeholder

Similar activities

SISTEM KOMPUTER 1

SISTEM KOMPUTER 1

1st - 12th Grade

15 Qs

Selection Control Structure  Quiz

Selection Control Structure Quiz

6th Grade - University

10 Qs

Python Quiz

Python Quiz

6th - 8th Grade

10 Qs

Code.org Unit 2 - Web Development

Code.org Unit 2 - Web Development

6th - 8th Grade

15 Qs

Direct Data Entry

Direct Data Entry

7th - 11th Grade

12 Qs

Python Year 9 Final Recall Activity

Python Year 9 Final Recall Activity

7th - 9th Grade

15 Qs

Printing in Python

Printing in Python

6th - 10th Grade

12 Qs

ICS Troubleshooting

ICS Troubleshooting

6th - 12th Grade

6 Qs

2023-24 - Y8 - Python Programming - Quiz 1

2023-24 - Y8 - Python Programming - Quiz 1

Assessment

Quiz

Computers

7th Grade

Hard

Created by

Courtney Owen

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of programming language is Python?
Block-based
Hybrid-based
Text-based
Compiled-based

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does "syntax" refer to in programming?
How words and symbols are arranged to form correct code.
Finding and correcting mistakes in code.
Running a program on a computer.
Making code faster.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Why would the code shown produce a syntax error?
The print function is misspelt
The closing parenthesis (bracket) is missing

The string value 'Hello' is not surrounded in speech marks

The code is missing spaces

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these values is a string?
24
"True"
False
15.8

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these best describes an integer data type?
A sequence of characters
A decimal number
True or False
A whole number

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the "print" function in Python do?

It prompts the user to input a value

It performs a mathematical operation
It displays an output on the screen
Nothing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What will the code shown output to the screen?
6
One Two Three
123
OneTwoThree

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?