Python for Data Science (3150713) MCQs

MCQs of Overview of Python and Data Structures

Showing 1 to 10 out of 17 Questions
1.

which feature does not match with python

(a)

open source

(b)

interpreted

(c)

compiled

(d)

high level

Answer:

Option (c)

2.

Garbbage collection introduced in which python version

(a)

2

(b)

1

(c)

3

(d)

4

Answer:

Option (a)

3.

Python is successor of which language?

(a)

XYZ

(b)

Java

(c)

C++

(d)

ABC

Answer:

Option (d)

4.

What is the extentions for the python file?

(a)

python

(b)

py

(c)

pi

(d)

pi3

Answer:

Option (b)

5.

How to execute Python script?

(a)

python filename

(b)

pi filename

(c)

py filename

(d)

run filename

Answer:

Option (a)

6.

Which one of these is not a Built-in Data Structure of python?

(a)

List

(b)

Tuple

(c)

Structure

(d)

Set

Answer:

Option (c)

7.

what is the correct way to set boolean variable myVar to false? 

(a)

myVar = true

(b)

myVar = True

(c)

var myVar = true

(d)

var myVar = True

Answer:

Option (b)

8.

Does python uses dynamic typing?

(a)

Yes

(b)

No

(c)

It depends on python version

(d)

it depends on the data type

Answer:

Option (a)

9.

which is the valid variable name?

(a)

my@Var

(b)

_myVar

(c)

1myVar

(d)

def

Answer:

Option (b)

10.

what will happen if we represent string with triple quotes in python?

(a)

only single or double quotes are valid

(b)

allows multiple line of string

(c)

will remove white space

(d)

multiline comment

Answer:

Option (b)

Showing 1 to 10 out of 17 Questions