Year 8 Python End of topic assessment

Year 8 Python End of topic assessment

7th Grade

30 Qs

quiz-placeholder

Similar activities

Form 1 - Information Technology Quiz

Form 1 - Information Technology Quiz

7th Grade - University

32 Qs

Web Design Basics Quiz

Web Design Basics Quiz

6th Grade - University

30 Qs

Hardware: Input Devices

Hardware: Input Devices

7th Grade

30 Qs

info

info

6th - 8th Grade

30 Qs

Quiz Grade 7

Quiz Grade 7

7th Grade

30 Qs

Sumatif TIK 7

Sumatif TIK 7

7th Grade

35 Qs

Ôn tập cuối kì I lớp 7 - 2024

Ôn tập cuối kì I lớp 7 - 2024

7th Grade

32 Qs

Python Conditional Statements Quiz

Python Conditional Statements Quiz

7th Grade

25 Qs

Year 8 Python End of topic assessment

Year 8 Python End of topic assessment

Assessment

Quiz

Information Technology (IT)

7th Grade

Hard

Created by

Becky Webb

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to start a comment in Python?

//

#

**

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? ```python print(3 + 4) ```

34

7

3 + 4

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to get input from the user in Python?

get()

input()

read()

scan()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a variable called 'score' with the value 10 in Python?

int score = 10

score = 10

var score = 10

score: int = 10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid Python loop?

for i in range(5):

loop i = 1 to 5

repeat 5 times

while (i < 5)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to check if two values are equal in Python?

=

==

!=

equals

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following code? ```python print(2 ** 3) ```

6

8

9

5

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?