PYTHON PRACTICE 1

PYTHON PRACTICE 1

8th Grade

18 Qs

quiz-placeholder

Similar activities

Basics Python

Basics Python

8th - 10th Grade

20 Qs

Intro to Python Programming - Year 8

Intro to Python Programming - Year 8

8th Grade - University

20 Qs

Introduction to Python programming

Introduction to Python programming

6th - 8th Grade

20 Qs

Class 8A Unit 9.1 Python Basic

Class 8A Unit 9.1 Python Basic

6th - 8th Grade

20 Qs

Python basic commands

Python basic commands

8th Grade

20 Qs

Python

Python

8th Grade

13 Qs

Review Python

Review Python

8th Grade

15 Qs

Python programming

Python programming

6th - 12th Grade

16 Qs

PYTHON PRACTICE 1

PYTHON PRACTICE 1

Assessment

Quiz

Computers

8th Grade

Easy

Created by

Klea h

Used 1+ times

FREE Resource

18 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 3 pts

Write a single-line comment and a multi-line comment in Python.

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 3 pts

Write a Python program that prints the following message: Welcome to Python programming!

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 3 pts

Write a Python program that asks the user for their favorite color and then prints it.

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 3 pts

Create a variable named my_pet and store "Dog" in it. Then print the variable.

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 3 pts

What will be the output of the following code?

age = "12"

print(type(age))

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 3 pts

What will be the output of the following code?

grade = 87

print(type(grade))

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 3 pts

Convert the number 10 into a string and print its new type.

Evaluate responses using AI:

OFF

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?