
Microsoft Technical Round - MCQ Round
Authored by Microsoft INC Pvt Ltd
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of Universal Functions (ufuncs) in NumPy?
They are functions that can be applied universally to any Python object.
They are vectorized wrappers around C functions that perform element-wise operations on NumPy arrays.
They provide a generic interface for integrating with other scientific computing libraries.
They are functions designed for processing string data within NumPy arrays.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the fundamental difference in data structure between a Pandas Series and a Pandas DataFrame?
A Series is immutable, while a DataFrame is mutable.
A Series is a 1-dimensional labeled array, whereas a DataFrame is a 2-dimensional labeled data structure with columns of potentially different types.
A Series can only hold numerical data, while a DataFrame can hold any data type.
A Series is built on top of Python lists, while a DataFrame is built on top of NumPy arrays.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How does Pandas primarily handle missing data (NaN values) during most arithmetic operations or aggregations (e.g., sum(), mean())?
It raises an error if any NaN values are present.
It automatically replaces NaN values with 0 before calculation.
It typically skips or excludes NaN values from the calculation by default.
It converts the entire column to a string type if NaN values exist.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the advantage of using vectorized operations (e.g., df['col'] + 5) in Pandas compared to iterating row by row with a for loop?
Vectorized operations use less memory.
Vectorized operations are usually implemented in highly optimized C or Cython, making them significantly faster.
for loops are explicitly discouraged in Pandas and will always raise a warning.
Vectorized operations provide more control over the iteration process.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are training a neural network and observe that the training loss is decreasing, but the validation loss starts increasing after a certain number of epochs.
Increase the learning rate significantly.
Add more layers to the neural network.
Implement early stopping or add regularization (e.g., L1/L2, dropout).
Increase the size of the training dataset.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When is a "Bagging" ensemble method generally more effective than a "Boosting" ensemble method?
When the base learners are inherently strong and prone to high variance.
When the base learners are weak and prone to high bias.
When the dataset is very small and prone to noise.
When the goal is to interpret the contribution of individual base learners.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following scenarios would typically benefit most from using a kernel trick (e.g., in SVMs)?
When the data is linearly separable in its original feature space.
When the number of features is extremely high, and you need dimensionality reduction.
When the data is non-linearly separable in its original feature space but potentially separable in a higher-dimensional space.
When you need a highly interpretable model.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
Quiz kotajako1
Quiz
•
University
25 questions
Information and Technology Finals
Quiz
•
University
25 questions
MYSQL QUIZ 1
Quiz
•
University
25 questions
Quiz No. 1 - Functions in JavaScript
Quiz
•
University
25 questions
AI 900 - pt 5
Quiz
•
University
25 questions
Java Review
Quiz
•
9th Grade - University
25 questions
Office Word
Quiz
•
University
25 questions
Machine Learning (Concept Learning)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade