Search
Question: What is a disadvantage of using DFS compared to BFS?Options: DFS uses more memory than BFS..
Question: In a depth-first search, what happens when a node is visited?Options: It is added to the q..
Question: Which traversal method would you use to check if a graph is bipartite?Options: DFSBFSBoth ..
Question: Which of the following statements about BFS is true?Options: BFS can be implemented recurs..
Question: What is a common application of DFS?Options: Finding the shortest path in a weighted graph..
Question: Which data structure is used to implement BFS?Options: StackQueueLinked ListArrayCorrect A..
Question: In which scenario is BFS preferred over DFS?Options: When the graph is very deep and solut..
Question: What is the primary difference between BFS and DFS in graph traversal?Options: BFS uses a ..
Question: A box contains 10 balls numbered from 1 to 10. What is the probability of drawing a ball w..
Question: A jar contains 5 red, 3 blue, and 2 yellow marbles. What is the probability of drawing a y..
Question: A bag contains 4 white and 6 black balls. If one ball is drawn at random, what is the prob..
Question: In a class of 30 students, 18 are boys and 12 are girls. If one student is selected at ran..
Question: The following data shows the number of goals scored by a team in 7 matches: 1, 2, 2, 3, 2,..
Question: In a survey, the number of siblings reported by participants is: 0, 1, 2, 1, 2, 2, 3. What..
Question: The following numbers represent the number of hours studied by students: 5, 6, 5, 7, 8, 5,..
Question: In a class, the number of pets owned by students is recorded as follows: 0, 1, 2, 1, 3, 1,..
Question: The ages of a group of people are: 22, 25, 22, 30, 25, 22, 28. What is the mode of their a..
Question: A group of students scored the following marks in a test: 45, 50, 50, 55, 60, 50, 70. What..
Question: In a survey, the number of languages spoken by participants is recorded as follows: 1, 2, ..
Question: Find the mode of the following set of numbers: 12, 15, 12, 18, 20, 15, 15, 22.Options: 121..
Question: The following data represents the number of books read by students in a month: 4, 5, 6, 5,..
Question: In a data set, the numbers 3, 7, 7, 2, 5, 7, 8, 9, 2, 3 are given. What is the mode of thi..
Question: The mean of 5, 10, 15, and x is 12. What is the value of x?Options: 8101214Correct Answer:..
Question: A group of students has an average height of 150 cm. If one student leaves the group and t..
Question: A student scores 80, 85, and 90 in three subjects. If he wants an average of 85, what scor..
Question: The mean of the numbers 4, 8, 12, and x is 10. What is the value of x?Options: 10121620Cor..
Question: In a survey, 60% of people prefer tea over coffee. If 200 people were surveyed, how many p..
Question: What is the mode of the following data set: 2, 3, 4, 4, 5, 5, 5, 6? (2023)Options: 4563Cor..
Question: If A is a 3x3 matrix and B is a 3x3 matrix, what is the order of the matrix A + B? (2019)O..
Question: What is the relationship between the diagonals of a rectangle? (2023)Options: They are equ..