PYTHON PRACTICE 1

PYTHON PRACTICE 1

8th Grade

18 Qs

quiz-placeholder

Similar activities

Python Recap

Python Recap

7th Grade - University

20 Qs

python String and comment

python String and comment

3rd Grade - University

13 Qs

Python Basics

Python Basics

8th - 12th Grade

23 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

Python Basics

Python Basics

KG - University

16 Qs

Python Revision

Python Revision

8th Grade

15 Qs

Python basics

Python basics

2nd - 9th Grade

20 Qs

Intro to Python

Intro to Python

6th - 8th Grade

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

Discover more resources for Computers