stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
PPC Data Science BootCamp 2020 Final Quiz Flashcards | StudBud
Explore
/
PPC Data Science BootCamp 2020 Final Quiz
PPC Data Science BootCamp 2020 Final Quiz
18 terms
·
StudBud Administration
·
10 plays
Imported from external platform
Flashcards
18 cards
F
Practice quiz
P
Host live
L
Questions
18
Answers
1
Q 9 : What will be the output of the following code ?
True
TrueFalse
False
Error
2
Q 15 : What will be the output of the following Python code snippet?
False
None
True
Error
3
Q 18 : What will be the output of the following Python code?
a b c
0 1 2
None
0 a 1 b 2 c
4
Q 3 : What command is used to insert 6 in a list ‘‘L’’ at 3
rd
position ?
L.add(2,6)
L.insert(3,6)
L.append(3,6)
L.insert(2,6)
5
What will be the output of : "datascience"[2] ?
s
a
t
d
6
Q 10 : Does Python have OOps ( Objected Oriented Programming ) concepts?
True
False
7
What will be the output of the following code ?
2
5
0.5
2.0
8
Q 6 : Which of the following is an invalid variable?
foo
my_string_1
1st_string
_
9
Q 16 : Suppose d = {“john”:40, “peter”:45}, to delete the entry for “john” what command do we use?
d.delete(“john”)
d.delete(“john”:40)
del d[“john”]
del d(“john”:40)
10
Q 18 : Which of the following is performed by Data Scientist?
Define the question
Create reproducible code
Challenge results
All of the mentioned
11
Q 11 : Select the method that gives us all the columns only of a DataFrame, 'file'.
file.describe()
file.columns()
file.columns
file.info()
12
Q 14 : What will be the output of the following Python code snippet?
Error
True
None
False
13
Q 1 : What is the difference between Python Arrays and lists?
List holds only single type of data while array hold any data dtype
Arrays and lists, in Python are the same
I don't know.
Array holds only single type of data while lists hold any data dtype
14
Q 8 : What will be the output of the following Python code?
[‘ab’, ‘cd’]
[‘AB’, ‘CD’]
none of the mentioned
[‘ab’, ‘cd’, ‘AB’, ‘CD’]
15
Q 2 - What is output of following code :
40
41
39
42
16
Q 7 : What will be the output of the following Python code?
[None, None]
none of the mentioned
[‘ab’, ‘cd’]
[‘AB’, ‘CD’]
17
Q 13 : What will be the output of the following Python code?
None of the above
1 2 3
123
Error
18
Q 12 : Which is the correct syntax of creating a function, name simple_calculator ?
create function simple_calculaotr( ) :
def simple_calculator( ) :
def simple_calculator
def simple_calculator( )