3rd Year August Quiz

3rd Year August Quiz

University

40 Qs

quiz-placeholder

Similar activities

UJIAN MID SEMESTER 1 X RPL SISTEM KOMPUTER

UJIAN MID SEMESTER 1 X RPL SISTEM KOMPUTER

University

35 Qs

Microsoft Excels: Formulas and Functions

Microsoft Excels: Formulas and Functions

12th Grade - University

45 Qs

Quis Java Gunadarma

Quis Java Gunadarma

University

45 Qs

Class Test 1 - CSE 443 (Mobile Telecommunication)

Class Test 1 - CSE 443 (Mobile Telecommunication)

University

40 Qs

Post test Keamanan Jaringan

Post test Keamanan Jaringan

University

40 Qs

Security Part 2( Technical Diploma)

Security Part 2( Technical Diploma)

University

35 Qs

Davinci Resolve 17 Fusion 101

Davinci Resolve 17 Fusion 101

11th Grade - Professional Development

45 Qs

Soal WAN Tkj kls 2

Soal WAN Tkj kls 2

University

41 Qs

3rd Year August Quiz

3rd Year August Quiz

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Anand Bhasme

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

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct way to create a dictionary in Python?

mydict = [1, 2, 3]

mydict = (1, 2, 3)

mydict = {1: 'a', 2: 'b'}

mydict = <1, 2, 3>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of this code?

3

4

5

6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the map() function do in Python?

It maps elements from one list to another

It applies a function to every item of an iterable and returns a list of results

It creates a dictionary from two lists

It creates a map of key-value pairs

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about Python's GIL (Global Interpreter Lock)?

It allows multiple threads to execute Python bytecode at the same time.

It is removed in Python 3.x

It prevents multiple threads from executing Python bytecode simultaneously.

It is required for multi-threaded applications to run.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code print?

99

1

2

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code?

 [1, 2, 3]

[1, 2, 3, 1, 2, 3, 1, 2, 3]

[3, 6, 9]

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a mutable data type in Python?

tuple

list

string

integer

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

Already have an account?