Professional Documents
Culture Documents
M001
1) If a random experiment results in N exhaustive mutually exclusive and equally likely outcomes, out of
which m are favorable to the happening of an event. Then the probability of the occurrence of x is given
by which of the following? (3)
a) p(x)=m/N
b) p(x)=N/m
c) p(x)=m*N
d) p(x)=N+m
2) Each of three identical jewellery boxes has two drawers, in each drawer of the first box, there is a
gold watch, in each drawer of the second box, there is a silver watch, in one drawer of the third box,
there is a gold watch, while in the other there is a silver watch. If we select a box at random, open one of
the drawers and find it to contain a silver watch, what is the probability that the other drawer has the
gold watch? (2)
a) 1/3
b) 2/3
c) 1/2
d) 3/5
3) Which of the following represents a set that consists of all possible outcomes of a random
experiment? (2)
a) Sample space
b) Event
c) Probability
d) Sure event
4) Which of the following is/are probability calculation methods? (2)
A. Relative frequency
B. Classical definition
C. Subjective probability
D. Bayes' theorem
Options
a) A and B
b) B and C
c) A,C and D
d) A,B and D
a)Pie chart
b) Histogram
c) Box Plot
d) Bar graph
2.M002
a)Java
b)Go
c)Python
d)Swift
a)Area chart
b)Pie chart
c)Bubble chart
d)Surface chart
3)
Import numpy as np
Np_array=np.array([4,6,9,3,1]}
print(np.mean(np_array))
print(np.max(np_array))
print(np.min(np_array))
A) 9
B) 4.6
C) 1
Options
a)C->B->A
b)A->C->B
c)B->A->C
d)A->B->C
4) Which of the following options is the correct order of precedence of operators in Python? (2)
A) Shift
B) Multiplication
C)Bitwise
D) Unary
Options
a)C->B->D->A
b)A->D->B->C
c)B->D->A->C
d)D->B->A->C
5)Which of the following is/are relational operators(s)? (2)
A) ==
B) !=
C) +=
D) >
Options
a) A and B
b) B and C
c) A,B and D
d) A,B and C
a) Float
b) type
c) print
c) int
a) a is equal to b
b) a is not equal to b
c) Compilation error
c) No output
8)You are writing a Python program where you have given two numbers. Which of the following
operators would you use to check whether two numbers are equal or not? (2)
a) Bitwise operator
b) Arithimetic operator
c) Comparison operator
d) Logical operator
a=’10’
Print(type(a))
What will be the data type in the outpt of the above python code?
a) Undefine
b) Int
c) str
d) string
10) Suppose you have a list of names of students in a class in Python defined as:
Which of the following options can you use to accomplish the task? (2)
a) stu.add(‘Tarun’)
b) stu.push(‘Tarun’)
c) stu.join(‘Tarun’)
d) stu.append(‘Tarun’)
12) A Python dictionary is a data structure that stores data in key-value pairs. The keys in a dictionary
must be unique, and the values can be any data type. Dictionaries are mutable, which means they can
be changed after they are created. Which of the following is not a valid dictionary key in Python? (2)
a) A float
b) A boolean
c) A list
d) A tuple
13) Suppose you are writing a Python program and you want to store information about students in a
class. Each student's roll number is the key, and their name is the value. Which of the following data
types is most suitable in this situation? (2)
a) List
b) Dictionary
c) Set
d)Tuple
14) Which of the following keywords is used to check the type of a variaable? (1)
a) Float
b) type
c) print
d) int
3.M003
a) Machine Learning
b) Traditional programming
c) Cyber security
d) Feature engineering
2) You are working on a facial recognition system that will be used to identify individuals in public
places. Which of the following technologies is most suitable for developing facial recognition
systems?(2)
a) Cyber security
b) Machine learning
c)Internet of things
d)Full stack
3) You are preparing a data set for a machine learning model. You have completed data selection and
data preprocessing steps. Which of the following techniques would you use for data transformation? (2)
a) Clearing
b) Selection
c) Scaling
d) Sampling
4) Which of the following options is the correct order of precedence of algorithms in Machine Learning
in terms of time-complexity? (4)
A)Bernard's
B) Bayes’
C) Triangular
D) Kayes’
Options
a) C->B->D->A
b) A->D->B->C
c) B->D->A->C
d) D->B->A->C
5) Suppose you have some data to be trained for fraud detection in ML (Machine Learning). In what
order would you follow the steps given below for clearing the data? (3)
A) Data splitting
B) Data transformation
C) Data collection
Options
a) C->B->A
b) B->A->C
c) A->C->B
d) C->A->B
6) In machine learning ETL stands for which of the following options? (2)
a) Extract-Transform-Load
b) Extract-Transfer-Load
c) Edit-Transfer-Load
d)Edit-Transform-Load
7)Which of the following alternatives is a good technique for optimizing the data before training a
machine learning model? (2)
a) Data Selection
b) Data splitting
c) Data Preprocessing
d) Data Testing
A) Variable deletion
C) Validation
Options
a) A and B
b) B and C
c) Only B
d) Only A
9) Machine learning is an application of artificial intelligence (A) that provides systems the ability to
automatically leam and improve from experience without being explicity programmed. Machine
learning focuses on the development of computer programs that can access data and use it to learn for
themselves. Which of the following technologies is used to predict future outcomes based on historical
trends? (2)
a) Blockchain
b)Artificial Intelligence
c)Cyber Security
d)Web development
4.M004
1) You are working with machine learning algorithms, and you are creating software that can predict
future sales based on past data, Which of the Following techniques would you use to develop stock price
forecast software? (2)
a) Apriori algorithm
b) Association
c) Clustering
d) Regression
2) What are the steps for the decision tree algorithm? (3)
D) Repeat the steps for each group until the groups are homogeneous.
Options
a) B->A->D->C
b) B->A->C->D
c) C->D->A->B
d) A->B->D->C
3) You are required to develop a spam filter to remove spam email. Which of the following techniques
would you use to develop a spam filter? (3)
a) Decision tree
c) Apriori algorithm
d) k-mean cluster
4) The Bayesian probability can be applied to which of the following statements? (3)
Options
a) A and B
b) C and D
c) Only B
d) Only D
5)Match the following technique column with the correct application column (3)
a) 1-D,2-C,3-A,4-B
b) 1-B,2-D,3-A,4-C
c) 1-D,2-C,3-B,4-A
d) 1-C,2-D,3-A,4-B
5.M005
1) You are developing a model to find the patterns in the data set if the given data set is not labelled,
then which of the following learning techniques would you use to develop a model? (3)
a) Unsupervised learning
b) Supervised learning
c) Reinforcement learning
A) Data preparation
Options
a) C->A->B
b) B->A->C
c) A->C->B
d) C->B->A
3)Which of the following machine learning techniques is shown in the below image? (3)
1) Assign each data point to the nearest centroid, creating k new clusters.
a) 4->2->3->1
b) 3->1->2->4
c) 2->1->4->3
d) 2->4->1->3
B) Number of clusters
Options
a) A and B
b) C and D
c) B, C and D
d) A, B and D
6) You are developing a system for self-driving cars that can automatically adjust their speed and routa
based on traffic conditions, which of the Following machine learning techniques helps to develop a
system for self-driving cars? (2)
b) Reinforcement learning
d) Naïve Bayes