Python

Python

10th Grade

15 Qs

quiz-placeholder

Similar activities

Yr7- Understanding computers Lessons 1-3

Yr7- Understanding computers Lessons 1-3

7th - 11th Grade

20 Qs

BP TIK 1

BP TIK 1

10th Grade

10 Qs

TIN HỌC 10 - BÀI 21

TIN HỌC 10 - BÀI 21

10th Grade

10 Qs

HARDWARE AND SOFTWARE

HARDWARE AND SOFTWARE

2nd - 10th Grade

10 Qs

Informatika

Informatika

10th Grade

20 Qs

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th Grade

15 Qs

Chapter 8: Safety and security

Chapter 8: Safety and security

10th - 11th Grade

14 Qs

Quiz Inf X.B

Quiz Inf X.B

10th Grade - University

20 Qs

Python

Python

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

MIZANUL HAKIM

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What is a correct way to declare a Python variable?

_x = 5

2 x = 5

x : 5
5 = x

2.

MULTIPLE CHOICE QUESTION

20 sec • 4 pts

True or False:
You can declare string variables with single or double quotes.
x = "Sma Muhammadiyah 8 Ciputat"
# is the same as
x = 'Sma Muhammadiyah 8 Ciputat'

False

True

3.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

True or False:
Variable names are not case-sensitive.
x = 7
# is the same as
X = 7

False

True

4.

DRAG AND DROP QUESTION

20 sec • 4 pts

Select the correct functions to print the data type of a variable:​

​ (a)   ( ​ (b)   (​ variabel))

print
type
typ
print(
echo

5.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

If name = "indah", what is a correct syntax for printing the data type of the variable name?

print(name.data_type())
print(type of name)
print(name.type)
print(type(name))

6.

FILL IN THE BLANK QUESTION

20 sec • 2 pts

I have a variable and I want to print its data type, what is the data type of the variable?

data = "Andriano M. Daffa"

7.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What will be the result of the following code:

x1 = 90.597

x2 = int(x1)

print(str(x2))

90.597

90,597

91
90

Access all questions and much more by creating a free account

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

Already have an account?