Python

Python

Professional Development

35 Qs

quiz-placeholder

Similar activities

AO Tema 5. Cuestionario

AO Tema 5. Cuestionario

Professional Development

30 Qs

6 ÔT GHK 1 - TIN HỌC

6 ÔT GHK 1 - TIN HỌC

Professional Development

33 Qs

Cyber Security

Cyber Security

Professional Development

30 Qs

Quiz - Functions in C

Quiz - Functions in C

Professional Development

30 Qs

Ejercicio de Hoja de Cálculo Excel Básico

Ejercicio de Hoja de Cálculo Excel Básico

Professional Development

30 Qs

ข้อสอบกลางภาค วิทยาการคำนวณ ชั้น ม.1/1

ข้อสอบกลางภาค วิทยาการคำนวณ ชั้น ม.1/1

KG - Professional Development

40 Qs

HCI Long Quiz Midterm

HCI Long Quiz Midterm

Professional Development

30 Qs

HTML Quiz

HTML Quiz

Professional Development

30 Qs

Python

Python

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Abdulalim Mohamed

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...

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Media Image
Media Image
Media Image

1,2,3,4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements create a dictionary?

a) d = {}

b) d = {“john”:40, “peter”:45}

c) d = {40:”john”, 45:”peter”}

d) All of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times will this code loop?

50

90

0

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Look at this code, what shape will it make?
Square
Triangle
Rectangle
Hexagon 

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose list1 is [2445,133,12454,123], what is max(list1)?

a) 2445

b) 133

c) 12454

d) 123

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a=(1,2,3,4), a[1:-1] is _________

a) Error, tuple slicing doesn’t exist

b) [2,3]

c) (2,3,4)

d) (2,3)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To add a new element to a list we use which Python command?

a) list1.addEnd(5)

b) list1.addLast(5)

c) list1.append(5)

d) list1.add(5)

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?