0% found this document useful (0 votes)
20 views112 pages

S. No. Question Text

The document contains a comprehensive list of questions related to Python programming, covering topics such as syntax, data types, functions, object-oriented programming, and data analysis. It also includes questions about statistics, machine learning concepts, and data visualization techniques. The questions are structured to test knowledge and understanding of both Python and data science principles.

Uploaded by

rreddy64034
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views112 pages

S. No. Question Text

The document contains a comprehensive list of questions related to Python programming, covering topics such as syntax, data types, functions, object-oriented programming, and data analysis. It also includes questions about statistics, machine learning concepts, and data visualization techniques. The questions are structured to test knowledge and understanding of both Python and data science principles.

Uploaded by

rreddy64034
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 112

S. No.

QUESTION TEXT

1 Who created Python programming language?

2 Python is a __________ language.

3 Which of the following is a valid Python variable name?

4 The correct extension of Python files is:

5 Python uses __________ to group blocks of code.

6 Which of these is not a basic data type in Python?

7 How do you take input from the user in Python?

8 What function is used to display output in Python?

9 What will type(3.14) return?

10 Which keyword is used for decision making in Python?

11 How do you start an else block?

What will be the output?


if 3 > 5:
print("Yes")
else:
12 print("No")

13 Which one is not a comparison operator?

14 Which operator is used for 'not equal' in Python?

15 Which loop is used when the number of iterations is known?

16 The break statement is used to:


What is output?
for i in range(3):
17 print(i)

18 A while loop continues as long as:

19 Functions are defined using:

20 What is the keyword to return a value from a function?

21 Which line calls a function named add?


What is printed?
def greet():
print("Hi!")
22 greet()

23 What is a function without return statement called?


24 Python was created in:

25 Which variety of Python runs on Java environment?

26 Which is the default Python interpreter?

27 Python was named after:

28 Python code files have extension:

29 What does the following do? print(2 + 3)

30 What will this print? print("Hello" + "World")

31 Choose the correct output: a=5, b='5', print(a + int(b))

32 input() function returns:

33 What does this code print? for i in range(2, 5): print(i)

34 Python is:

35 What keyword skips to the next loop iteration?

36 Which one is immutable?

37 What will happen if you miss indentation?

38 Python is a __________ language.

39 What is the starting index in Python?

40 Which one is not a keyword?

41 To declare a comment, which symbol is used?

42 Python code is executed in:

43 Which of the following is an integer value?

44 What is 5//2 in Python?

45 elif is short for:

46 Function without parameters is called:

47 Which one is a Boolean value?

48 Who is the father of Python?

49 What is problem-solving in programming?

50 Why is Python considered powerful for problem-solving?

51 What is the first step in solving a problem with Python?

52 What should you identify when understanding a problem?


53 What is involved in planning a solution?

54 What is an algorithm?

55 What is pseudocode?

56 What does a flowchart use to represent a decision?

57 Which symbol in a flowchart represents the start or end point?

58 What is the purpose of testing the code?

59 What does refining a solution involve?

60 Which Python data structure is mutable and ordered?

61 What is a characteristic of a tuple?

62 When should you use a set in Python?

63 What is a dictionary used for?

64 Which data structure would you use for a to-do list?

65 Which data structure is best for storing fixed coordinates?

66 What happens when you add a duplicate item to a set?

67 How do you add a new key-value pair to a dictionary?

68 What is a SyntaxError?

69 What causes a ValueError?

70 What is a TypeError?

71 What causes an IndexError?

72 What is a KeyError?

73 What is the purpose of a try-except block?

74 What happens in the else block of a try-except?

75 What is the role of the finally block?

76 Which debugging technique involves adding print statements?

77 What is the purpose of the pdb module in Python?

78 What is unit testing?


What is the output of print(sum_of_two(3, 5)) for the function def
79 sum_of_two(a, b): return a + b?

80 What does the following code do: students.append("David")?

81 What is the output of print(coordinates) for coordinates = (10, 20)?


What happens when you run tags.add("learning") on tags =
82 {"python", "programming", "tutorial"}?
What is the output of print(student_grades) for student_grades =
83 {"Alice": 90, "Bob": 85, "Charlie": 88}; student_grades["David"] = 92?

84 Which data structure would you use for storing unique blog tags?
What is the output of print(inventory) for inventory = {"apple": 10,
85 "banana": 5, "orange": 7}; inventory["apple"] += 5?

86 What error occurs for print("Hello World"?

87 What error occurs for int("Hello")?

88 What error occurs for "5" + 10?

89 What error occurs for my_list = [1, 2, 3]; print(my_list[5])?


What error occurs for my_dict = {"name": "Alice"};
90 print(my_dict["age"])?

91 Which is an invalid String ?

92 What does the else block do in a try-except?

93 What does the finally block do in a try-except?

94 Which is an invalid Arithmetic Operator?

95 Which is an invalid Arithmetic Operator?

96 What is a common cause of errors in Python?

97 What framework can be used for unit testing in Python?

98 What is the benefit of reading error messages?

99 What is Object-Oriented Programming (OOP)?

100 Why is OOP useful for AI programs?

101 What makes Python good for OOP?

102 What is a class in Python?

103 What is an object in Python?

104 What does an attribute store in a class?

105 What is a method in a class?

106 What does the __init__ method do?

107 In object-oriented programming, what is a class?

108 What does self mean in a class method?

109 What is encapsulation in OOP?

110 How do you make an attribute private in Python?


111 What is an object in Python's object-oriented programming?

112 What is inheritance in OOP?


What can a FlyingRobot class do if it inherits from Robot class with a
113 move method?
Which of the following best describes the purpose of the __init__
114 method in a Python class?

115 What is polymorphism in OOP?

116 What is a common mistake in a class method?

117 What error occurs if you forget self in a method?

118 What does a try-except block do in a class?

119 What error is caught in except ZeroDivisionError?

120 How can you find mistakes in a class?

121 What is a good tip for naming classes?

122 Why should a class do only one job?

123 What should you add to explain your class?

124 What do statistics do in AI?

125 Which statistics summarizes data?

126 What does inferential statistics help with?

127 Why is understanding data important in AI?

128 Which is a summary statistic?

129 What does a histogram show?

130 Which plot shows outliers?

131 How are outliers found using Z-scores?

132 What does Interquartile Range (IQR) find?

133 What can descriptive statistics find in customer data?

134 What is the goal of feature selection?

135 Which method checks variable relationships?

136 What does Mutual Information measure?

137 What does PCA do?

138 Which feature matters more for house prices?

139 How does feature selection save computing power?


140 Which is NOT a feature selection method?

141 What does optimization do in AI?

142 Which method is used in deep learning optimization?

143 What does Gradient Descent change in a neural network?

144 Which method reduces large weights?

145 What is hyperparameter tuning for?

146 Which method helps tune hyperparameters?

147 What does minimizing loss in a neural network do?

148 What do statistics help AI algorithms do?

149 Which is a visualization method?

150 What can summary statistics find?

151 Which measures data spread?

152 What does a box plot show?

153 What does PCA help with?

154 Which method uses statistical dependency?

155 What can visualization show in customer data?

156 What does L1 regularization prevent?

157 Which is a real-time AI use of statistics?

158 What does standard deviation measure?

159 Which is NOT used in data understanding?

160 What does feature selection improve?

161 What does Bayesian optimization do?

162 Which plot shows variable relationships?

163 What does high correlation mean?

164 Why are data patterns important in AI?

165 Which is an optimization method?

166 What does the mean show?

167 Which method finds data anomalies?

168 What does removing irrelevant features improve?


169 What do statistics measure in data relationships?

170 Which method reduces errors in optimization?

171 What does a scatter plot show?

172 Why reduce overfitting in AI?

173 What do statistics provide in AI?

174 What shape is a normal distribution?

175 In a normal distribution what equals the mean?


What percent of data is within one standard deviation in a normal
176 distribution?

177 What type of distribution is binomial?

178 What does Poisson distribution model?


If P(A) = 0.4 and P(B) = 0.5 and A and B are independent what is P(A
179 intersection B)?

180 What does correlation measure?

181 What is the range of the correlation coefficient?

182 What is logistic regression used for?

183 What does high variance cause in a model?

184 In Bayes' Theorem what is P(B)?

185 Is a normal distribution symmetrical?

186 What rule applies to normal distribution?

187 What does regression predict?

188 In a binomial experiment trials are:

189 In Y = mX + b what is m?

190 What does high bias cause?

191 What is the total area under a probability density curve?

192 What does Poisson distribution assume?

193 Which distribution is used for binary classification?

194 What does a correlation of 0 mean?

195 Which is not a valid probability?

196 When mean equals variance which distribution is it?

197 In a positively skewed distribution what is true?


198 Where is bias-variance tradeoff important?

199 What is the goal of bias-variance tradeoff?

200 What is a perfect positive correlation?

201 A model fitting training data too well has:

202 What is the outcome of a Bernoulli trial?

203 What is the sum of probabilities in a binomial distribution?

204 What is regression used for?

205 What is not needed in Bayes' Theorem?

206 When does overfitting happen?

207 What is the mean of a binomial distribution?

208 What does correlation measure?

209 What is the probability of the complement of A?

210 In normal distribution 95% of data is within:

211 What is a probability distribution?

212 What is normal distribution's shape?

213 What does binomial count?

214 What does Poisson count?

215 What is the mean in normal distribution?

216 What is the sum of probabilities?

217 What is null hypothesis?

218 If p-value is low (<0.05) what do we do?

219 What is Type I error?

220 What is a common confidence level?

221 What test compares two means?

222 If p-value is high (>0.05) what happens?

223 What is hypothesis testing for?

224 What is alternative hypothesis?

225 What is entropy?

226 When is entropy high?


227 What is entropy of same-class data?

228 Where is information gain used?

229 High information gain is?

230 Which of the following are NOT true about entropy in data science?

231 Zero information gain means?

232 What does regression predict?

233 What is linear regression formula?

234 In regression m is?

235 What does correlation show?

236 What is correlation range?

237 Correlation of 0 means?

238 High R-squared means?

239 Regression minimizes what?

240 What is regression intercept?

241 Correlation of +1 is?

242 Confusion matrix is for?

243 What is accuracy?

244 What is precision?

245 Recall is also called?

246 False positives are?

247 High bias causes?

248 High variance causes?

249 Bias-variance tradeoff balances?

250 Total error includes?

251 What is data?

252 Which of the following is an example of data?

253 What does "processing data" mean?

254 What is "information"?

255 Which of these is *not* a type of data?


256 Which device helps input data into a computer?

257 Which software is often used to process and analyze data?

258 Which format is used to store structured data?

259 A table with rows and columns used for data is called:

260 Which of these is a spreadsheet software?

261 Which formula in Excel adds numbers?

262 What is a "cell" in Excel?

263 Which symbol is used to start a formula in Excel?

264 What does "data cleaning" mean?

265 Which file type is commonly used in Excel?

266 Which operation is NOT used for processing data in Excel?

267 Which tab helps you create charts in Excel?

268 You use "Sort A to Z" to arrange data in:

269 Data Analysis helps us to:

270 Which of these is a basic method of analyzing data?

271 A chart helps in:

272 Which of these shows data trends over time?

273 Which chart type shows parts of a whole?

274 What does a bar chart represent?

275 In a graph, the vertical axis is usually called:

276 In data analysis, a "trend" means:

277 Which is the correct order for analyzing data?

278 Which of these helps make data easier to understand?

279 What does AI stand for?

280 Which of these is an example of AI in daily life?

281 Which is *not* a type of chart in Excel?

282 If data = [5, 10, 15], what is the average?

283 What comes next: 2, 4, 6, __?

284 What is the smallest unit of data?


285 If you sort data by age in ascending order, what comes first?

286 Which is used for calculations in a spreadsheet?

287 To remove repeated data entries, we use:

288 Which of these shows a summary of data?

289 Which data structure does NumPy mainly use?

290 Which of the following imports NumPy correctly?

291 What is the output of np.arange(4)?

292 What function returns the number of dimensions?

293 How do you get the data type of array elements?

294 Which NumPy function sorts an array?

295 What does np.mean() compute?

296 Which function reverses the elements in a NumPy array?

297 What is np.zeros(3,3)?

298 What does np.random.rand(2) generate?

299 What does np.dot() do?

300 np.eye(2) returns:

301 How to reshape a 1D array into 2D?

302 What is slicing used for?

303 What does axis=0 mean in aggregation functions?

304 np.array([[1,2],[3,4]]).shape returns?

305 np.max([1, 3, 2]) returns?

306 Which one finds the standard deviation?

307 What does np.max() do?

308 Which function stacks arrays vertically?

309 Which is a boolean array method?

310 np.arange(2,10,2) gives?

311 np.argmax([1, 3, 2]) returns?

312 What does arr.flatten() do?

313 What is the main data structure in Pandas?


314 What does pd.Series([10, 20, 30]) create?

315 df.shape gives?

316 Which method renames columns?

317 df['A'] - df['B'] does?

318 Which method reads a CSV file?

319 How to set index in a DataFrame?

320 df.iloc[0,0] returns?

321 How to drop rows with missing data?

322 What does df.mean() return?

323 Which method sorts values?

324 What is df.isnull() used for?

325 df.fillna(0) does?

326 Which axis drops columns?

327 What is df.value_counts() used for?

328 df.loc[1] does?

329 df.columns returns?

330 How to check for duplicate rows in pandas?

331 How to convert DataFrame to CSV?

332 What does df.iloc[-1] return?

333 Which method drops duplicates in DataFrame?

334 df.dtypes shows?

335 How to access column 'Age'?

336 Which library is Seaborn built on top of?

337 What is the common import alias for Seaborn?

338 Which function is used to draw a bar plot in Seaborn?

339 Which function draws a boxplot in Seaborn?

340 Which function shows a heatmap in Seaborn?

341 Seaborn is mainly used for?

342 Which function draws a histogram with a KDE line?


343 Which function creates a pairwise plot of numerical data?

344 How to set a specific style in Seaborn?

345 sns.scatterplot() is used for?

346 Which parameter adds hue (color group) in Seaborn?

347 Which function can be used for line plots in Seaborn?

348 Which Seaborn function plots a violin plot?

349 Which argument sets x-axis in seaborn plots?

350 sns.countplot() is used to?

351 How to change color palette in Seaborn?

352 Which function is used to load sample datasets in Seaborn?

353 Seaborn plots are rendered using?

354 sns.lmplot() is used to?

355 What is the main function to show graphs in Matplotlib?

356 What is the common import alias for Matplotlib.pyplot?

357 Which function displays the plot?

358 Which function is used to add a title?

359 plt.xlabel() is used to?

360 plt.legend() is used for?

361 Which function plots bar chart in Matplotlib?

362 Which command creates a histogram in Matplotlib?

363 How to create scatter plot in Matplotlib?

364 How to plot multiple lines?

365 How to change figure size?

366 Which command adds grid to a plot?

367 Which color is represented by 'r' in Matplotlib?

368 How to save a plot?

369 What is 'alpha' in plt.plot?

370 Which function adds y-axis label?

371 How to change color of line?


372 Which function shows ticks?

373 Which parameter in plt.plot() sets line style?

374 Which plot is best for time series?

375 How to combine multiple plots?


TOPIC NAME OPTION1 OPTION2

Python ProgrammiDennis Ritchie Guido van Rossum

Python ProgrammiLow-level High-level

Python Programmi2var var_2

Python Programmi.pyt .pt

Python ProgrammiBrackets Indentation

Python ProgrammiString List

Python Programmiget() input()

Python Programmiwrite() print()

Python Programmiint float

Python Programmidecide choose

Python Programmielse() else:

Yes No

Python Programmi

Python Programmi"==" !=

Python Programmi!= <>

Python Programmifor while

Python ProgrammiSkip one iteration Exit from a loop

012 123
Python Programmi

Python Programmicondition is False condition is True

Python Programmifunction define

Python Programmioutput return

Python Programmicall add() add()

greet Hi!

Python Programmi

Python ProgrammiVoid function Null function


Python Programmi1989 1991

Python ProgrammiCPython Jython

Python ProgrammiCPython Jython

Python ProgrammiA snake A TV show

Python Programmi.txt .html

Python Programmi2+3 23

Python ProgrammiHello World HelloWorld

Python Programmi10 55

Python ProgrammiInteger String

Python Programmi2 3 4 2345

Python ProgrammiInterpreted Compiled

Python Programmiskip next

Python ProgrammiList Tuple

Python ProgrammiNothing Warning

Python ProgrammiStructured Object-Oriented

Python Programmi0 1

Python Programmidef return

Python Programmi// #

Python ProgrammiCompiler Interpreter

Python Programmi"22" 22

Python Programmi2.5 3

Python Programmielse if else

Python ProgrammiSimple function Null function

Python Programmitrue True

Python ProgrammiJames Gosling Guido van Rossum

Python ProgrammiWriting code without plUsing code to solve a specific

Python ProgrammiIt has complex syntax It is beginner-friendly with man

Python ProgrammiWrite the code Test the code

Python ProgrammiKey information, inputsThe programming language to


Python ProgrammiWriting the final code Breaking the problem into smal

Python ProgrammiA programming languaA set of steps to solve a prob

Python ProgrammiA programming languaA way to plan algorithms in pl

Python ProgrammiRectangle Oval

Python ProgrammiRectangle Oval

Python ProgrammiTo write the algorithm To check for correctness and

Python ProgrammiWriting the initial code Optimizing for performance and

Python ProgrammiTuple Set

Python ProgrammiIt is mutable It is immutable

Python ProgrammiTo store key-value pairTo store unique items

Python ProgrammiStoring ordered, mutabMapping keys to values

Python ProgrammiTuple Set

Python ProgrammiList Tuple

Python ProgrammiIt is added It is ignored

Python Programmidict.append(key, value)dict[key] = value

Python ProgrammiAccessing a non-existeIncorrect code syntax

Python ProgrammiMissing parentheses Inappropriate value for a funct

Python ProgrammiAccessing a non-existeApplying an operation to an in

Python ProgrammiAccessing a non-existeAccessing an out-of-range ind

Python ProgrammiAccessing a non-existen


Incorrect syntax

Python ProgrammiTo write pseudocode To handle errors gracefully

Python ProgrammiIt runs if an error occurIt runs if no error occurs

Python ProgrammiIt runs only if an error It runs only if no error occurs

Python ProgrammiUsing a debugger Reading error messages

Python ProgrammiTo write pseudocode To debug code with breakpoin

Python ProgrammiWriting pseudocode Testing code to ensure it wor

Python Programmi3 5

Python ProgrammiAdds 'David' to a set Adds 'David' to a list

Python Programmi[10, 20] (10, 20)


Python ProgrammiIt raises an error It adds 'learning' to the set

Python Programmi{"Alice": 90, "Bob": 85, {"Alice": 90, "Bob": 85, "Charli

Python ProgrammiList Tuple

Python Programmi{"apple": 10, "banana": {"apple": 15, "banana": 5, "ora

Python ProgrammiTypeError SyntaxError

Python ProgrammiSyntaxError TypeError

Python ProgrammiSyntaxError TypeError

Python ProgrammiKeyError TypeError

Python ProgrammiIndexError KeyError

Python Programmi 'ABC' 'ABC''

Python ProgrammiRuns if an error occursRuns if no error occurs

Python ProgrammiRuns only if an error o Runs only if no error occurs

Python Programmi> >>

Python Programmi** //

Python ProgrammiUsing flowcharts Typos in variable names

Python Programmipdb unittest

Python ProgrammiThey optimize code They indicate where the probl

Python ProgrammiWriting code without anOrganizing code into objects w

Python ProgrammiIt makes code messy It splits big programs into smal

Python ProgrammiIt has hard rules It uses simple words and supp

Python ProgrammiA type of error A blueprint for making objects

Python ProgrammiA mistake in code Something made from a class

Python ProgrammiActions the object can Information the object knows

Python ProgrammiA piece of data An action the object can do

Python ProgrammiDeletes an object Sets up an object when it’s cr

Python ProgrammiA block of code that ru A blueprint for creating objects

Python ProgrammiA loop Keeping


The object some
itself
Python Making all code information private in
Programming public an object
Python Use a single Use double
Programming underscore _ underscores __
Python A loop that runs A function that returns
Programming multiple times a value
Python Copying features from
Programming Hiding code one class to another
Python
Programming Only fly It is automatically
Only move
Python It is used to called when a new
Programming Using
deletethe same
an object object is created.
Python method name for
Programming different actions Hiding attributes
Python
Programming Using loops Forgetting to add self
Python
Programming SyntaxError Handles mistakes so
TypeError
Python the program doesn’t
Programming Creates objects stop
Python
Programming Dividing by zero Missing parentheses
Python Print values to check
Programming Write loops what’s happening
Python Use random Use clear, simple
Programming letters names like Dog
Python To keep it simple and
Programming To make it harder easy to understand
Python
Programming Loops Comments
Statistical
Concepts Design hardware Give insights into data
Statistical
Concepts Inferential Descriptive
Statistical
Concepts Summarize data Predict for a population
Statistical
Concepts To pick hardware To find patterns
Statistical
Concepts Mean Gradient Descent
Statistical
Concepts Data frequency Variable relationships
Statistical
Concepts Scatter Plot Box Plot
Statistical Z-scores > 3 or <
Concepts -3 Equal to mean
Statistical
Concepts Mean Outliers
Statistical Average
Concepts spending Hardware needs
Statistical Improve model
Concepts Add features accuracy
Statistical Correlation
Concepts Analysis Gradient Descent
Statistical Feature uncertainty
Concepts Data spread reduction
Statistical Increase data
Concepts size Reduce dimensions
Statistical
Concepts Wall color Location
Statistical Removes irrelevant
Concepts Adds variables features
Statistical Correlation
Concepts Analysis Histogram
Statistical
Concepts Summarize data Reduce errors
Statistical
Concepts Z-score Gradient Descent
Statistical
Concepts Data size Weights
Statistical L1 & L2
Concepts Regularization PCA
Statistical Find best model
Concepts Summarize data settings
Statistical
Concepts Grid Search Histogram
Statistical Reduces prediction
Concepts Increases data errors
Statistical
Concepts Replace data Make better decisions
Statistical
Concepts Gradient Descent Scatter Plot
Statistical
Concepts Model accuracy Unusual data
Statistical
Concepts Median Variance
Statistical
Concepts Frequency Spread and outliers
Statistical
Concepts Add features Simplify models
Statistical Mutual
Concepts Information Gradient Descent
Statistical
Concepts Hardware needs Spending trends
Statistical
Concepts Model complexity Overfitting
Statistical Finding customer
Concepts Chip design patterns
Statistical
Concepts Central value Data spread
Statistical Summary
Concepts Statistics Visualization
Statistical
Concepts Data noise Model accuracy
Statistical Calculate
Concepts variance Tune hyperparameters
Statistical
Concepts Histogram Box Plot
Statistical
Concepts No relation Strong relation
Statistical
Concepts Choose hardware Make smart decisions
Statistical
Concepts Histogram Regularization
Statistical Most frequent
Concepts value Average value
Statistical
Concepts Gradient Descent Outlier Detection
Statistical
Concepts Visualization Model efficiency
Statistical
Concepts Algorithm design Correlations
Statistical Summary
Concepts Statistics Gradient Descent
Statistical
Concepts Frequency Variable relationships
Statistical Increase
Concepts complexity Improve generalization
Statistical
Concepts Hardware details Data insights
Statistical
Concepts Flat Bell-shaped
Statistical
Concepts Variance Median and mode
Statistical
Concepts 0.5 0.68
Statistical
Concepts Continuous Discrete
Statistical
Concepts Continuous data Rare events
Statistical
Concepts 0.9 0.2
Statistical
Concepts Data spread Relationship strength
Statistical
Concepts 0 to 1 -1 to 1
Statistical Predicting
Concepts numbers Classification
Statistical
Concepts Underfitting Overfitting
Statistical
Concepts Posterior Prior
Statistical
Concepts Yes No
Statistical
Concepts Bayes' Rule 68-95-99.7 Rule
Statistical
Concepts Variance Relationships
Statistical
Concepts Dependent Independent
Statistical
Concepts Intercept Slope
Statistical
Concepts Overfitting Underfitting
Statistical
Concepts 0 1
Statistical
Concepts Fixed trials Rare events
Statistical
Concepts Normal Logistic
Statistical
Concepts Strong positive Strong negative
Statistical
Concepts 0 0.5
Statistical
Concepts Binomial Normal
Statistical
Concepts Mean < Median Mean > Median
Statistical
Concepts Sampling Machine learning
Statistical
Concepts Maximize bias Minimize variance
Statistical
Concepts 0 -1
Statistical
Concepts High bias High variance
Statistical
Concepts Many outcomes Continuous
Statistical
Concepts 0 1
Statistical
Concepts Find probability Estimate relationships
Statistical
Concepts Prior probability Variance
Statistical Model is too
Concepts simple Model is too complex
Statistical
Concepts np n/p
Statistical
Concepts Causation Strength and direction
Statistical
Concepts P(A) 1 + P(A)
Statistical 1 standard
Concepts deviation 2 standard deviations
Statistical
Concepts A chart Random events model
Statistical
Concepts Flat Bell
Statistical
Concepts Heights Successes
Statistical
Concepts Normal data Rare events
Statistical
Concepts Spread Middle
Statistical
Concepts 0 1
Statistical
Concepts We prove it We assume it
Statistical
Concepts Keep null Reject null
Statistical Wrong reject of Wrong keep of false
Concepts true null null
Statistical
Concepts 0.5 0.95
Statistical
Concepts t-test Chi-square
Statistical
Concepts Reject null Keep null
Statistical
Concepts Drawing Deciding
Statistical
Concepts Always true We test it
Statistical
Concepts Speed Confusion
Statistical
Concepts One class wins Classes are equal
Statistical
Concepts 0 1
Statistical
Concepts Regression Decision trees
Statistical
Concepts Entropy
Bad If all data belongs to
Good
Statistical measures how one class, entropy is
Concepts mixed the data is zero
Statistical
Concepts Best split No help
Statistical
Concepts Labels Numbers
Statistical
Concepts y = mx + c x = my
Statistical
Concepts Start Slope
Statistical
Concepts Cause Link
Statistical
Concepts 0 to 1 -1 to 1
Statistical
Concepts Strong link No link
Statistical
Concepts Bad fit Good fit
Statistical
Concepts Errors Points
Statistical
Concepts y at x = 0 Slope
Statistical
Concepts No link Strong positive
Statistical
Concepts Numbers Classes
Statistical
Concepts TP / Total (TP + TN) / Total
Statistical
Concepts TP / (TP + FP) TP / (TP + FN)
Statistical
Concepts Error Sensitivity
Statistical Wrong positive
Concepts guess Wrong negative guess
Statistical
Concepts Overfit Underfit
Statistical
Concepts Underfit Overfit
Statistical
Concepts Errors Fit and overfit
Statistical
Concepts Bias only Variance only
Statistical
Concepts A type of food Raw facts and figures
Statistical 25°C
Concepts temperature A poem
Statistical
Concepts Data thatdata
Deleting is Storing data
Statistical organized and
Concepts meaningful A computer error
Statistical
Concepts Text Image
Statistical
Concepts Monitor Keyboard
Statistical
Concepts Microsoft Word VLC Player
Statistical
Concepts MP3 JPEG
Statistical
Concepts Graph Chart
Statistical
Concepts Notepad Paint
Statistical
Concepts "=ADD()" "SUM()"
Statistical A small box where data
Concepts A part of the CPU is stored
Statistical
Concepts "=" +
Statistical Making data consistent
Concepts Deleting data and correct
Statistical
Concepts .docx .xlsx
Statistical
Concepts SUM AVERAGE
Statistical
Concepts View Insert
Statistical Alphabetical or
Concepts Reverse order numerical order
Statistical
Concepts Sleep better Clean the house
Statistical
Concepts Reading Filtering
Statistical
Concepts Printing data Showing data visually
Statistical
Concepts Line chart Pie chart
Statistical
Concepts Line chart Pie chart
Statistical
Concepts Pictures Video clips
Statistical
Concepts X-axis Y-axis
Statistical
Concepts A sudden event A pattern over time
Statistical Data → Analyze → Analyze → Collect →
Concepts Collect Share
Statistical
Concepts Fonts Charts and graphs
Statistical
Concepts Automatic Input Artificial Intelligence
Statistical
Concepts Siri or Alexa Light bulb
Statistical
Concepts Pie Bar
Statistical
Concepts 10 15
Statistical
Concepts 7 9
Statistical
Concepts Byte Bit
Data Science and
Analytics Oldest person Youngest person
Data Science and
Analytics Cell Chart
Data Science and
Analytics Filter Graph
Data Science and
Analytics Graph Dashboard
Data Science and
Analytics Series DataFrame
Data Science and import numpy as
Analytics np import np
Data Science and
Analytics [0, 1, 2, 3] [1, 2, 3, 4]
Data Science and
Analytics len() .ndim
Data Science and
Analytics .dtype .type
Data Science and
Analytics np.order() np.sort()
Data Science and
Analytics Total sum Maximum value
Data Science and
Analytics np.reverse() np.flip()
Data Science and
Analytics Matrix of ones Matrix of zeros
Data Science and
Analytics 2 zeros 2 random integers
Data Science and Matrix
Analytics multiplication Element-wise add
Data Science and
Analytics [1,1] Identity matrix
Data Science and
Analytics np.transform() .shape()
Data Science and
Analytics Copying Cropping arrays
Data Science and
Analytics Along columns Along rows
Data Science and
Analytics 2 (2,2)
Data Science and
Analytics 3 2
Data Science and
Analytics np.std() np.var()
Data Science and
Analytics Cumulative sum Maximum
Data Science and
Analytics np.vstack() np.hstack()
Data Science and
Analytics .any() .true()
Data Science and
Analytics [2,4,6,8] [2,3,4,5,6,7,8,9]
Data Science and
Analytics 3 2
Data Science and
Analytics Rotates array Converts to 1D
Data Science and
Analytics list Series and DataFrame
Data Science and
Analytics DataFrame List
Data Science and
Analytics Dimensions Column names
Data Science and
Analytics df.set_columns() df.rename()
Data Science and
Analytics Error Subtracts
Data Science and
Analytics pd.load_csv() pd.read_csv()
Data Science and
Analytics df.index('col') df.go_index('col')
Data Science and
Analytics Column Row
Data Science and
Analytics df.drop() df.dropnull()
Data Science and
Analytics Median Total
Data Science and
Analytics df.sort() df.sort_values()
Data Science and
Analytics Fill NA Check missing values
Data Science and
Analytics Deletes nulls Replaces nulls with 0
Data Science and
Analytics 0 1
Data Science and
Analytics Counting rows Frequency count
Data Science and Returns row at
Analytics index 1 Returns column 1
Data Science and
Analytics All rows Column names
Data Science and
Analytics df.check() df.isnull()
Data Science and
Analytics df.to_csv() df.save()
Data Science and
Analytics First row Last row
Data Science and
Analytics df.dropna() df.remove_duplicates()
Data Science and
Analytics File types Data types of columns
Data Science and
Analytics df(Age) df.Age
Data Science and
Analytics NumPy Matplotlib
Data Science and
Analytics import seaborn import seaborn as sns
Data Science and
Analytics sns.bar() sns.barplot()
Data Science and
Analytics sns.boxplot() sns.plotbox()
Data Science and
Analytics sns.heat() sns.heatmap()
Data Science and
Analytics Machine learning Web development
Data Science and
Analytics sns.hist() sns.kdeplot()
Data Science and
Analytics sns.pairplot() sns.scatterplot()
Data Science and
Analytics sns.style() sns.set_style()
Data Science and
Analytics Line plots Categorical plots
Data Science and
Analytics color shade
Data Science and
Analytics sns.linegraph() sns.lineplot()
Data Science and
Analytics sns.violin() sns.violinplot()
Data Science and
Analytics x axis
Data Science and
Analytics Count characters Count missing values
Data Science and
Analytics sns.color() sns.set_palette()
Data Science and
Analytics sns.datasets() sns.get_dataset()
Data Science and
Analytics NumPy Pandas
Data Science and
Analytics Plot linear model Learn model
Data Science and
Analytics plt.draw() plt.show()
Data Science and import matplotlib import
Analytics as plt matplotlib.pyplot as plt
Data Science and
Analytics plt.print() plt.show()
Data Science and
Analytics plt.name() plt.caption()
Data Science and
Analytics Label y-axis Set title
Data Science and
Analytics Title Labels
Data Science and
Analytics plt.barchart() plt.bar()
Data Science and
Analytics plt.histogram() plt.hist()
Data Science and
Analytics plt.scatterplot() plt.scatter()
Data Science and Use multiple
Analytics plt.plot() Use plt.lines()
Data Science and
Analytics plt.size() plt.figure(figsize=(w,h))
Data Science and
Analytics plt.add_grid() plt.grid()
Data Science and
Analytics Blue Green
Data Science and
Analytics plt.save() plt.savefig('file')
Data Science and
Analytics Data point Opacity
Data Science and
Analytics plt.ylabel() plt.y_label()
Data Science and
Analytics color='red' linecolor='red'
Data Science and
Analytics plt.set_ticks() plt.ticks()
Data Science and
Analytics linestyle style
Data Science and
Analytics Bar plot Line plot
Data Science and
Analytics plt.combine() plt.subplot()
OPTION3 OPTION4 CORRECT ANS

James Gosling Bjarne Stroustrup b

Assembly Machine b

var-2 @var b

.py .p c

Curly braces None of the above b

Float Double d

scan() read() b

display() show() b

str bool b

if switch c

otherwise: elif: b

Error None b

<= <> d

not= ~ a

do-while infinite a

Jump to next iteration None b

0123 1234 a

forever one time only b

def fun c

yield result b

add.call() add.invoke() b

Nothing Error b

Infinite function None a


2000 2010 b

PyPy IronPython b

Stackless IronPython a

A book A movie b

.py .java c

5 Error c

Hello+World Error b

Error None a

Boolean Float b

23456 123 a

Both None a

continue jump c

Dictionary Set b

Error Skipped c

Both a and b None c

-1 2 a

elif main d

/* -- b

Assembler None b

22 "Twenty-two" b

2 Error c

if else if then a

Parameterless function Empty function c

"True" 1 b

Rasmus Lerdorf Brendan Eich b

Debugging code errors Learning programming synta b

It only supports AI development It is not suitable for beginnersb

Understand the problem Optimize the solution c

The hardware requirements The user's preferences a


Running the code Ignoring the problem details b

A type of error in Python A data structure b

A type of Python library A flowchart diagram b

Diamond Parallelogram c

Arrow Diamond b

To plan the solution To optimize the code b

Ignoring edge cases Avoiding error handling b

List Dictionary c

It stores unique items only It uses key-value pairs b

To store immutable data To maintain order b

Storing immutable data Ensuring unique items b

List Dictionary c

Set Dictionary b

It raises an error It replaces the existing item b

dict.add(key, value) dict.update(key, value) b

Dividing by zero Passing an inappropriate val b

Accessing an out-of-range index Adding a string and an integeb

Incorrect syntax Out-of-range index b

Dividing by zero Incorrect syntax b

Adding a string and an integer Out-of-range index a

To optimize code To create flowcharts b

It always runs It never runs b

It always runs It prevents errors c

Tracking variable values Unit testing c

To create flowcharts To optimize code b

Creating flowcharts Optimizing algorithms b

8 15 c

Adds 'David' to a tuple Adds 'David' to a dictionary b

{10, 20} {"x": 10, "y": 20} b


It removes 'learning' It ignores the operation b

{"David": 92} {"Alice": 90, "Bob": 85} b

Set Dictionary c

{"apple": 5, "banana": 5, "orange": 7} {"banana": 5, "orange": 7} b

ValueError IndexError b

ValueError KeyError c

ValueError IndexError b

IndexError ValueError c

TypeError SyntaxError b

''ABC''' '''ABC'''' d

Always runs Never runs b

Always runs Prevents errors c

< <<< d

/ *** d

Writing pseudocode Using data structures b

matplotlib numpy b

They create flowcharts They write pseudocode b

Using only numbers in code Creating websites b

It only works for games It slows down coding b

It doesn’t allow objects It’s only for math b

A number in code A loop b

A type of variable A comment b

Errors in the code Loops in the program b

A type of class A private variable b

Runs a loop Prints an error b

A built-in Python function A type of variable used to st b

A number An error b
Running multiple
Copying code from another class methods b

Use a hashtag # Use a dollar sign $ b


A keyword used to
An instance of a class define a class c

Running multiple objects Creating errors b

Both move and fly Nothing c


It defines a loop inside
It prints the class name a class b

Creating private methods Deleting objects a

Writing comments Creating objects b

AttributeError NameError b

Deletes methods Runs loops b

Wrong data type Non-existent attribute a

Delete objects Avoid methods b

Use numbers only Make names very long b

To create errors To use more memory b

Errors Numbers b

Write code Remove data b

Predictive Computational b

Visualize data Choose features b

To increase data To optimize models b

Confusion Matrix Bayesian Network a

Model accuracy Outliers a

Histogram Pie Chart b

Inside IQR Most frequent a

Correlation Accuracy b

Optimization method Event probability a

Visualize data Summarize data b

Standard Deviation Mutual Information a

Dataset mean Value frequency b

Find variance Detect outliers b

Owner's name Paint brand b

Increases data size Visualizes data b


PCA Mutual Information b

Visualize patterns Count frequencies b

Box Plot IQR b

Correlations Visualizations b

Mutual Information Summary Statistics a

Calculate variance Detect outliers b

Standard Deviation Scatter Plot a

Shows trends Finds features b

Design hardware Remove outliers b

Regularization Bayesian Optimization b

Hardware speed Probabilities b

Mode Correlation b

Correlations Model performance b

Increase cost Find mean b

Histogram Z-score a

Model settings Success probability b

Data visualization Frequency counts b

Coding without data Removing outliers b

Frequency Accuracy b

Gradient Descent Outlier Detection c

Data size Visualization b

Visualize data Find outliers b

Scatter Plot Pie Chart c

Outliers Identical data b

Increase data Remove statistics b

Box Plot Frequency Table b

Middle value Data range b

PCA Correlation b

Data size Hardware b


Data reduction Visualization b

Z-score Histogram b

Model accuracy Hardware speed b

Summarize data Visualize data b

Code syntax Data removal b

Skewed Straight b

Standard deviation Correlation b

0.95 0.997 b

Uniform Skewed b

Fixed trials Normal data b

0.1 0.4 b

Average value Probability b

-2 to 2 1 to 2 b

Finding variance Plotting data b

No error Low bias b

Evidence Likelihood c

Sometimes Never a

Chebyshev's Rule Bernoulli's Rule b

Probability Outliers b

Continuous Uniform b

Error Mean b

No error High variance b

2 Depends b

Uniform outcomes Large population b

Linear Poisson b

No relationship Perfect correlation c

1 1.5 d

Poisson Uniform c

Mean = Median Median > Mode b


Hypothesis testing Distribution modeling b

Minimize total error Increase correlation c

0.5 1d

Low variance No error b

Success or failure Multivariate c

Depends on p Depends on n b

Calculate variance Find sample size b

Likelihood Evidence b

Too little data No error b

p/n n²p a

Mean Outliers b

1 - P(A) P(A + A) c

3 standard deviations 4 standard deviations b

A number A test b

Line Circle b

Rare events Time b

Trials Numbers b

Total Error b

2 Any b

We assume it False A guess b

Stop test Ignore b

Right guess No data a

0.1 0.8 b

ANOVA z-test a

Prove alternative End test b

Guessing Counting b

Always false Ignored b

Size Accuracy b

No data All same b


-1 Big a

Graphs Tests b

Wrong Entropy
Same helps in b
building decision
Entropy is always greater than 1. trees. c

Error Overfit b

Groups Errors b

y = 2mx+C xy = c a

Error Total b

Error Size b

-2 to 2 1 to 10 b

Negative link Big link b

Error Bias b

Lines Data a

Mean Error a

Strong negative Weak b

Graphs Tests b

TP / FP FN / Total b

TN / Total FP / Total a

Accuracy Specificity b

Right guess No guess a

No error Variance b

No error Bias b

True and false Points b

Bias + Variance + Error Noise only c

A brand name A software b

A computer virus A movie a


Changing data into useful
information Sending data to others c
A programming
Random numbers language a

Code Smell d
Speaker USB b

Microsoft Excel Google Chrome c

CSV PDF c

Spreadsheet Video c

Excel Skype c

"=PLUS()" "TOTAL()" b

A battery A virus b

@ # a
Restarting the
Moving files computer b

.mp4 .exe b

IF PLAY d

Review Home b

Random order Code b

Make decisions based on facts Watch videos c

Talking Copying b

Playing data Encrypting data b

Histogram Table a

Bar chart Scatter plot b

Comparison of values None of the above c

Z-axis Value bar b

An error A virus b
Share → Collect →
Collect → Clean → Analyze Save c

Caps Lock Wi-Fi b

Android Input Auto Internet b

Microwave Calculator a

Line Sound d

20 5 a

8 5 c

MB File b
Tallest person Shortest person b

Formula Filter c

Remove Duplicates Insert c

Paragraph Chart paper b

ndarray tuple c

include numpy using numpy a

[4, 3, 2, 1] [0, 2, 4, 6] a

.shape .size b

.format .item a

np.arrange() np.align() b

Average Median c

np.revert() np.turn() b

3x3 identity matrix Diagonal array b

2 random floats Error c

Sum of elements Sorting a

All zeros Matrix of 2s b

.reshape() .rescale() c

Reading files Sorting b

All data No axis a

[1,2,3,4] 4b

1 Error a

np.mean() np.dev() a

Sorting Median b

np.stack() np.concat() a

.check() .bool() a

[1,2,3] [10,8,6,4,2] a

1 Error c

Sorts array Finds mean b

matrix array b
1D labeled array Dictionary c

File name Row names a

df.label() df.change() b

Adds values element-wise Multiplies b

pd.import_csv() pd.get_csv() b

df.index_set() df.index = col c

Error Cell d

df.dropna() df.remove() c

Average Max c

df.arrange() df.reorder() b

Add nulls Create index b

Adds zero rows Error b

2 -1 b

Sort rows Print head b

Returns cell Returns all rows a

First column Index b

df.duplicated() df.copy() c

df.write_csv() df.export() a

Error First column b

df.drop_duplicates() df.clear() c

Shape Missing data b

df(['Age']) df('Age') b

Pandas Scikit-learn b

import sb import sn b

sns.plotbar() sns.plot() b

sns.box() sns.plot() a

sns.mapheat() sns.map() b

Data visualization File handling c

sns.histplot(kde=True) sns.line() c
sns.matrix() sns.multiplot() a

sns.set_theme() sns.theme() b

Scatter plots Area plots c

hue group c

sns.liner() sns.plotline() b

sns.violplot() sns.plot() b

xlabel ax a

Plot count of categories Plot line c

sns.theme() sns.colorize() b

sns.load_dataset() sns.read_data() c

Matplotlib CSV c

Loss minimize Log mean a

plt.plot() plt.graph() b

import plt import matplot b

plt.display() plt.output() b

plt.title() plt.label() c

Label x-axis Draw a line c

Adding legend Drawing grid c

plt.column() plt.plotbar() b

plt.histplot() plt.plot() b

plt.dot() plt.point() b

plt.multi() plt.set_lines() a

plt.shape() plt.set_size() b

plt.show_grid() plt.grid_on() b

Red Yellow c

plt.store() plt.export() b

Speed Angle b

plt.yaxis() plt.label_y() a

clr='red' plt.color='red' a
plt.xticks() plt.show_ticks() c

dash type a

Pie chart Histogram b

plt.merge() plt.mix() b
SOLUTION RIGHT MARKS NEGATIVE MARKS DIFFICUL

Guido van Rossum B

High-level B

var_2 B

.py B

Indentation B

Double B

input() B

print() B

float B

if B

else: B

No I

<> B

!= B

for B

Exit from a loop B

012 I

condition is True B

def I

return I

add() I

Hi! I

Void function B
1991 B

Jython E

CPython E

A TV show B

.py B

5 B

HelloWorld B

10 B

String B

234 I

Interpreted B

continue E

Tuple B

Error B

Both a and b B

0 B

main B

# B

Interpreter I

22 B

2 B

else if B

Parameterless function B

True B

Guido van Rossum B

Using code to solve a specific problem B

It is beginner-friendly with many libraries B

Understand the problem B

Key information, inputs, and outputs B


Breaking the problem into smaller steps B

A set of steps to solve a problem B

A way to plan algorithms in plain language B

Diamond B

Oval B

To check for correctness and handle edge cases B

Optimizing for performance and readability B

List B

It is immutable B

To store unique items B

Mapping keys to values B

List B

Tuple B

It is ignored B

dict[key] = value B

Incorrect code syntax B

Inappropriate value for a function B

Applying an operation to an inappropriate type B

Accessing an out-of-range index B

Accessing a non-existent key in a dictionary B

To handle errors gracefully B

It runs if no error occurs B

It always runs B

Tracking variable values B

To debug code with breakpoints B

Testing code to ensure it works as expected B

8 E

Adds 'David' to a list B

(10, 20) B
It adds 'learning' to the set B

{"Alice": 90, "Bob": 85, "Charlie": 88, "David": 92} B

Set B

{"apple": 15, "banana": 5, "orange": 7} B

SyntaxError I

ValueError B

TypeError B

IndexError B

KeyError B

'''ABC'''' B

Runs if no error occurs E

Always runs E

<<< B

*** B

Typos in variable names B

unittest E

They indicate where the problem is B

Organizing code into objects with information and actions I

It splits big programs into small, easy parts B

It uses simple words and supports classes I

A blueprint for making objects I

Something made from a class I

Information the object knows I

An action the object can do I

Sets up an object when it’s created E

A blueprint for creating objects I

The object itself I


Keeping some information
private in an object E

Use double underscores __ E


An instance of a class I
Copying features from one
class to another E

It is automatically
Both move and fly called E
when a new object is
created. E
Using the same method
name for different actions E

Forgetting to add self E

TypeError E
Handles mistakes so the
program doesn’t stop I

Dividing by zero E
Print values to check what’s
happening I
Use clear, simple names like
Dog I
To keep it simple and easy
to understand I

Comments E

Give insights into data I

Descriptive B

Predict for a population E

To find patterns E

Mean E

Data frequency E

Box Plot B

Z-scores > 3 or < -3 E

Outliers I

Average spending I

Improve model accuracy E

Correlation Analysis E
Feature uncertainty
reduction I

Reduce dimensions E

Location E

Removes irrelevant features E


Histogram I

Reduce errors E

Gradient Descent E

Weights E

L1 & L2 Regularization E

Find best model settings E

Grid Search E

Reduces prediction errors E

Make better decisions B

Scatter Plot B

Unusual data B

Variance I

Spread and outliers I

Simplify models E

Mutual Information E

Spending trends E

Overfitting E

Finding customer patterns B

Data spread I

Gradient Descent I

Model accuracy B

Tune hyperparameters E

Scatter Plot B

Strong relation I

Make smart decisions I

Regularization I

Average value B

Outlier Detection B

Model efficiency B
Correlations B

Gradient Descent E

Variable relationships B

Improve generalization I

Data insights B

Bell-shaped E

Median and mode E

0.68 I

Discrete I

Rare events I

0.2 I

Relationship strength I

-1 to 1 B

Classification B

Overfitting E

Evidence I

Yes I

68-95-99.7 Rule B

Relationships I

Independent I

Slope I

Underfitting E

1 E

Rare events E

Logistic I

No relationship E

1.5 B

Poisson I

Mean > Median I


Machine learning E

Minimize total error I

1 E

High variance I

Success or failure I

1 E

Estimate relationships B

Variance E

Model is too complex E

np I

Strength and direction I

1 - P(A) I

2 standard deviations E

Random events model E

Bell B

Successes E

Rare events E

Middle I

1 I

We assume it E

Reject null E

Wrong reject of true null E

0.95 E

t-test I

Keep null I

Deciding I

We test it I

Confusion E

Classes are equal E


0 I

Decision trees E

Good E
Entropy is always greater
than 1. E

No help E

Numbers I

y = mx + c I

Slope I

Link B

-1 to 1 B

No link B

Good fit I

Errors B

y at x = 0 B

Strong positive B

Classes B

(TP + TN) / Total B

TP / (TP + FP) B

Sensitivity I

Wrong positive guess I

Underfit I

Overfit I

Fit and overfit E

Bias + Variance + Error E

Raw facts and figures B

25°C temperature I
Changing data into useful
information B
Data that is organized and
meaningful B

Smell B
Keyboard B

Microsoft Excel B

CSV B

Spreadsheet B

Excel B

"SUM()" B
A small box where data is
stored B

"=" B
Making data consistent and
correct E

.xlsx B

PLAY B

Insert B
Alphabetical or numerical
order B
Make decisions based on
facts E

Filtering B

Showing data visually E

Line chart E

Pie chart E

Comparison of values E

Y-axis I

A pattern over time E

Collect → Clean → Analyze E

Charts and graphs E

Artificial Intelligence B

Siri or Alexa B

Sound B

10 B

8 B

Bit B
Youngest person B

Formula B

Remove Duplicates E

Dashboard E

ndarray E

import numpy as np I

[0, 1, 2, 3] I

.ndim I

.dtype I

np.sort() E

Average E

np.flip() E

Matrix of zeros I

2 random floats E

Matrix multiplication E

Identity matrix E

.reshape() E

Cropping arrays E

Along columns E

(2,2) I

3 I

np.std() E

Maximum I

np.vstack() E

.any() I

[2,4,6,8] I

1 I

Converts to 1D E

Series and DataFrame I


1D labeled array I

Dimensions I

df.rename() I

Subtracts I

pd.read_csv() I

df.index_set() E

Cell I

df.dropna() E

Average I

df.sort_values() E

Check missing values I

Replaces nulls with 0 E

1 E

Frequency count E

Returns row at index 1 I

Column names I

df.duplicated() E

df.to_csv() I

Last row I

df.drop_duplicates() E

Data types of columns I

df.Age B

Matplotlib I

import seaborn as sns I

sns.barplot() I

sns.boxplot() I

sns.heatmap() E

Data visualization I

sns.histplot(kde=True) E
sns.pairplot() I

sns.set_style() I

Scatter plots I

hue I

sns.lineplot() I

sns.violinplot() I

x I

Plot count of categories E

sns.set_palette() E

sns.load_dataset() I

Matplotlib I

Plot linear model E

plt.show() I
import matplotlib.pyplot as
plt I

plt.show() I

plt.title() I

Label x-axis I

Adding legend I

plt.bar() I

plt.hist() E

plt.scatter() I

Use multiple plt.plot() E

plt.figure(figsize=(w,h)) E

plt.grid() E

Red I

plt.savefig('file') I

Opacity I

plt.ylabel() I

color='red' I
plt.xticks() I

linestyle I

Line plot I

plt.subplot() I
QUESTION TAGS QUESTION TEXT (HINDI)
OPTION1 (HINDI) OPTION2 (HINDI) OPTION3 (HINDI)
SOLUTION
OPTION4 (HINDI) (HINDI) RANGE FROM RANGE TO
FREE SPACE ESSAY CODE

You might also like