Microsoft Technical Round - MCQ Round

Quiz
•
Computers
•
University
•
Medium
Microsoft INC Pvt Ltd
Used 2+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
31 questions
[SQL] Basic

Quiz
•
University
25 questions
CSS - Cascading Style Sheets

Quiz
•
University
30 questions
Database Design & Development 1

Quiz
•
University
30 questions
CSC408_Chapter 5: Foundation of Business Intelligence

Quiz
•
University
25 questions
UTS JARINGAN KOMPUTER

Quiz
•
University
25 questions
GNIDOC ROUND 1

Quiz
•
University
25 questions
KISI-KISI SOAL KELAS 9 Part2

Quiz
•
9th Grade - University
25 questions
U5. Spring

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University