Computer Science & IT

Download Q&A
Q. In TCP/IP, which protocol is primarily used for reliable data transmission?
  • A. UDP
  • B. ICMP
  • C. TCP
  • D. IP
Q. In terms of balancing, how do AVL trees differ from Red-Black trees?
  • A. AVL trees are less strict
  • B. Red-Black trees are more strict
  • C. AVL trees are more strict
  • D. They are identical
Q. In the 0/1 Knapsack problem, what does dynamic programming help to optimize?
  • A. The number of items
  • B. The weight of the knapsack
  • C. The total value of items
  • D. The arrangement of items
Q. In the 0/1 Knapsack problem, what does the '0/1' signify?
  • A. Items can be divided
  • B. Items can be taken or left
  • C. Items can be taken multiple times
  • D. Items have no weight
Q. In the 0/1 Knapsack problem, what does the dynamic programming approach primarily optimize?
  • A. Space complexity
  • B. Time complexity
  • C. Maximum value
  • D. Minimum weight
Q. In the 0/1 Knapsack problem, what does the dynamic programming table represent?
  • A. Maximum value for each weight limit
  • B. Minimum weight for each value
  • C. Total number of items
  • D. Total weight of items
Q. In the coin change problem, which approach does a greedy algorithm use?
  • A. Always take the largest denomination first
  • B. Take the smallest denomination first
  • C. Randomly select coins
  • D. Take coins in pairs
Q. In the context of a confusion matrix, what does precision measure?
  • A. True positive rate
  • B. False positive rate
  • C. Correct positive predictions out of total positive predictions
  • D. Correct predictions out of total predictions
Q. In the context of a confusion matrix, what does the term 'True Positive' refer to?
  • A. Correctly predicted positive cases
  • B. Incorrectly predicted positive cases
  • C. Correctly predicted negative cases
  • D. Incorrectly predicted negative cases
Q. In the context of classification, what does precision measure?
  • A. The ratio of true positives to total predicted positives
  • B. The ratio of true positives to total actual positives
  • C. The overall accuracy of the model
  • D. The ratio of false positives to total predicted positives
Q. In the context of classification, what does ROC stand for?
  • A. Receiver Operating Characteristic
  • B. Receiver Output Curve
  • C. Rate of Classification
  • D. Random Output Curve
Q. In the context of clustering, what does 'curse of dimensionality' refer to?
  • A. The increase in computational cost with more dimensions
  • B. The difficulty in visualizing high-dimensional data
  • C. The sparsity of data in high dimensions affecting clustering
  • D. All of the above
Q. In the context of clustering, what does 'density-based' mean?
  • A. Clusters are formed based on the distance between points
  • B. Clusters are formed based on the number of points in a region
  • C. Clusters are formed based on the average value of points
  • D. Clusters are formed based on the variance of points
Q. In the context of CNNs, what does 'stride' refer to?
  • A. The number of filters used
  • B. The step size of the filter during convolution
  • C. The depth of the network
  • D. The size of the input image
Q. In the context of Decision Trees, what does 'feature importance' refer to?
  • A. The number of times a feature is used in the tree.
  • B. The contribution of a feature to the model's predictions.
  • C. The correlation of a feature with the target variable.
  • D. The depth of a feature in the tree.
Q. In the context of Decision Trees, what does 'pruning' refer to?
  • A. Adding more branches to the tree
  • B. Removing branches to reduce complexity
  • C. Increasing the depth of the tree
  • D. Changing the splitting criteria
Q. In the context of Dijkstra's algorithm, what does 'relaxation' mean?
  • A. Updating the distance to a node if a shorter path is found
  • B. Removing nodes from the graph
  • C. Adding new edges to the graph
  • D. Resetting the algorithm
Q. In the context of Dijkstra's algorithm, what does 'relaxation' refer to?
  • A. Updating the distance of a node
  • B. Removing a node from the graph
  • C. Adding a new edge
  • D. Sorting the nodes
Q. In the context of Dijkstra's algorithm, what does 'tentative distance' refer to?
  • A. The final distance to the destination
  • B. The distance calculated from the source to a node
  • C. The distance to the nearest neighbor
  • D. The distance that has been confirmed
Q. In the context of Dijkstra's algorithm, what does the 'relaxation' process involve?
  • A. Updating the priority queue.
  • B. Calculating the shortest path.
  • C. Updating the distance to a vertex.
  • D. Removing a vertex from the graph.
Q. In the context of Dijkstra's algorithm, what does the term 'relaxation' refer to?
  • A. Updating the priority queue
  • B. Calculating the shortest path
  • C. Updating the distance estimate of a vertex
  • D. Removing a vertex from the graph
Q. In the context of dynamic programming, what does 'memoization' refer to?
  • A. Storing results of expensive function calls and reusing them
  • B. Sorting data before processing
  • C. Using a stack to manage function calls
  • D. Creating a binary tree for data storage
Q. In the context of dynamic programming, what does 'optimal substructure' mean?
  • A. The solution can be constructed from optimal solutions of its subproblems
  • B. The problem can be solved in linear time
  • C. The problem has a unique solution
  • D. The problem can be solved using a greedy approach
Q. In the context of dynamic programming, what does 'overlapping subproblems' mean?
  • A. Subproblems that can be solved independently
  • B. Subproblems that are solved multiple times
  • C. Subproblems that do not share any common elements
  • D. Subproblems that are always unique
Q. In the context of dynamic programming, what does 'tabulation' refer to?
  • A. Storing results in a table
  • B. Recursive function calls
  • C. Using a stack
  • D. Sorting data
Q. In the context of dynamic programming, what does the term 'memoization' refer to?
  • A. Storing results of expensive function calls
  • B. Sorting data for faster access
  • C. Creating a tree structure for data storage
  • D. Using a stack to manage function calls
Q. In the context of dynamic programming, what does the term 'overlapping subproblems' refer to?
  • A. Problems that can be solved independently
  • B. Problems that can be solved in constant time
  • C. Problems that can be broken down into smaller subproblems that are reused
  • D. Problems that require a greedy approach
Q. In the context of dynamic programming, what does the term 'state' refer to?
  • A. The current value of a variable
  • B. A specific configuration of the problem
  • C. The final result
  • D. The input size
Q. In the context of dynamic programming, what is memoization?
  • A. A method to optimize space complexity
  • B. A technique to store results of expensive function calls
  • C. A way to reduce time complexity
  • D. A strategy for greedy algorithms
Q. In the context of evaluation metrics, what does recall measure?
  • A. The ability of a model to identify all relevant instances
  • B. The ability of a model to avoid false positives
  • C. The overall accuracy of the model
  • D. The balance between precision and recall
Showing 481 to 510 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