Python Programming Quiz

Python Programming Quiz

12th Grade

15 Qs

quiz-placeholder

Similar activities

QUIZ  INFORMATIKA KELAS VIII DAMPAK MEDIA SOSIAL

QUIZ INFORMATIKA KELAS VIII DAMPAK MEDIA SOSIAL

12th Grade

20 Qs

City & Guilds Award in Business Processes

City & Guilds Award in Business Processes

12th Grade

20 Qs

ASPEK LEGAL TIK XII

ASPEK LEGAL TIK XII

12th Grade

20 Qs

Pengayaan Informatika

Pengayaan Informatika

12th Grade

20 Qs

Server Administration- Quiz 1

Server Administration- Quiz 1

12th Grade - University

10 Qs

Informatika Kelas 5 Bab 2

Informatika Kelas 5 Bab 2

5th Grade - University

19 Qs

Quiz 9 (15.09.2021)

Quiz 9 (15.09.2021)

1st - 12th Grade

10 Qs

Online Platform Block Q

Online Platform Block Q

11th - 12th Grade

20 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Sumit Shekhar

Used 1+ times

FREE Resource

AI

Enhance your content

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function in Python?

A function in Python is a keyword used to define classes

A function in Python is a loop that repeats a set of instructions

A function in Python is a variable that stores data

A function in Python is a block of reusable code that performs a specific task.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Numpy stands for __

Number Python

Numerical Python

Numbered Python

Numerically Python

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who invented Numpy Package?

Wes McKinney

Guido Van Ressu

Travis Oliphant

Robert Crook

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can we make Alias of Numpy defining only by np?

TRUE

FALSE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the concept of dictionaries in Python.

Dictionaries in Python are key-value pairs where keys are mutable and can be duplicated.

Dictionaries in Python are key-value pairs where keys are unique and immutable. They are created using curly braces {} and accessed using keys.

Dictionaries in Python are created using square brackets [] and accessed using indexes.

Dictionaries in Python are ordered collections of elements.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a dictionary in Python?

my_dict = {'key1': 'value1', 'key2': 'value2'}

my_dict = {'key1': 'value1'; 'key2': 'value2'}

Use a list instead of curly braces to define key-value pairs

my_dict = dict(key1='value1', key2='value2')

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is NumPy and its significance in Python?

NumPy is primarily used for creating GUI applications in Python

NumPy is significant in Python for its ability to handle large datasets and perform complex mathematical operations with ease.

NumPy is only used for basic arithmetic operations in Python

NumPy is used for web development in Python

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?