MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Data Visualization
Quiz 3
1
2
3
4
5
6
7
8
9
10
Q.1
What is the output of the following program?y == lambda x: x * yprint z (6)
A. 48
B. 14
C. 64
D. None of the above
Q.2
What will be the output of the following Python code snippet?d1 = {"john":"peter":d2 = {"john":"peter":d1 > d2
a) True
b) False
c) Error
d) None
Q.3
What does the function re.match do?
(A) matches a pattern at the start of the string
(B) matches a pattern at any position in the string
(C) such a function does not exist
(D) none of the mentioned
Q.4
Point out the correct combination with regards to kind keyword for graph plotting.
‘hist’ for histogram
‘box’ for boxplot
‘area’ for area plots
all of the mentioned
Q.5
What is the output of the following program?squares = {1:2:3:4:5:25}print(squares.pop(4))print(squares)
16{1: 1, 2: 4, 3: 9, 5: 25}
16{1: 1, 2: 4, 3: 9, 4:16, 5: 25}
4{1: 1, 2: 4, 3: 9, 5: 25}
4{1: 1, 2: 4, 3: 9, 4:16, 5: 25}
Q.6
Data Frame in pandas is
a) 1 dimensional array
b) 2 dimensional array
c) 3 dimensional array
d) None of the above
Q.7
This function in the library of Pandas allows you to manipulate data and create new variables:
a) read_csv function
b) Pivot_table function
c) apply function
d) merge function
Q.8
______________ function returns current date and time.
a) SET DATEFIRST
b) SYSDATETIME
c) Cert_ID
d) GETDATE
Q.9
In a SELECT with a GROUP BY clause, a WHERE clause, and a HAVING clause, the WHERE conditions are applied before the HAVING conditions.
a) True
b) False
c) Either True or False
d) None of the above
Q.10
We apply the aggregate function to a group of sets of tuples using the _______ clause.
a) group by
b) group
c) group set
d) group attribute
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page