مراجعة عامة على المنهج – الجزء الأول

مراجعة عامة على المنهج – الجزء الأول

10th Grade

20 Qs

quiz-placeholder

Similar activities

Gateway Level 3 Python Quiz 2

Gateway Level 3 Python Quiz 2

9th - 12th Grade

20 Qs

Python Loops Quiz

Python Loops Quiz

10th Grade

20 Qs

Quiz1_7A

Quiz1_7A

2nd Grade - Professional Development

20 Qs

Python - lists,loops,basics

Python - lists,loops,basics

9th - 11th Grade

20 Qs

Python Lists

Python Lists

10th - 12th Grade

15 Qs

Python Syntax

Python Syntax

10th Grade

16 Qs

Python Quiz (part 1)

Python Quiz (part 1)

9th - 12th Grade

20 Qs

Success Criteria (Year 7 -8) Autumn Half-Term 1

Success Criteria (Year 7 -8) Autumn Half-Term 1

8th Grade - University

19 Qs

مراجعة عامة على المنهج – الجزء الأول

مراجعة عامة على المنهج – الجزء الأول

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Mohamed Farouk

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for a for loop in Python?

for i in range(iterable):

for item from iterable:

for item in range(iterable):

for item in iterable:

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the '==' operator do in Python?

Checks for equality between two objects or values

Performs addition between two values

Compares the memory addresses of two objects

Checks if two objects are of the same type

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you print multiple outputs in Python using the print statement?

print('Output 2')

print('Output 1')

print('Output 1', 'Output 2', 'Output 3')

print('Output 3')

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you loop through a list in Python?

for item in range(my_list):

while item in my_list:

for i in range(len(my_list)):

for item in my_list:

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is used to store multiple items in a single variable in Python?

set

tuple

dictionary

list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you iterate over a list using a for loop in Python?

for element in my_list:

for i in range(len(my_list)):

for index, value in enumerate(my_list):

for item in my_list:

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the comparison '5 > 3' in Python?

False

5 == 3

True

3 > 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?