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
30 questions
MELINIA - SEQUELVERSE - ROUND 1

Quiz
•
University
30 questions
MELINIA - SEQUELVERSE - ROUND 1

Quiz
•
University
25 questions
ASTS Ganjil 24-25 (Pemasangan dan Konfigurasi Perangkat Jaringan

Quiz
•
11th Grade - University
35 questions
Database

Quiz
•
KG - University
25 questions
Neo Coding Round 1 Set 1

Quiz
•
University
30 questions
Quiz Jaringan Komputer

Quiz
•
10th Grade - University
25 questions
Python Programming Basics 1

Quiz
•
University
28 questions
làm chủ database trong 1 quiz?

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University