InfytQ Libraries and functions-Quiz 5

Question 1

Time: 00:00:00
Which keyword is used for the function in python?

fun()

fun()

def()

def()

function

function

def

def

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 2

Time: 00:00:00

def solve(): 
    return “Infinity” 
solve()
print(solve())


predict output

Infinity

Infinity

Infinity Infinity

Infinity Infinity

error

error

none of the above

none of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 3

Time: 00:00:00
arr=[1,2,3,4,5,5.0]

print(max(arr))

5.0

5.0

5

5

cannot find maximum element for int and float objects

cannot find maximum element for int and float objects

max() is applicable in this case

max() is applicable in this case

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 4

Time: 00:00:00
What is a library in python?

Set of instructions

Set of instructions

Group of programs

Group of programs

Collection of core modules

Collection of core modules

collection of books

collection of books

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 5

Time: 00:00:00
Which library is used to support multi dimensional and large sized arrays?

sympy

sympy

arrays

arrays

numpy

numpy

pandas

pandas

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 6

Time: 00:00:00
Main purpose of pandas library in python is 

data analysis

data analysis

Array manipulation

Array manipulation

data structures

data structures

To implement algorithms more efficiently

To implement algorithms more efficiently

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 7

Time: 00:00:00
How can we draw graphs in python?

manually

manually

We can't draw graphs in python

We can't draw graphs in python

By using matplotlib library

By using matplotlib library

none of the above

none of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 8

Time: 00:00:00
SciPy  stands for ________

Science and python

Science and python

Scientific python

Scientific python

Science in python

Science in python

Science for python

Science for python

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 9

Time: 00:00:00
Which tool kit is considered as SciPy toolkit

Scipykit

Scipykit

Scipytoolkit

Scipytoolkit

scikit

scikit

scitoolkit

scitoolkit

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 10

Time: 00:00:00
Which keyword is used to add libraries/packages in a python program?

Add

Add

import

import

extract

extract

addModule

addModule

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Completed

0/0

Accuracy

0%

Comments