Section I - Statistics - Maximum Marks 40
Q. In a box plot, an observation beyond Q3 + 1.5IQR is (+4, -1)
a) A potential outlier
b) Maximum value
c) Mode
d) Median
Q. In a dataset with 50 observations, two parameters were estimated. The
corresponding degrees of freedom is. (+4, -1)
a) 50
b) 52
c) 48
d) Between 48 and 52
Q. Black boxes used in aircrafts are manufactured by three companies A, B and C. 75%
are manufactured by A, 15% by B and 10% by C respectively. The defect rates of black
boxes manufactured by A, B and C are 4% 6% and 8% respectively. If a black box tested
randomly is found to be defective what is the probability that it is manufactured by
company A? (+4, -1)
a) 0.32
b) 0.64
c) 0.48
d) 0.60
Q. Mission Hospital recruits nurses frequently to manage high attrition among the
nursing staff. Not all job offers from Mission Hospital are accepted. Based on the past
recruitment data, it was estimated that only 70% of offer is rolled out by Mission
Hospital or excepted.
(a) If 10 offers are made, what is the probability that more than five and less than
eight candidates will accept the offer from Mission Hospital? (+4, -1)
a) 0.66
b) 0.32
c) 0.52
d) 0.47
(b) During March 2017, Mission Hospital required 14 new nurses to manage
attrition. What should be the number of offers made by Mission Hospital so that
the average numbers of nurses accepting the offer is 14? (+4, -1)
a) 20
b) 17
c) 23
d) 19
Q. Which is the following variable is an interval scale variable? (+4, -1)
a) Age
b) Marital Status
c) Hair Colour
d) Latitude and Longitude
Q. For a positively skewed distribution (+4, -1)
a) Median is greater than mean
b) Mean is greater than median
c) Mode is greater than median and median is greater than mean
d) Mean is greater than median and median is greater than mode
Q. The number of calls arriving at a call center follows a Poisson distribution at 10 per
hour. Calculate the probability that the number of calls over a three-hour period will
exceed 30. (+4, -1)
a) 0.45
b) 0.35
c) 0.63
d) 0.12
Q. On an average, 20 customers per day cancel their order placed at Fashion Trends
Online.
(a) Calculate the probability that the number of cancellations on a day is exactly 20.
(+4, -1)
a) 0.089
b) 0.13
c) 0.064
d) 0.28
(b) Calculate the probability that the maximum number of cancellations is 25. (+4, -
1)
a) 0.036
b) 0.26
c) 0.89
d) 0.44
Section II – General Aptitude – Maximum Marks - 40
Q. A seven-digit number comprises of only 2's and 3's. How many of these are multiples
of 12? (+4, -1)
a) 11
b) 12
c) 10
d) 22
Q. Consider a class of 40 students whose average weight is 40 kgs. m new students join
this class whose average weight is n kgs. If it is known that m + n = 50, what is the
maximum possible average weight of the class now? (+4, -1)
a) 40.18 kgs
b) 40.56 kgs
c) 40.67 kgs
d) 40.49 kgs
Q. The ratio of a two-digit natural number to a number formed by reversing its digits is
4 : 7. Which of the following is the sum of all the numbers of all such pairs? (+4, -1)
a) 99
b) 198
c) 330
d) 132
Q. Two friends A and B leave City P and City Q simultaneously and travel towards Q and
P at constant speeds. They meet at a point in between the two cities and then proceed to
their respective destinations in 54 minutes and 24 minutes respectively. How long did B
take to cover the entire journey between City Q and City P? (+4, -1)
a) 60
b) 36
c) 24
d) 48
Q. A and B together can finish a task in 12 days. If A worked half as efficiently as he
usually does and B works thrice as efficiently as he usually does, the task gets completed
in 9 days. How long would A take to finish the task if he worked independently? (+4, -1)
a) 12 days
b) 24 days
c) 27 days
d) 18 days
Q. What is the ratio of longest diagonal to the shortest diagonal in a regular octagon?
(+4, -1)
a) √3 : 1
b) 2:1
c) 2 : √3
d) √2 : 1
Q. 95% of the students in a class have taken Marketing, 80% have chosen Finance, 84%
have chosen operations (ops), and 90% have chosen Human Resources (HR). What is
the maximum and minimum percentage of people who have chosen all of the four? (+4,
-1)
a) 80% and 56%
b) 95% and 53%
c) 80% and 49%
d) 80% and 51%
Q. Total revenues are Rs. 1800 crores. Overall profit margin is 10%. The division with
the largest revenue has the least profit margin but not the least profits. The division
with the profit margin higher than all others generates the least profit. Exactly one
division has the same profit margin as the overall Company. Company D generates more
profits than Company E.
(a) How much profit did Company A make? (+4, -1)
a) Rs. 50 crores
b) Rs. 25 crores
c) Rs. 30 crores
d) Rs. 60 crores
(b) What was the profit margin for company B? (+4, -1)
a) 12.33%
b) 8.33%
c) 11.11%
d) 12.5%
(c) How much profit did company E make? (+4, -1)
a) Rs. 40 Crores
b) Rs. 35 Crores
c) Rs. 50 Crores
d) Rs. 60 Crores
Section 3 – SQL – Maximum Marks – 40
Q1- Which of the following is true for a Primary Key constraint? (+4, -1)
1- Primary Key defines a relationship between two tables
2- A table in SQL must have a Primary key associated with it to uniquely identify its
records
3- A table in SQL is indexed by default based on its Primary Key
4- Primary Key may or may not be unique but can be comprised of multiple fields
Q2- Which of the following is false for a Foreign Key constraint? (+4, -1)
1- Foreign Key defines a relationship between two tables
2- Foreign Key is automatically created when two tables are joined
3- Foreign Key uniquely identifies all records in the referenced table
4- Foreign Key may or may not be unique but can be comprised of multiple fields
Q3- Which Normalization neither has composite values nor partial dependencies? (+4, -
1)
1- Second Normal Form
2- Third Normal Form
3- Boyce-Codd Normal Form
4- All of the above
Q4- Which SQL Query can be used to delete a table’s content keeping the structure of
the table intact? (+4, -1)
1- DROP TABLE table_name
2- DROP FROM TABLE table_name
3- DELETE FROM TABLE table_name
4- TRUNCATE TABLE table_name
Q5- Select the correct statement (+4, -1)
1- A group of Transact-SQL statements pre-compiled into a single execution plan is
a stored procedure
2- Performance cannot be improved by stored procedure
3- The subsequent SQL statements that are executed are determined by the
conditional logic applied to the results of the first SQL statements
4- All of the above
Q6- What set of SQL statements is a stored procedure? (+4, -1)
1- Interpreted
2- Pre-compiled
3- Compiled
4- None of the mentioned
Q7- Which of the following is one of the basic approaches for joining tables? (+4, -1)
1- Subqueries
2- Unique Join
3- Natural Join
4- All of the above
Q8- Table Employee has 10 records. It has a non-NULL SALARY column which is also
UNIQUE. (+4, -1)
The SQL statement:
SELECT COUNT(*) FROM Employee WHERE SALARY > ANY (SELECT SALARY FROM
EMPLOYEE);
prints
1- 10
2- 9
3- 1
4- 0
Q9- Consider the following table “avian” (id, name, sal). (+4, -1)
Id Name Sal
1 Ankit 20
1 Faizan 10
2 Faizan 10
3 Faizan 20
1 Sunil 10
2 Sunil 20
1 Kunal 10
10 Nikam 30
Which of the following options will be required at the end of the following SQL query:
Query: SELECT P1.name FROM avian P1
So that the appended query finds out the name of the employee who has the maximum
salary?
1- WHERE P1.sal >= Any (select P2.sal from avian P2)
2- WHERE P1.sal <= All (select max(P2.sal) from avian P2)
3- WHERE P1.sal > Any (select max(P2.sal) from avian P2)
4- WHERE P1.sal >= Any (select max(P2.sal) from avian P2)
Q10- SQL Query to find all the tuples having temperature greater than Paris. (+4, -1)
1- SELECT * FROM weather WHERE temperature > (SELECT temperature
FROM weather WHERE city = ‘Paris’)
2- SELECT * FROM weather WHERE temperature > (SELECT city FROM weather
WHERE city = ‘Paris’)
3- SELECT * FROM weather WHERE temperature > (SELECT * FROM weather
WHERE city = ‘Paris’)
4- SELECT * FROM weather WHERE temperature > ‘Paris’ temperature
Section 4 – Python – Maximum Marks - 40
Q1. What is the output of the following program? (+4, -1)
for i in [1, 2, 3, 4] [::-1]:
print (i)
a) Error
b) 4
3
2
1
c) 1
2
3
4
d) 3
2
1
4
e) None of these
Q2. What is the output of the following program? (+4, -1)
dict1 = {'Google': 1,
'Facebook': 2,
'Microsoft': 3
}
dict2 = {'Teams': 1,
'Microsoft': 2,
'Youtube': 3
}
dict1.update(dict2);
for key, values in dict1.items():
print(key, values)
a) Compilation Error
b) (‘Google’, 1)
(‘Facebook’, 2)
(‘Youtube’, 3)
(‘Microsoft’, 2)
(‘Teams’, 1)
c) Runtime Error
d) (‘Google': 1)
('Facebook': 2)
('Microsoft': 3)
e) None of these
Q3. What is the output of the following program? (+4, -1)
line = "What will have so will"
L = line.split('a')
for i in L:
print(i, end=' ')
a) [‘What’, ‘will’, ‘have’, ‘so’, ‘will’]
b) Wh t will h ve so will
c) [‘Wh’, ‘t will h’, ‘ve so will’]
d) What will have so will
e) Error
Q4. What is the output of the following program? (+4, -1)
a = True
b = False
c = False
if not a or b:
print (1)
elif not a or not b and c:
print (2)
elif not a or b or not b and a:
print (3)
else:
print (4)
a) 4
b) 3
c) 2
d) 1
e) Error
Q5. What is the output of the following program? (+4, -1)
codes = [1, 2, 3, 4]
codes.append([5,6,7,8])
print len(codes)
print(codes)
a) 4
[1,2,3,4,5,6,7,8]
b) 5
[1,2,3,4,[5,6,7,8]]
c) 8
[1,2,3,4,5,6,7,8]
d) 7
[1,2,3,4,[5,6,7,8]]
e) Error
Q6. What is the output of the following program? (+4, -1)
sets = {3, 4, 5}
sets.update([1, 2, 3])
print(sets)
a) {1, 2, 3, 4, 5}
b) {1, 2, 3, 3, 4, 5}
c) {3, 4, 5, 1, 2, 3}
d) Error
Q7. You can create a scatter plot matrix using the __________ method in
pandas.tools.plotting. (+4, -1)
a) sca_matrix
b) scatter_matrix
c) DataFrame.plot
d) all of the mentioned
Q8. The plot method on Series and DataFrame is just a simple wrapper around
____________. (+4, -1)
a) gplt.plot()
b) plt.plot()
c) plt.plotgraph()
d) none of the mentioned
Q9. What will be output for the following code? (+4, -1)
import numpy as np
dt = dt = np.dtype('i4')
print dt
A. int32
B. int64
C. int128
D. int16
Q10. In pandas, Index values must be? (+4, -1)
A. unique
B. hashable
C. Both A and B
D. None of the above
Section 4 - R Programming – Maximum Marks 40
Q1) Which of the following commands will split the plotting window into 4 X 3 windows
and where the plots enter the window column wise. (+4, -1)
A) par(split=c(4,3))
B) par(mfcol=c(4,3))
C) par(mfrow=c(4,3))
D) par(col=c(4,3))
Q2)How many types of R objects are present in R data type? (+4, -1)
A. 4
B. 5
C. 6
D. 7
Q3) Which function is used to create the vector with more than one element? (+4, -1)
A. Library()
B. plot()
C. c()
D. par()
Q4) Which of the following function is used to view the dataset in spreadsheet like
format? (+4, -1)
A) disp()
B) seq()
C) View()
D) All of the Above
Q5)Point out the wrong statement? (+4, -1)
A. Setting up a workstation to take full advantage of the customizable features of R is
a straightforward thing
B. q() is used to quit the R program
C. R has an inbuilt help facility similar to the man facility of UNIX
D. Windows versions of R have other optional help systems also
Q6)Which of the following is true about R? (+4, -1)
A. R is a well-developed, simple and effective programming language
B. R has an effective data handling and storage facility
C. R provides a large, coherent and integrated collection of tools for data analysis.
D. All of the above
Q7)Two vectors X and Y are defined as follows – X <- c(3, 2, 4) and Y <- c(1, 2).
What will be output of vector Z that is defined as Z <- X*Y. (+4, -1)
A. Z <- (3, 4, 4)
B. Z <- (3, 4)
C. Z <- (3, 2, 4)
D. Z <- (1, 2)
Q8)
Alpha 125.5 0
Beta 235.6 1
Beta 212.03 0
Beta 211.30 0
Alpha 265.46 1
File Name – Dataframe.csv
Which of the following commands will correctly read the above csv file with 5 rows in a
dataframe? (+4, -1)
A) csv(‘Dataframe.csv’)
B) csv(‘Dataframe.csv’,header=TRUE)
C) dataframe(‘Dataframe.csv’)
D) csv2(‘Dataframe.csv’,header=FALSE,sep=’,’)
Q9)
V1 V2
1 121.5 461
2 516 1351
3 451 6918
4 613 112
5 112.36 230
6 25.23 1456
7 12 457
voltagedata
A data set has been read in R and stored in a variable “voltagedata”. Which of the below
codes will produce a summary (mean, mode, median) of the entire dataset in a single
line of code? (+4, -1)
A) summary(dataframe)
B) stats(dataframe)
C) summarize(dataframe)
D) summarise(dataframe)
E) None of the above
Q10)
V1 V2
1 121.5 461
2 516 1351
3 451 6918
4 613 112
5 112.36 230
6 25.23 1456
7 12 457
voltagedata
Which of the following codes will not give the number of missing values in each
column? (+4, -1)
A) colSums(is.na(dataframe))
B) table(is.na(dataframe)
C) apply(is.na(dataframe),2,sum)
D) sapply(dataframe,function(x) sum(is.na(x))
Section 6 – Excel – Maximum Marks – 40
Q1. What function displays row data in a column or column data in a row? (+4, -1)
a) Hyperlink
b) Index
c) Transpose
d) Rows
e) None of these
Q. Using the Fl 1 shortcut key to create a chart on chart sheet creates
a) A default chart
b) A 2-dimensional column chart
c) A 2-dimensional bar chart
d) A 3-dimensional line chart
e) None of these
Q. What is the keyboard shortcut {button or buttons to be pressed) for creating a chart
from the selected cells?
a) F3
b) F5
c) F7
d) F11
e) None of these
Q. In Excel how can you find specific information in a list?
a) Select Tools > Finder from the menu
b) Click the Find button on the standard toolbar
c) Select Insert > Find from the menu
d) Select Data > Form from the menu to open the Data Form dialog box and click
the Criteria button
Q. In Excel LEN function does what?
a) Compares the content in two cells
b) Counts the numbers of characters in a cell
c) Deletes extra space in text
d) All of above
Q. Which of the following is not a term of MS-Excel?
a) Cells
b) Rows
c) Columns
d) Document
e) None of these
Q. In Excel the numbers in our worksheet look like this: 1000. You want them to look
like this: $1,000.00. How can you accomplish this?
a) None of these
b) Select Format > Money from the menu
c) Click the Currency Style button on the formatting toolbar
d) You have to retype everything and manually add the dollar signs, commas, and
decimals.
Q. Comments put in cells are called
a) Smart tip
b) Cell tip
c) Web tip
d) Soft tip
e) None of these
Q. In Excel when integrating Ms-Word and Excel, Word is usually the
a) Server
b) Source
c) Client
d) None
Q. Weight refers to
a) The print density of characters
b) The height of the printed character
c) Upright or Santed shape
d) The sign and appearance of characters
e) None of these