Câu hỏi về Python

Câu hỏi về Python

9th Grade

30 Qs

quiz-placeholder

Similar activities

PPKn Kelas 9

PPKn Kelas 9

9th Grade

25 Qs

Swachh Bharat Quiz Jawahar Navodaya Vidyalaya Pathanamthitta

Swachh Bharat Quiz Jawahar Navodaya Vidyalaya Pathanamthitta

7th - 10th Grade

28 Qs

Cerdas Cermat 17an Babak 1

Cerdas Cermat 17an Babak 1

9th Grade

25 Qs

QUIZ ALKITAB ALETHEIA BABAK PENYISIHAN

QUIZ ALKITAB ALETHEIA BABAK PENYISIHAN

7th - 9th Grade

25 Qs

 Pendidikan Pancasila PAS 1

Pendidikan Pancasila PAS 1

4th Grade - University

25 Qs

Asesmen Sumatif Tengah Semester 2 IPAS

Asesmen Sumatif Tengah Semester 2 IPAS

5th Grade - University

25 Qs

Fractions, Decimals and Percentages

Fractions, Decimals and Percentages

7th - 9th Grade

26 Qs

Dzień dziecka

Dzień dziecka

1st - 12th Grade

26 Qs

Câu hỏi về Python

Câu hỏi về Python

Assessment

Quiz

Other

9th Grade

Practice Problem

Easy

Created by

nnm nnm

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the result of print(2 ** 3)?

6

8

9

23

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which one is used to define a function in Python?

func

define

def

function

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the data type of x = [1, 2, 3]?

Tuple

List

Dictionary

String

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the len() function do?

Returns the memory size of an object

Returns the length of a string or collection

Returns the largest element in a string

Returns the last element of a list

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which keyword is used to exit a loop in Python?

stop

break

exit

end

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the result of print("Hello" + "World")?

Hello World

HelloWorld

Hello+World

Error

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the correct way to write a single-line comment in Python?

// This is a comment

/* This is a comment */

# This is a comment

$ This is a comment $

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?