Python Module 1

Python Module 1

University - Professional Development

13 Qs

quiz-placeholder

Similar activities

Sains Komputer Tingkatan 4 - 3.1.1 Mengkaji keperluan intera

Sains Komputer Tingkatan 4 - 3.1.1 Mengkaji keperluan intera

1st Grade - Professional Development

10 Qs

Latihan Ujian TKJ - Bagian A1

Latihan Ujian TKJ - Bagian A1

7th Grade - University

10 Qs

AB1401 Case Study: Facebook

AB1401 Case Study: Facebook

University

12 Qs

Archivos

Archivos

University

17 Qs

GIS Unit III

GIS Unit III

University

15 Qs

Topic Quiz-1 : Python Basics

Topic Quiz-1 : Python Basics

Professional Development

10 Qs

Quiz 1 CCE

Quiz 1 CCE

University

15 Qs

Computer and Other Human Inventions

Computer and Other Human Inventions

University

15 Qs

Python Module 1

Python Module 1

Assessment

Quiz

Computers

University - Professional Development

Practice Problem

Hard

Used 38+ times

FREE Resource

AI

Enhance your content in a minute

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

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How do you create a variable with the numeric value 5?

x = 5

Both the answers are correct

x = int(5)

None

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Is python compiled language ?

Yes

No

No Idea

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output of :

a = 4.5

b = 2

print( a//b )

2.0

2.5

2.25

Error

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What will be the output of above program

OLDDY

NEWDY

Error

None

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What will be the output of above program

40

42

38

36

6.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Which of the following are true of Python dictionaries:

Dictionaries are accessed by key.

Dictionaries can be nested to any depth.

All the keys in a dictionary must be of the same type.

A dictionary can contain any object type except another dictionary.

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command is used to insert 6 in a list "L" at 3rd position?

L.insert(3,6)

L.add(3,6)

L.insert(2,6)

L.append(2,6)

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?

Discover more resources for Computers