python quiz 1

python quiz 1

Professional Development

•

30 Qs

quiz-placeholder

Similar activities

GCP-FOUND -SET7

GCP-FOUND -SET7

Professional Development

•

25 Qs

BiliÅŸim Teknolojileri

BiliÅŸim Teknolojileri

5th Grade - Professional Development

•

25 Qs

Yapay Zeka

Yapay Zeka

Professional Development

•

25 Qs

Computer Application "Filler" Assessment (T2a2)

Computer Application "Filler" Assessment (T2a2)

Professional Development

•

25 Qs

Simulasi Digital SMK Sem-2

Simulasi Digital SMK Sem-2

Professional Development

•

25 Qs

UDL, ARCS, Multimedia Learning

UDL, ARCS, Multimedia Learning

University - Professional Development

•

26 Qs

Kuis RPL Pertemuan 1-2

Kuis RPL Pertemuan 1-2

KG - Professional Development

•

25 Qs

TUGAS SIMDIG DARING KLS X-TB1

TUGAS SIMDIG DARING KLS X-TB1

Professional Development

•

25 Qs

python quiz 1

python quiz 1

Assessment

Quiz

•

Computers

•

Professional Development

•

Practice Problem

•

Easy

Created by

KEERTHI BADUGU

Used 15+ 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

30 sec • 1 pt

What is the output of the following code?

print(2 ** 3);

a) 5


b) 6

c) 8

d) 9

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

a) 2variable


b) variable_name

c) variable-name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct file extension for Python files?

a) .pyth


b) .pt

c) .py

d) .pyt

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to define a function in Python?

a) func


b) define

c) def

d) function.def

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

print("Hello" + "World");

a) Hello World


b) HelloWorld

c) Hello+World

d) Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a core data type in Python?

a) List


b) Dictionary

c) Tuples

d) Class

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert comments in Python code?

a) //


b) #

c) /* */

d) --

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?