This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 16301. |
________ are similar to matrices but can have more than two dimensions.(a) Functions(b) Packages(c) Arrays(d) Columns |
|
Answer» Correct choice is (c) Arrays Explanation: Arrays are similar to matrices which can have more than two dimensions. See help(array) for details. Factors are created using the factor() function. We can Identify elements of a list using the [[]] convention. |
|
| 16302. |
Which of the following function works similar to separate()?(a) extract()(b) gather()(c) sep()(d) separate() |
|
Answer» Correct answer is (a) extract() Easiest explanation: extract() works in a similar way. |
|
| 16303. |
In the mathematical Equation of Linear Regression Y = β1 + β2X + ϵ, (β1, β2) refers to __________(a) (X-intercept, Slope)(b) (Slope, X-Intercept)(c) (Y-Intercept, Slope)(d) (slope, Y-Intercept) |
|
Answer» Correct choice is (c) (Y-Intercept, Slope) To explain: Y-intercept is β1 and X-intercept is – (β1 / β2). Intercepts are defined for axis and formed when the coordinates are on the axis. |
|
| 16304. |
In which year Haykin gave a comprehensive survey of neural network techniques from an engineering perspective?(a) 1995(b) 1996(c) 1966(d) 1994 |
|
Answer» Right choice is (d) 1994 The best I can explain: Haykin (1994) gives a comprehensive survey of many neural network techniques from an engineering perspective. |
|
| 16305. |
Which of the following will reverse the order of values in x?(a) rev(x)(b) max(x, na.rm=TRUE)(c) all(x)(d) x%in%y |
|
Answer» Correct option is (a) rev(x) For explanation: rev provides a reversed version of its argument. |
|
| 16306. |
Which of the following is similar to Moment.js?(a) stringr(b) lubridate(c) ploy(d) forecast |
|
Answer» The correct option is (b) lubridate To elaborate: lubridate is one of those magical libraries that just seems to do exactly what you expect it to. |
|
| 16307. |
________ level plotting functions that start a new plot.(a) High(b) Low(c) Medium(d) Simple |
|
Answer» Right choice is (a) High The best explanation: R has a variety of graphics functions. High-level plotting functions will start a new plot. Low-level plotting functions that add elements to an existing plot. |
|
| 16308. |
Which of the following function is used for plotting histogram?(a) hist()(b) histog()(c) histg()(d) histo() |
|
Answer» Correct answer is (a) hist() Easiest explanation: The generic function hist computes a histogram of the given data values. |
|
| 16309. |
Which of the following is true about the base plotting system?(a) Margins and spacings are adjusted automatically depending on the type of plot and the data(b) Plots are typically created with a single function call(c) Plots are created and annotated with separate functions(d) The system is most useful for conditioning plots |
|
Answer» Right option is (c) Plots are created and annotated with separate functions For explanation I would say: Functions like ‘plot’ or ‘hist’ typically create the plot on the graphics device and functions like ‘lines’, ‘text’, or ‘points’ will annotate or add data to the plot. |
|
| 16310. |
Which of the following statement applies the function (FUN) to either rows (1) or columns (2) on object X?(a) apply(x,1,min)(b) apply(x,2,max)(c) col.max(x)(d) apply(X, MARGIN, FUN, …) |
|
Answer» Correct option is (d) apply(X, MARGIN, FUN, …) To explain I would say: apply(x,2,max) finds the maximum for each column. |
|
| 16311. |
__________ refers to a group of techniques for fitting and studying the straight-line relationship between two variables.(a) Linear regression(b) Logistic regression(c) Gradient Descent(d) Greedy algorithms |
|
Answer» Correct option is (a) Linear regression Easy explanation: Linear regression is an incredibly powerful tool for analysing data. we’ll focus on finding one of the simplest type of relationship: linear. This process is unsurprisingly called linear regression, and it has many applications. |
|
| 16312. |
The graphical parameter __________ defines how many lines appear in each of the four margins.(a) Par(b) Mar(c) Char(d) Ian |
|
Answer» The correct answer is (b) Mar For explanation I would say: The graphical parameter mar defines how many lines appear in each of the four margins. So mar is an alternative way of defining margins. |
|
| 16313. |
________ add new variables/columns or transform existing variables.(a) mutate(b) add(c) apped(d) arrange |
|
Answer» Correct option is (a) mutate Explanation: arrange is used to reorder rows of a data frame. |
|
| 16314. |
Which of the following declares the current plot undeclared?(a) New = H(b) New = T(c) New = J(d) New = L |
|
Answer» Correct choice is (b) New = T To explain: New=T will declare the current plot is unused (even if it is not). This means that R will not erase it before moving in through the next plot. |
|
| 16315. |
Which level plotting commands generate figures?(a) Low(b) High(c) Both high and low(d) No levels |
|
Answer» Right answer is (b) High The explanation is: High level plotting commands generate figures. A figure consists of a plot region surrounded by margins. |
|
| 16316. |
The ______ parameter influences the spread of the distribution about its median.(a) Scale(b) Mode(c) Mean(d) Variance |
|
Answer» Correct choice is (a) Scale The explanation: The scale parameter influences the spread of the distribution about its median. The median is represented by the location parameter. |
|
| 16317. |
Which of the following draws nothing?(a) geom_blank(b) geom(c) geom_bin2d(d) geom_contour |
|
Answer» Right answer is (c) geom_bin2d Explanation: geom_bin2d adds heatmap of 2d bin counts. |
|
| 16318. |
The _______ and ________ of a discrete random variable is easy to compute at the console.(a) Mean, Variance(b) Variance, Packages(c) Packages, Functions(d) Median, Mode |
|
Answer» The correct choice is (a) Mean, Variance The best explanation: The mean and variance of a discrete random variable are easy to compute at the console. To calculate the mean µ, we need to multiply the corresponding values of x and f and add them. |
|
| 16319. |
__________ is used when you have variables that form rows instead of columns.(a) tidy()(b) spread()(c) separate()(d) gather() |
|
Answer» Right option is (b) spread() Best explanation: You need spread() less frequently than gather() or separate(). |
|
| 16320. |
__________ produces bivariate scatterplots or time-series plots.(a) xyplot(b) dotplot(c) barchart(d) bwplot |
|
Answer» The correct option is (a) xyplot Best explanation: xyplot has points that show the relationship between two sets of data. Optionally the y-axis may be scaled logarithmically. dotplot produces Cleveland dot plots. barchart produces bar plots. |
|
| 16321. |
Which of the following groups values of a variable into larger bins?(a) cut(b) col.max(x)(c) stem(d) which.max(x) |
|
Answer» Right answer is (a) cut Easy explanation: stem() is used to make a stemplot. |
|
| 16322. |
Point out the correct statement?(a) Each row is an observation in tidy data(b) Each column is a variable in tidy data(c) Arranging your data in tidy way makes it easier to work(d) All of the mentioned |
|
Answer» Right choice is (d) All of the mentioned The explanation: When use tidy data and tidy tools, you spend less time worrying about how to feed the output from one function into the input of another. |
|
| 16323. |
__________ uses regex groups instead of a splitting pattern or position.(a) spread()(b) gather()(c) separate()(d) extract() |
|
Answer» The correct option is (c) separate() Best explanation: separate() allows you to tease columns apart. |
|
| 16324. |
Choose the right definition for the given term ‘Farce’. (a) A humourous animated movie (b) A documentary on the realtionship of a Falcon and a man (c) Review of a film (d) A humorous play or film where the characters become involved in unlikely situations |
| Answer» (d) A humorous play or film where the characters become involved in unlikely situations | |
| 16325. |
The given diagram shows four processes i.e., isochoric, isobaric, isothermal and adiabatic. The correct assignment of the processes, in the same order is given by -(1) d a b c (2) a d c b (3) a d b c (4) d a c b |
|
Answer» Correct option (1) d a b c Explanation: a → isobaric d → isochoric b → isothermal c → adiabatic (d a b c) |
|
| 16326. |
An ideal gas is taken around the cycle ABCA as shown in P-V diagram The net work done by the gas during the cycle is equal to : (a) 12 P1V1 (b) 6P1V1 (c) 5P1V1 (d) P1V1 |
|
Answer» The Correct option is (c) 5P1V1 |
|
| 16327. |
1 mole of NH3 gas at 27°C is expanded in reversible adiabatic condition to make volume 8 times ( = 1.33). Final temperature and work done by the gas respectively are : (a) 150 K, 900 cal (b) 150 K, 400 cal (c) 250 K, 1000 cal (d) 200 K, 800 cal |
|
Answer» (a) 150 K, 900 cal |
|
| 16328. |
A diatomic ideal gas is compressed adiabatically to 1/32 of its initial volume. If the initial temperature of the gas is `T_i` (in Kelvin) and the final temperature is a `T_i`, the value of a is |
|
Answer» Correct Answer - 4 |
|
| 16329. |
400 mangoes were purchased at Rs. 125 per hundred and were sold for a profit of Rs. 100. The selling price per dozen is1. Rs. 182. Rs. 153. Rs. 164. Rs. 20 |
|
Answer» Correct Answer - Option 1 : Rs. 18 Given Cost price of 100 mangoes = Rs. 125 Number of mangoes purchased = 400 Total profit = Rs. 100 Formula used Selling price(SP) = Cost price(CP) + Profit(P) Calculation CP of 100 mangoes = Rs. 125 CP of 400 mangoes = 125 × 4 = Rs.500 SP = CP + P ⇒ SP = 500 + 100 = 600 SP of 400 mangoes = Rs. 600 ⇒ SP of 1 dozen(12) mangoes = 600 × 12/400 = Rs. 18 |
|
| 16330. |
The cost price of 400 chairs is equal to the selling price of 320 chairs. What is the profit percentages?1. 15%2. 20%3. 25%4. 40% |
|
Answer» Correct Answer - Option 3 : 25% Given: Cost price of 400 chairs = Selling price of 320 chairs Formula Used: Profit percentage = {(SP – CP)/CP} × 100 Calculation: Let CP of 1 chair be Rs. x CP of 320 chairs = Rs. 320x CP of 400 chairs = Rs. 400x SP of 320 chairs = Rs. 400x Profit percentage = (400x – 320x)/320x × 100 = 25% ∴ Profit% is 25% |
|
| 16331. |
A person selling 400 books at the cost price of 320 books. What is his percentage of loss is?1. 10%2. 15%3. 20%4. 25% |
|
Answer» Correct Answer - Option 3 : 20% Given: Cost price of 320 books = Selling price of 400 books Formula Used: Loss% = {(C.P – S.P)/C.P} × 100 Calculation: Let C.P of 1 book = Rs. x C.P of 320 books = Rs. 320x S.P of 400 books = Rs. 320x C.P of 400 books = Rs. 400x Loss = Rs. (400x – 320x) = Rs. 80x Loss% = (80x/400x) × 100 = 20% ∴ Loss% is 20% |
|
| 16332. |
India independence day |
|
Answer» 15th of August 15 AUGUST 15 th August is our independence day |
|
| 16333. |
Factorise:9a2 - 9b2 + 6a + 1 |
|
Answer» \(9a^2 - 9b^2 + 6a + 1\) \(= 9a^2 + 6a + 1 - 9b^2\) \(= (3a + 1)^2 -(3b)^2 \) \((\because a^2 + 2ab + b^2 = (a + b)^2)\) \(= (3a + 1 - 3b)(3a + 1 + 3b)\) \((\because a^2 - b^2 = (a + b) (a - b))\) \(= (3 (a - b) + 1) (3(a + b) + 1)\) |
|
| 16334. |
write the derivation of Identity 6 |
|
Answer» Identity VI: (a + b)3 = a3 + b3 + 3ab (a + b) |
|
| 16335. |
Add the following expressions. |
|
Answer» Add the following expressions: 1. 13x2-4x-14 Similarly you can do all the question |
|
| 16336. |
Prove that `5-sqrt(3)`is an irrational number. |
|
Answer» Let us assume that `5- sqrt3 `is a rational We can find co prime a & b `( b ne 0)` such that `5 - sqrt3= (a)/(b)` Therefore `5- (a)/(b) = sqrt3` So we get `(5b-a)/(b) = sqrt3` Since a & b are integers, we get `(5b-a)/(b)` is rational, and so `sqrt3` is rationa. But `sqrt3` is an irrational number Which contradicts our statement `therefore 5 - sqrt3` is irrational |
|
| 16337. |
Prove that: `" "( tan A + sinA)/(tanA - sinA) = (sec A +1)/(secA -1)` |
|
Answer» `" "L.H.S. = (tan A + sin A)/(tanA - sinA)` `" " = ((sinA)/(cosA) + sinA)/((sinA)/(cosA)- cosA)= (sinA)/(sinA) ([secA +1])/([secA -1])` `" " = R.H.S` |
|
| 16338. |
Prove that `(cotA- cosA)/(cotA+ cosA) = (cosecA -1)/(cosecA+1)` |
|
Answer» `" "L.H.S. = (cotA - cosA)/(cotA + cosA) = ((cosA)/(sinA)- cosA)/((cosA)/(sinA) + cosA)` `" " = (cosA((1)/(sinA)-1))/(cos A ((1)/(sinA)+1)) = (((1)/(sinA)-1))/((1)/(sinA ) +1)` `" " = (cosecA -1)/(cosecA +1) = R.H.S` |
|
| 16339. |
Draw a line segment of length 8 cm and divides it in the ratio `2: 3` |
|
Answer» Line of given length Correct position of point which divides the line segment in the given ratio |
|
| 16340. |
In a class there are 10 boys and 8 girls. The class teacher wants to select a student for monitor of the class. In how many ways the class teacher can make this selection ? |
|
Answer» The teacher can select a student for monitor in two exclusive ways Hence, by the fundamental principle of addition, either a boy or a girl can be selected in 10 + 8 = 18 ways. |
|
| 16341. |
If α, β are the zeroes of the polynomial (x2 – x – 12). Then form a quadratic equation whose zeroes are 2α and 2β. |
|
Answer» Given that, α and β are zeros of the polynomial x2 – x – 12. The sum of zeros = α + β = \(\frac{-b}{a}\) = \(\frac{−(−1)}{1}\) = 1. The product of zeros = αβ = \(\frac{c}{a}\) = \(\frac{−12} {1}\) = −12. Now, (α – β)2 = (α + β)2 – 4αβ = 12 – 4 × –12 = 1 + 48 = 49. ⇒ α − β = ±7. Case I :- α − β = 7 and α + β = 1. ⇒ 2α = 8 ⇒ α = 4. Then, 4 + β = 1 ⇒ β = 1 − 4 = −3. i.e., α = 4 and β = −3 . Case II :- α − β = −7 and α + β = 1 ⇒ 2α = −6 ⇒ α = −3. Then, −3 + β = 1 ⇒ β = 1 + 3 = 4. i.e., α = −3 and β = 4. Hence, –3 and 4 are zeros of given polynomial x2 – x – 12. We want to find a quadratic equation whose zeros are 2α and 2β i.e., quadratic equation is (x – 2α) (x – 2β) = 0 ⇒ (x − 8)(x + 6) = 0 (∵ either α = −3 & β = 4 or α = 4 and β = −3) ⇒ x2 − 2x − 48 = 0. ∴ Required quadratic equation is x2 − 2x − 48 = 0. |
|
| 16342. |
Five cards – the ten, jack, queen, king and ace of diamonds are well-shuffled with their faces downwards. One card is then picked up at random. (a) What is the probability that the drawn card is the queen?I. 1/2 II. 1/3 III. 1/4 IV. 1/5(b) If the queen is drawn and put aside and a second card is drawn. What is the probability that the 2nd card is an ace? I. 1/2 II. 1/3 III. 1/4 IV. 1/5 (c) What is the probability that the second card is queen?I. 1/2 II. 1/3 III. 1/4 IV. None(d) From five cards, two cards are drawn. Find the probability that the drawn cards are an ace and ten?I. 1/5II. 2/5 III. 1/25 IV. None(e) The probability that an ordinary year has 53 Mondays is : I. 1/7 II. 53/365 III. 1/365 IV. None |
|
Answer» We have five cards – ten, jack, queen, king and ace of diamonds. Total cards = n(S) = 5. (a) Option (iv) Total queen cards in given set of cards n(E1) = 1. ∴ Probability that drawn card is a queen = \(\frac{n(E_1)}{ n(S)}\) = \(\frac{1}{5}\). Hence, Option (iv) is correct. (b) Option (iii) If the queen is drawn and put aside. Then total number of remaining cards = n(S') = 4. And total ace cards in remaining set of cards = n(E1) = 1. ∴ The probability that 2nd card is an ace = \(\frac{n(E_1)}{ n(S')}\) = \(\frac{1}{4}\) . Hence, Option (iii) is correct. (c) Option (iv) Total queen cards in the remaining set of cards = n(E3) = 0. ∴ The probability that 2nd card is queen card = \(\frac{n(E_3)}{ n(S') }\) = \(\frac{0}{4}\) = 0. Hence, Option (iv) is correct. (d) Option (iv) From five cards, Two cards are drawn. Let \(E'_4\) = Event that first card is ten and second card is ace card. \(E''_4\) = Event that first card is ace card and second card is ten card. S4 = total possible outcomes in drawing two cards = 5 × 4 = 20. ∴ Probability that drawn card are an ace card and ten card = P(\(E'_4\)) + P(\(E''_4\)) = \(\frac{1}{5\times 4}\) + \(\frac{1}{5\times 4}\) = \(\frac{2}{20}\) = \(\frac{1}{10}\) Hence, The correct answer is option (iv). (e) Option (i) In an ordinary year, total day = 365 = 52 weeks and 1 day. Hence, There will be 52 Mondays for sure. So, In ordinary year there will be 52 Mondays and 1 day will be left This one day could be a Monday or Tuesday or Wednesday or Thursday or Friday or Saturday or Sunday. Hence, Total possible outcomes = 7 But favorable outcome = 1. ∴ Probability of getting 53 Mondays = \(\frac{1}{7}\). Hence, Option (i) is correct. |
|
| 16343. |
What is the GM, if the AM and HM of two numbers are 24 and 6 respectively?1. 122. 183. 244. 27 |
|
Answer» Correct Answer - Option 1 : 12 Concept: The relation between AM, GM and HM: (GM)2 = (AM) × (HM)
Calculation: Given AM = 24 and HM = 6 And we know that (GM)2 = (AM) × (HM) ⇒ GM = \(\sqrt{24\times 6}=\sqrt{144}\\=12 \) Hence, option (1) is correct. |
|
| 16344. |
For any variable series Q1 = 61 and Q3 = 121. Find the quartile deviation. |
|
Answer» Quartile deviation (Q.D.) = (Q3 - Q1)/2 = (121 - 61)/2 = 60/2 = 30. |
|
| 16345. |
If (?)3/4 = (?)2, what number should replace ‘?’?1. 42. 63. 14. 2 |
|
Answer» Correct Answer - Option 1 : 4 Given : (?)3/4 = (?)2 Calculation : According to the question, ⇒ ?3/4 = ?2 ⇒ ?3/?2 = 4 ⇒ ? = 4 ∴ The required answer is 4. |
|
| 16346. |
The LCM and HCF of two numbers are 120 and 3 respectively. One of these numbers is 24. What is the second number?1. 302. 153. 204. 60 |
|
Answer» Correct Answer - Option 2 : 15 Given: The LCM and HCF of two numbers are 120 and 3 One of these numbers is 24 Formula used: Product of two no. = product of their LCM and HCF Calculation: Let the other no. be p So, 24 × p = 120 × 3 ⇒ 24 × p = 360 ⇒ p = 15 Therefore, the second number is 15 |
|
| 16347. |
Number 136 is added to 5B7 and the sum obtained is 7A3, where A and B are integers. It is given that 7A3 is exactly divisible by 3. The only possible value of B is1. 22. 53. 74. 8 |
|
Answer» Correct Answer - Option 4 : 8 Concept: The divisibility rule of 3 states that a number is completely divisible by 3 if the sum of its digit is divisible by 3 or multiple of 3. Calculation: ⇒ 7 + A + 3 = 10 + A (Possible value of A is 2, 5, 8) ⇒ 136 + 5B7 = 7A3 (Possible value of B is 6, 7, 8, 9) ⇒ For A = 2, B = 8 ⇒ 7 + 2 + 3 = 12, (Which is divisible by 3 or multiple of 3) ⇒ The value of B = 8 ∴ The required result will be 8. |
|
| 16348. |
A printer numbers the pages of a book starting with 1 and uses 3089 digits in all. How many pages does the book have?1. 10402. 10483. 10494. 1050 |
|
Answer» Correct Answer - Option 3 : 1049 Calculation: ⇒ The single-digit page (From 1 to 9) = 9 digit ⇒ Double digit page (From 10 to 99) = 2 × 90 = 180 digit ⇒ Three digit page (From 100 to 999) = 3 × 900 = 2700 digit ⇒ Total digit used = 9 + 180 + 2700 = 2889 ⇒ The remaining digit = 3089 - 2889 = 200 ⇒ The number of page with four digits = 200/4 = 50 ⇒ The required number of total page = 999 + 50 = 1049 ∴ The required result will be 1049. |
|
| 16349. |
A and B can do a piece of work in 18 days. B and C together can do it in 30 days. If A is twice as good a workman as C, find in how many days B alone can do the work?1. 90 days2. 80 days3. 75 days4. 100 days |
|
Answer» Correct Answer - Option 1 : 90 days Given: A and B can do a piece of work in 18 days. B and C do it in 30 days. A is twice as good a workman as C. Calculation: Let total work is LCM of (18, 30) equal to 90 units. According to the question The efficiency of A and B together is ⇒ 90/18 ⇒ 5 units The efficiency of B and C together is ⇒ 90/30 ⇒ 3 units The difference between the efficiency of A and C is ⇒ 5 - 3 ⇒ 2 units The ratio of the efficiency of A and C is ⇒ 2 : 1 Now, We say that the efficiency of A is 4 units and C is 2 units, then The efficiency of B is ⇒ 5 - 4 ⇒ 1 units So, The time taken by B to complete the work is ⇒ 90/1 ⇒ 90 days ∴ B alone completes the whole work in 90 days. |
|
| 16350. |
Ram is thrice efficient than Shyam and therefore able to finish the work in 15 days less than Shyam. In how many days they finish the work if they work together?1. 5.625 days2. 7.5 days3. 9.6 days4. 3.125 days |
|
Answer» Correct Answer - Option 1 : 5.625 days Given: Ram is thrice efficient than Shyam and Ram finishes the work in 15 days less than Shyam Concept used: If time taken finish the work = X days ∴ Part of work completed in one day = 1/X Efficiency ∝ 1/Time Calculation: Ram is thrice efficient than Shyam ∴ Ratio of Efficiency = 3 ∶ 1 And ratio of the time taken = 1 ∶ 3 Now, Ram takes 15 days less than shyam to finish the work ∴ 3x – x = 15 ⇒ x = 7.5 So, Ram takes 7.5 days and Shyam takes 22.5 days to finish the work Now, Let both takes x days to finish the work ∴ Time taken by both to finish the work = (1/7.5 + 1/22.5) = 1/x ⇒ x = 5.625 days So, both of them will finish the work in 5.625 days Hence, option (1) is correct |
|