Python Revision

Python Revision

10th Grade

17 Qs

quiz-placeholder

Similar activities

แบบทดสอบบทที่ 2 การเก็บรวบรวมและสำรวจข้อมูล ม.5

แบบทดสอบบทที่ 2 การเก็บรวบรวมและสำรวจข้อมูล ม.5

9th - 12th Grade

20 Qs

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

Komunikasi dalam Jaringan

Komunikasi dalam Jaringan

10th - 12th Grade

21 Qs

Repaso TIC- 1º-bach

Repaso TIC- 1º-bach

11th Grade

20 Qs

CSS 10 - QUIZ

CSS 10 - QUIZ

10th Grade

20 Qs

Javascript

Javascript

University

12 Qs

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Quiz on List and Tuples

Quiz on List and Tuples

University

16 Qs

Python Revision

Python Revision

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Christopher Maguire

Used 7+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of variables in a program?

To store data that can be used and changed later

To make the program run faster

To display output on the screen

To store only numbers

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Identify the variables and their data types in the following Python code: name = "Alice" age = 25 is_student = True

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare and assign a value to a variable in Python? Provide an example.

var x = 10

int x = 10

x = 10

declare x = 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? x = 5 y = "5" print(x + y)

10

55

TypeError

5 + 5

5.

OPEN ENDED QUESTION

3 mins • 1 pt

How can you receive user input in Python? Provide an example.

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Explain why variable naming conventions are important in Python.

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Write a program that asks the user for their age and then prints whether they are an adult (18 or older) or a minor.

Evaluate responses using AI:

OFF

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?