Microsoft Technical Round - MCQ Round

Microsoft Technical Round - MCQ Round

University

30 Qs

quiz-placeholder

Similar activities

Web Mania - (Round 1)

Web Mania - (Round 1)

University

25 Qs

UTS JARINGAN KOMPUTER

UTS JARINGAN KOMPUTER

University

25 Qs

SQL Basics

SQL Basics

University

29 Qs

SQL QUIZ-2

SQL QUIZ-2

University

30 Qs

DBMS

DBMS

University

30 Qs

Introduction to artificial intelligence and machine learning

Introduction to artificial intelligence and machine learning

University

25 Qs

UAS_Kelas C

UAS_Kelas C

University

25 Qs

PAW-Q5-2023

PAW-Q5-2023

University

25 Qs

Microsoft Technical Round - MCQ Round

Microsoft Technical Round - MCQ Round

Assessment

Quiz

Computers

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?