Computer Science & IT

Download Q&A
Q. Which traversal method visits the nodes of a binary tree in the order of left child, root, right child?
  • A. Pre-order
  • B. In-order
  • C. Post-order
  • D. Level-order
Q. Which traversal method visits the root node before its children in a binary tree?
  • A. Inorder
  • B. Postorder
  • C. Preorder
  • D. Level order
Q. Which traversal method visits the root node before its children?
  • A. In-order
  • B. Post-order
  • C. Pre-order
  • D. Level-order
Q. Which traversal method visits the root node first in a binary tree?
  • A. In-order
  • B. Post-order
  • C. Pre-order
  • D. Level-order
Q. Which traversal method visits the root node last?
  • A. In-order
  • B. Pre-order
  • C. Post-order
  • D. Level-order
Q. Which traversal method would you use to check if a graph is bipartite?
  • A. DFS
  • B. BFS
  • C. Both DFS and BFS
  • D. Neither DFS nor BFS
Q. Which traversal method would you use to create a mirror image of a binary tree?
  • A. In-order
  • B. Pre-order
  • C. Post-order
  • D. Level-order
Q. Which traversal method would you use to delete a binary tree?
  • A. Pre-order
  • B. In-order
  • C. Post-order
  • D. Level-order
Q. Which traversal method would you use to find all possible paths in a maze?
  • A. BFS
  • B. DFS
  • C. Dijkstra's algorithm
  • D. A* algorithm
Q. Which traversal method would you use to get the nodes of a binary tree in non-decreasing order?
  • A. Pre-order
  • B. In-order
  • C. Post-order
  • D. Level-order
Q. Which traversal method would you use to get the nodes of a binary tree in post-order?
  • A. Visit left, visit right, visit node
  • B. Visit node, visit left, visit right
  • C. Visit right, visit left, visit node
  • D. Visit left, visit node, visit right
Q. Which traversal method would you use to get the nodes of a binary tree in pre-order?
  • A. Visit left, visit right, visit node
  • B. Visit node, visit left, visit right
  • C. Visit right, visit left, visit node
  • D. Visit node, visit right, visit left
Q. Which traversal method would you use to get the nodes of a binary tree in reverse level order?
  • A. Pre-order
  • B. In-order
  • C. Post-order
  • D. Level-order
Q. Which traversal method would you use to get the nodes of a binary tree in sorted order?
  • A. Pre-order
  • B. In-order
  • C. Post-order
  • D. Level-order
Q. Which traversal method, BFS or DFS, is more memory efficient in a sparse graph?
  • A. BFS
  • B. DFS
  • C. Both are equal
  • D. Depends on the implementation
Q. Which traversal technique is best suited for printing the nodes of a binary tree level by level?
  • A. Pre-order
  • B. In-order
  • C. Post-order
  • D. Level-order
Q. Which traversal would you use to delete a binary tree?
  • A. In-order
  • B. Pre-order
  • C. Post-order
  • D. Level-order
Q. Which tree structure allows for faster insertion and deletion operations?
  • A. AVL Tree
  • B. Red-Black Tree
  • C. Both are equal
  • D. Neither
Q. Which tree structure guarantees that no path from the root to a leaf is more than twice as long as any other such path?
  • A. AVL Tree
  • B. Red-Black Tree
  • C. Binary Search Tree
  • D. B-Tree
Q. Which tree structure is more rigidly balanced, AVL or Red-Black?
  • A. AVL tree
  • B. Red-Black tree
  • C. Both are equally balanced
  • D. Neither is balanced
Q. Which tree structure is more suitable for applications requiring frequent insertions and deletions?
  • A. AVL Tree
  • B. Red-Black Tree
  • C. Binary Search Tree
  • D. B-Tree
Q. Which type of neural network is often used for image recognition tasks?
  • A. Recurrent Neural Network (RNN)
  • B. Convolutional Neural Network (CNN)
  • C. Feedforward Neural Network
  • D. Generative Adversarial Network (GAN)
Q. Which type of neural network is specifically designed for image processing?
  • A. Recurrent Neural Network
  • B. Convolutional Neural Network
  • C. Generative Adversarial Network
  • D. Feedforward Neural Network
Q. Which type of neural network is typically used for image recognition tasks?
  • A. Recurrent Neural Network (RNN)
  • B. Convolutional Neural Network (CNN)
  • C. Feedforward Neural Network
  • D. Generative Adversarial Network (GAN)
Q. Why are Red-Black trees preferred in certain applications over AVL trees?
  • A. They are simpler to implement
  • B. They guarantee faster search times
  • C. They require fewer rotations during insertions and deletions
  • D. They are more memory efficient
Q. Why is time complexity important in algorithm design?
  • A. It determines the memory usage of an algorithm
  • B. It helps predict the performance of an algorithm
  • C. It defines the data structure to be used
  • D. It is irrelevant to real-world applications
Q. Why is version control important in model deployment?
  • A. To track changes in model architecture
  • B. To manage different datasets
  • C. To ensure reproducibility and rollback capabilities
  • D. To improve model training speed
Showing 3211 to 3237 of 3237 (108 Pages)
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely