Search
Question: What is the primary difference between BFS and DFS?Options: BFS uses a stack, DFS uses a q..
Question: Which algorithm is typically used to find the shortest path in a weighted graph?Options: B..
Question: What is the main disadvantage of using BFS?Options: It can be slower than DFSIt requires m..
Question: In a graph, if you want to check if there is a path between two nodes, which traversal met..
Question: What is a common application of DFS in graph theory?Options: Finding the shortest pathTopo..
Question: Which of the following statements about DFS is true?Options: It can be implemented using a..
Question: What is the primary application of BFS in real-world scenarios?Options: Web crawlingPathfi..
Question: In a graph, if you want to check for cycles, which traversal method is more suitable?Optio..
Question: Which of the following problems can be solved using DFS?Options: Finding a path in a mazeF..
Question: What is the main disadvantage of DFS compared to BFS?Options: Higher memory usageCan get s..
Question: Which of the following is a characteristic of BFS?Options: Uses a stackUses a queueCan fin..
Question: In which scenario is DFS preferred over BFS?Options: Finding the shortest pathExploring al..
Question: Which algorithm is typically used for finding the shortest path in a weighted graph?Option..
Question: What is the space complexity of BFS in the worst case?Options: O(V)O(E)O(V + E)O(V^2)Corre..
Question: In a tree, which traversal method is equivalent to a level order traversal?Options: DFSBFS..
Question: Which of the following applications can be solved using BFS?Options: Finding connected com..
Question: Which of the following is a characteristic of Depth-First Search (DFS)?Options: Uses a que..
Question: If vector A = 2i + 3j and vector B = 4i + 5j, what is the angle between A and B? (2023)Opt..
Question: If vector A = 4i + 3j and vector B = 4i - 3j, what is the angle between A and B? (2019)Opt..
Question: If the position vector of point P is given by r = 2i + 3j + 4k, what is the x-coordinate o..
Question: What is the cross product of vectors A = i + 2j and B = 3i + 4j? (2021)Options: -2k2kk0Cor..
Question: If vector A = 6i + 8j, what is the unit vector in the direction of A? (2023)Options: 3/5 i..
Question: Find the angle between the vectors A = 2i + 2j and B = 2i - 2j. (2022)Options: 0 degrees45..
Question: If vector A = 4i + 3j and vector B = -i + 2j, what is the resultant vector R = A + B? (201..
Question: If A = 3i + 4j and B = 4i + 3j, what is the value of A · B?Options: 25303228Correct Answer..
Question: What is the scalar product of A = 1i + 2j + 3k and B = 4i + 5j + 6k?Options: 32343630Corre..
Question: If A = 6i + 8j and B = 2i + 3j, find A · B.Options: 36423024Correct Answer: 36Solution: A ..
Question: If A = 2i + 2j and B = 3i + 4j, what is the angle between A and B?Options: 45 degrees60 de..
Question: Find the scalar product of vectors A = 7i + 1j + 2k and B = 3i + 4j + 5k.Options: 43373541..
Question: If A = 5i + 5j and B = 5i - 5j, what is the value of A · B?Options: 0255010Correct Answer:..