NEW
Font size
WorksheetsStudy Comrade | Data Analytics
Total questions: 20
Worksheet time: 7mins
Data Analysis is a process of?
inspecting data
cleaning data
transforming data
All of these
Which of the following is not a major data analysis approaches?
Data Mining
Predictive Intelligence
Business Intelligence
Text Analytics
Data Analysis is defined by the statistician?
William S
Hans Peter Luhn
Gregory Piatetsky-Shapiro
John Tukey
Who developed the Python language?
Guido van Rossum
Niene Stom
Wick van Rossum
None of these
Which type of Programming does Python support?
object-oriented programming
structured programming
functional programming
all of these
Which of the following is the correct extension of the Python file?
.python
.pI
.py
.p
What will be the value of the following Python expression: 4+3%5
7
2
4
1
Which of the following functions can help us to find the version of python that we are currently working on?
sys.version(1)
sys.version(0)
sys.version()
sys.version
Python supports the creation of anonymous functions at runtime, using a construct called __________
pi
anonymous
lambda
none of these
Which of the following is the use of id() function in python?
Every object doesn’t have a unique id
Id returns the identity of the object
Both of these
None of these
What will be the output of the following Python function:
min(max(False,-3,-4), 2,7)
-4
2
None
False
Which of the following is not a core data type in Python programming?
Tuple
List
Class
Dictionary
Which of these is the definition for packages in Python?
A set of main modules
A folder of python modules
A number of files containing Python definitions and statements
A set of programs making use of Python modules
What will be the output of the following Python code snippet?
For i in [1, 2, 3, 4][::-1]:
Print (i)
4 3 2 1
error
1 2 3 4
None of these
Which module in the python standard library parses options received from the command line?
getarg
getopt
main
os
Which of the following statements is used to create an empty set in Python?
( )
[ ]
{ }
set( )
What will be the output of the following Python code snippet?
D = {“john”:40, “peter”:45}
“john”, 40, 45, and “peter”
“john” and “peter”
40 and 45
= (40:”john”, 45:”peter”)
Suppose d = {“john”:40, “peter”:45}
To obtain the number of entries in dictionary which command do we use?
d.size()
len(d)
size(d)
d.len()
Which of the following is invalid?
_a = 1
__a = 1
__str__ = 1
None of these
Which of the following is an invalid statement?
abc = 1,000,000
a b c = 1000 2000 3000
a,b,c = 1000, 2000, 3000
a_b_c = 1,000,000
