Computer Science & IT

Download Q&A
Q. Which of the following operations is NOT efficient for a linked list?
  • A. Insertion at head
  • B. Insertion at tail
  • C. Accessing an element by index
  • D. Deletion of a node
Q. Which of the following operations is NOT efficient for linked lists?
  • A. Insertion at head
  • B. Insertion at tail
  • C. Accessing an element by index
  • D. Deletion from head
Q. Which of the following operations is not efficient in a linked list?
  • A. Insertion at the head
  • B. Deletion from the tail
  • C. Accessing an element by index
  • D. Traversal
Q. Which of the following operations is not O(log n) in an AVL tree?
  • A. Insertion
  • B. Deletion
  • C. Searching
  • D. Traversal
Q. Which of the following operations is NOT performed during the insertion in a Red-Black tree?
  • A. Coloring the nodes
  • B. Rotations
  • C. Rebalancing
  • D. Sorting the nodes
Q. Which of the following operations is not performed during the insertion of a node in a Red-Black tree?
  • A. Coloring the node
  • B. Rotating the tree
  • C. Rebalancing the tree
  • D. Sorting the tree
Q. Which of the following operations is not performed in a Red-Black tree?
  • A. Insertion
  • B. Deletion
  • C. Traversal
  • D. Balancing
Q. Which of the following operations is not supported by a queue?
  • A. Enqueue
  • B. Dequeue
  • C. Peek
  • D. Pop
Q. Which of the following operations is not supported by a standard stack?
  • A. Push
  • B. Pop
  • C. Peek
  • D. Dequeue
Q. Which of the following operations is NOT typically associated with a queue?
  • A. Enqueue
  • B. Dequeue
  • C. Peek
  • D. Push
Q. Which of the following operations is not typically associated with a stack?
  • A. Push
  • B. Pop
  • C. Peek
  • D. Dequeue
Q. Which of the following operations is not typically associated with stacks?
  • A. Push
  • B. Pop
  • C. Peek
  • D. Enqueue
Q. Which of the following operations is NOT typically performed on a tree data structure?
  • A. Insertion
  • B. Deletion
  • C. Traversal
  • D. Sorting
Q. Which of the following operations is NOT typically supported by a linked list?
  • A. Insertion
  • B. Deletion
  • C. Access by index
  • D. Traversal
Q. Which of the following operations is performed to maintain the balance of an AVL tree?
  • A. Insertion
  • B. Deletion
  • C. Rotation
  • D. Traversal
Q. Which of the following operations is performed to maintain the balance of an AVL tree after insertion?
  • A. Rotation
  • B. Traversal
  • C. Rearrangement
  • D. Deletion
Q. Which of the following operations is typically O(1) for both stacks and queues?
  • A. Accessing an element
  • B. Inserting an element
  • C. Removing an element
  • D. All of the above
Q. Which of the following operations on a linked list has a time complexity of O(n)?
  • A. Insertion at head
  • B. Insertion at tail
  • C. Deletion from head
  • D. Searching for an element
Q. Which of the following operations on a stack has a time complexity of O(1)?
  • A. Push
  • B. Pop
  • C. Peek
  • D. All of the above
Q. Which of the following optimizations can be performed on intermediate code?
  • A. Dead code elimination
  • B. Lexical analysis
  • C. Syntax checking
  • D. Code generation
Q. Which of the following optimizers is commonly used in training neural networks?
  • A. Stochastic Gradient Descent
  • B. K-Means
  • C. Principal Component Analysis
  • D. Support Vector Machine
Q. Which of the following optimizers is known for adapting the learning rate during training?
  • A. SGD
  • B. Adam
  • C. RMSprop
  • D. Adagrad
Q. Which of the following parsing techniques can handle a larger class of grammars?
  • A. LL parsing
  • B. LR parsing
  • C. Recursive descent parsing
  • D. Predictive parsing
Q. Which of the following problems can be solved using a greedy algorithm?
  • A. Knapsack problem
  • B. Minimum spanning tree
  • C. Shortest path in a graph
  • D. All of the above
Q. Which of the following problems can be solved using BFS?
  • A. Finding connected components in a graph
  • B. Finding the longest path in a graph
  • C. Finding the minimum spanning tree
  • D. Finding the maximum flow in a flow network
Q. Which of the following problems can be solved using DFS?
  • A. Finding a path in a maze
  • B. Finding the shortest path in a weighted graph
  • C. Topological sorting
  • D. All of the above
Q. Which of the following problems can be solved using dynamic programming?
  • A. Finding the maximum element in an array
  • B. Calculating the Fibonacci sequence
  • C. Sorting an array
  • D. Searching for an element in a sorted array
Q. Which of the following problems can be solved using recursion?
  • A. Finding the maximum element in an array
  • B. Calculating the factorial of a number
  • C. Sorting an array
  • D. All of the above
Q. Which of the following properties is NOT true for a Red-Black tree?
  • A. Every node is either red or black.
  • B. The root is always black.
  • C. All leaves (NIL nodes) are red.
  • D. Red nodes cannot have red children.
Q. Which of the following properties is NOT true for Red-Black trees?
  • A. Every node is either red or black.
  • B. The root is always black.
  • C. All leaves (NIL nodes) are red.
  • D. Red nodes cannot have red children.
Showing 2911 to 2940 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