Explore topic-wise MCQs in Data Structures and Algorithms.

This section includes 792 Mcqs, each offering curated multiple-choice questions to sharpen your Data Structures and Algorithms knowledge and support exam preparation. Choose a topic below to get started.

701.

If the total number of bikes sold in 2009 was 10000 how many more yellow bikes were sold than green ones?

A. 200
B. 2000
C. 1000
D. 800
Answer» B. 2000
702.

Average marks of division A were lesser than that of Division C by _________

A. 100%
B. 150%
C. 200%
D. 50%
Answer» E.
703.

In the given bar graph, what is the average number of girls in all colleges?

A. 560
B. 540
C. 550
D. 600
Answer» B. 540
704.

A book has been co-authored by X and Y. The prices of the book in India and abroad are Rs. 800 and Rs. 1000 respectively The royalties earned on sale in India and abroad are 10% and 16% respectively. The royalty amount is distributed among X and Y in the ratio of 5 : 3. The given Bar Graph presents the number of copies of the hook sold in India (A) and abroad (B) during 2012-16. What is the total amount of royalty paid (in Rs.) to the authors during the years 2012, 2013 and 2016?

A. 2,73,400
B. 2,72,000
C. 3,16,000
D. 2,71,600
Answer» D. 2,71,600
705.

If the total production of B & D increased by 25% and 30% respectively in the month of July over June, then find the total production of B & D in the month of July (in units)?

A. 548 cr.
B. 541 cr.
C. 560 cr.
D. 539 cr.
E. None of these
Answer» E. None of these
706.

In which year the number of Arts students is 30% more than that of Science?

A. 2014
B. 2012
C. 2011
D. 2013
Answer» C. 2011
707.

In how many years were the exports of the country more than the average imports during the given years?

A. 2
B. 3
C. 4
D. 1
Answer» C. 4
708.

If the following bar graph represent the number of students enrolled in different faculties in a college, then what is total number of students enrolled in the college?

A. 1000
B. 1250
C. 1800
D. 500
Answer» C. 1800
709.

In the given line graph, if the monthly income of Family K increases to Rs 37,200, What will be the increase in expenditure on entertainment? (Assuming they spend the same proportion as before, round off to one decimal)

A. 43.8
B. 51.9
C. 50.7
D. 46.2
Answer» D. 46.2
710.

In the following diagram, the exports (in Crores of Rupees) of four companies (C1, C2, C3 and C4) are given for three consecutive years. Which of the two companies' average exports can be considered to be close during the three years?

A. C1 and C3
B. C4 and C3
C. C1 and C2
D. C2 and C4
Answer» B. C4 and C3
711.

If the average compensation of an employee of department A is Rs 40,000 per month, then what is the total compensation (in Rs lakhs) of all employees of department A per month?

A. 800
B. 40
C. 80
D. 400
Answer» D. 400
712.

In the given bar-chart, which branch has highest increase in sale (in%) in 2015 as compared to 2014?

A. Delhi
B. Chennai
C. Kolkata
D. Mumbai
Answer» E.
713.

DIRECTIONS: Study the following graph carefully to answer the questions:Percent Profit Earned by Two series Over the Years Percent profit = (Income - Expenditure) x 100/Expenditure If the income of series 2 in the year 2006 was 6.425 lakh, what was its expenditure in that year?

A. 4.5 lakh.
B. 5.2 lakh.
C. 4.43 lakh
D. 4.7 lakh
Answer» D. 4.7 lakh
714.

In how many years, the import was more than the import in 2012?

A. 2
B. 3
C. 4
D. 5
Answer» D. 5
715.

FigureStudy the bar chart and answer the question based on it.In how many years the production of fertilizers was less than the average production of all given years?

A. 3
B. 4
C. 1
D. 2
Answer» C. 1
716.

Find the difference between the number of laptops sold by company A in the month of April and the number of laptops sold by company A and B in the month of March.

A. 50
B. 25
C. 32
D. 38
E. 48
Answer» B. 25
717.

In which two years the difference in the number of plants grown in the two nurseries was same?

A. 2012 and 2013
B. 2013 and 2014
C. 2013 and 2016
D. 2012 and 2016
Answer» E.
718.

If the average cost a unit produced by department C is Rs. 250 then what is the cost of the production (in Rs.) of all units produced by department C?

A. 50000
B. 5000
C. 250000
D. 25000
Answer» B. 5000
719.

Number of articles sold by Company A in the year 2009, 2011 and 2013 together is approximately what percent more than the average number of articles sold by Company B in the year 2012, 2013 and 2014?(approx.)

A. 180
B. 190
C. 198
D. 210
Answer» D. 210
720.

If all students of Division B got bonus 5 marks each for winning an interschool match their new average marks would increase by how much?

A. 12.50%
B. 5%
C. 25%
D. 10%
Answer» B. 5%
721.

In the given line graph, what is the ratio of the difference in spending between food and education for family J and K?

A. 21 ∶ 34
B. 9 ∶ 2
C. 13 ∶ 25
D. 31 ∶ 25
Answer» B. 9 ∶ 2
722.

By what percent more/less is the average revenue of A and D in the year 2015 -16 as compared to the average revenue of B and C in the year 2014 - 15?

A. 18.92% less
B. 4.47% more
C. 6.61% more
D. 5.22% more
Answer» B. 4.47% more
723.

Instructions:Study the following times graph and answer the question on its basis?The sale of books (in thousand) has been given in two consecutive yea rs of 2010 and 2011 of five branches of a publishing company.Find out the total sales (in thousand) of company branches C1, C3 and C5 together in two years?

A. 458
B. 468
C. 438
D. 448
Answer» B. 468
724.

Note: Study the following graph and answer the following question:Sales of books in 2010 and 2011 in five branches of one publishing company (thousandths) are shown.What is the total sale of C1, C3 and C5 branches for both the years together? (in Thousandths)

A. 470
B. 460
C. 450
D. 480
Answer» B. 460
725.

Based on the given graph, which statement correctly describes the pattern?

A. There is increase in CO2 concentration over the years.
B. There is decrease in CO2 concentration over the years.
C. There is no change in CO2­ concentration over the years.
D. The CO2 concentration fluctuates over these years.
Answer» B. There is decrease in CO2 concentration over the years.
726.

If 1 tonne of steel costs Rs. 30,000, then what was the cost (in Rs billion) of the steel production in the year 2017?

A. 240
B. 3000
C. 2400
D. 300
Answer» D. 300
727.

In which year is expenditure more than 40% as compared to the Expenditure in the previous year?

A. 2017
B. 2018
C. 2016
D. 2015
Answer» E.
728.

Find the average of all the visitors who visited the Taj Mahal from Monday to Friday.

A. 3200
B. 3000
C. 3300
D. 2800
E. None of these
Answer» D. 2800
729.

In the given bar-chart, in which subject was the lowest marks scored in 2010?

A. Social studies
B. Mathematics
C. English
D. Science
Answer» D. Science
730.

Find the ratio between the female employees in office B and C together to the male employees in office D and E together.

A. 6 : 5
B. 11 : 8
C. 21 : 11
D. 4 : 5
E. 8 : 11
Answer» D. 4 : 5
731.

Females, who like burgers are approximately how much percentage more than males who like burgers?

A. 73%
B. 35%
C. 100%
D. 62%
Answer» E.
732.

In which financial year the absolute difference between the exports and the imports is the highest?

A. 2017-2018
B. 2015-2016
C. 2016-2017
D. 2014-2015
Answer» C. 2016-2017
733.

Arrange the ratio of sales from B to that from A and C, taken together, month wise in ascending order.

A. Jan, Feb, Mar, Apr
B. Jan, Apr, Mar, Feb
C. Jan, Mar, Apr, Feb
D. Jan, Mar, Feb, Apr
Answer» D. Jan, Mar, Feb, Apr
734.

In how many years was the number of trees planted in state B more than the average number of trees planted in state A over the years?

A. 4
B. 1
C. 2
D. 3
Answer» E.
735.

Number of footballs were least on which day of the week?

A. Tuesday
B. Monday
C. Friday
D. Saturday
Answer» C. Friday
736.

Instructions: Study the graph of the following times and answer the question based on it?The sale of books (in thousand) has been given in two consecutive years of 2010 and 2011 of five branches of a publishing company.Find the ratio of total sales in the two years of branch C2 and the ratio of total sales in both years of branch C4

A. 145 : 164
B. 163 : 144
C. 164 : 145
D. 144 : 163
Answer» D. 144 : 163
737.

In which year were the exports greater than that of the previous year?

A. 2016
B. 2015
C. 2017
D. 2014
Answer» C. 2017
738.

A home decor company produces five different products - Bed sheets, Clocks, Wall hangings, Curtains and Wall stickers. The sales of these five products (in lakh number of packs) during 2018 and 2019 are shown in the following bar-graph. Based on the given information, sales have increased by nearly 55% from 2018 to 2019 in the case of:

A. Wall stickers
B. Bed sheets
C. Curtains
D. Wall hangings
Answer» D. Wall hangings
739.

In which financial year, total of Exports and Imports is the highest?

A. 2014-2015
B. 2015-2016
C. 2016-2017
D. 2017-2018
Answer» D. 2017-2018
740.

By what amount (in Rs. crore) the total revenue by selling all the four products in 2016 is greater than that of 2015?

A. 1
B. 0.75
C. 1.5
D. 1.25
Answer» E.
741.

Consider the following statements:(A) Any tree is 2-colorable(B) A graph G has no cycles of even length if it is bipartite.(C) A graph G is 2-colorable if is bipartite(D) A graph G can be colored with d + 1 colors if d is the maximum degree of any vertex in the graph G.(E) A graph G can be colored with O(log |v|) colors if it has O(|v|) edges.Choose the correct answer from the options given below:

A. (C) and (E) are incorrect
B. (B) and (C) are incorrect
C. (B) and (E) are incorrect
D. (A) and (D) are incorrect
Answer» D. (A) and (D) are incorrect
742.

Which of these adjacency matrices represents a simple graph?

A. [ [1, 0, 0], [0, 1, 0], [0, 1, 1] ]
B. [ [1, 1, 1], [1, 1, 1], [1, 1, 1] ]
C. [ [0, 0, 1], [0, 0, 0], [0, 0, 1] ]
D. [ [0, 0, 1], [1, 0, 1], [1, 0, 0] ]
Answer» E.
743.

To create an adjacency list C++'s map container can be used.

A. True
B. False
Answer» B. False
744.

The And Inverter Graph representation of a Boolean function is more efficient than the Binary Decision Diagram.

A. True
B. False
Answer» B. False
745.

Determine the number of vertices for the given Graph or Multigraph?G is a 4-regular Graph having 12 edges.

A. 3
B. 6
C. 4
D. Information given is insufficient
Answer» C. 4
746.

Given an adjacency matrix A = [ [0, 1, 1], [1, 0, 1], [1, 1, 0] ], how many ways are there in which a vertex can walk to itself using 2 edges.

A. 2
B. 4
C. 6
D. 8
Answer» D. 8
747.

What would be the Incidence Matrix of the given HyperGraph?V = {x,y,z} E = {{x,y}{y}{x,z}{z,y}}

A. {{1,0,1,0}, {1,1,0,1}, {0,0,1,1}}
B. {{1,1,0,0}, {0,1,0,0}, {1,1,1,0}}
C. {{0,1,0,1}, {0,0,1,0}, {1,1,0,0}}
D. None of the Mentioned
Answer» B. {{1,1,0,0}, {0,1,0,0}, {1,1,1,0}}
748.

Which of the given symbols represent nodes having exactly one child?

A. iv) and v)
B. v)
C. i) and iii)
D. ii)
Answer» E.
749.

What is the maximum number of edges present in a simple directed graph with 7 vertices if there exists no cycles in the graph?

A. 21
B. 7
C. 6
D. 49
Answer» D. 49
750.

For the given conditions, which of the following is in the correct order of increasing space requirement?i) Undirected, no weightii) Directed, no weightiii) Directed, weightediv) Undirected, weighted

A. ii iii i iv
B. i iii ii iv
C. iv iii i ii
D. i ii iii iv
Answer» B. i iii ii iv