Q. What technique does Random Forest use to create diverse trees?
A.
Bagging
B.
Boosting
C.
Stacking
D.
Clustering
Show solution
Solution
Random Forest uses bagging (Bootstrap Aggregating) to create diverse trees by training each tree on a random subset of the data.
Correct Answer:
A
— Bagging
Learn More →
Q. What traversal method is used to copy a binary tree?
A.
Pre-order
B.
In-order
C.
Post-order
D.
Level-order
Show solution
Solution
Pre-order traversal is often used to copy a binary tree because it processes the root node before its children, allowing for a straightforward reconstruction.
Correct Answer:
A
— Pre-order
Learn More →
Q. What traversal method would you use to delete a binary tree?
A.
Pre-order
B.
In-order
C.
Post-order
D.
Level-order
Show solution
Solution
Post-order traversal is used to delete a binary tree because it ensures that a node is deleted only after its children have been deleted.
Correct Answer:
C
— Post-order
Learn More →
Q. What 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
Show solution
Solution
In-order traversal of a binary search tree (BST) visits nodes in sorted order, making it the correct choice for this requirement.
Correct Answer:
B
— In-order
Learn More →
Q. What type of addressing does HTTP use to identify resources?
A.
MAC addressing
B.
IP addressing
C.
URL addressing
D.
Port addressing
Show solution
Solution
HTTP uses URL addressing to identify resources on the web.
Correct Answer:
C
— URL addressing
Learn More →
Q. What type of addressing does IPv4 use?
A.
Physical addressing
B.
Logical addressing
C.
Port addressing
D.
Session addressing
Show solution
Solution
IPv4 uses logical addressing, which allows devices to communicate over a network using IP addresses.
Correct Answer:
B
— Logical addressing
Learn More →
Q. What type of addressing does the Data Link layer use?
A.
IP Addressing
B.
MAC Addressing
C.
Port Addressing
D.
Logical Addressing
Show solution
Solution
The Data Link layer uses MAC Addressing to identify devices on the same local network.
Correct Answer:
B
— MAC Addressing
Learn More →
Q. What type of addressing does the Network Layer use in the OSI model?
A.
MAC addressing
B.
IP addressing
C.
Port addressing
D.
Session addressing
Show solution
Solution
The Network Layer uses IP addressing to identify devices on a network.
Correct Answer:
B
— IP addressing
Learn More →
Q. What type of addressing does the Network Layer use to identify devices on a network?
A.
Physical addresses
B.
Logical addresses
C.
Port numbers
D.
Session IDs
Show solution
Solution
The Network Layer uses logical addresses (such as IP addresses) to identify devices on a network.
Correct Answer:
B
— Logical addresses
Learn More →
Q. What type of addressing does the Network Layer use?
A.
Physical addressing
B.
Logical addressing
C.
Port addressing
D.
Session addressing
Show solution
Solution
The Network Layer uses logical addressing, such as IP addresses, to identify devices on a network.
Correct Answer:
B
— Logical addressing
Learn More →
Q. What type of addressing is used at the Data Link layer?
A.
IP Addressing
B.
MAC Addressing
C.
Port Addressing
D.
Logical Addressing
Show solution
Solution
The Data Link layer uses MAC Addressing to identify devices on the same local network.
Correct Answer:
B
— MAC Addressing
Learn More →
Q. What type of addressing is used at the Network Layer of the OSI model?
A.
MAC addressing
B.
IP addressing
C.
Port addressing
D.
Session addressing
Show solution
Solution
IP addressing is used at the Network Layer (Layer 3) of the OSI model for routing packets.
Correct Answer:
B
— IP addressing
Learn More →
Q. What type of cable is commonly used for high-speed data transmission in local area networks?
A.
Coaxial Cable
B.
Fiber Optic Cable
C.
Twisted Pair Cable
D.
Serial Cable
Show solution
Solution
Fiber Optic Cable is commonly used for high-speed data transmission due to its high bandwidth and low attenuation.
Correct Answer:
B
— Fiber Optic Cable
Learn More →
Q. What type of cable is commonly used for high-speed data transmission in networks?
A.
Coaxial Cable
B.
Fiber Optic Cable
C.
Twisted Pair Cable
D.
Serial Cable
Show solution
Solution
Fiber Optic Cable is commonly used for high-speed data transmission due to its high bandwidth and low attenuation.
Correct Answer:
B
— Fiber Optic Cable
Learn More →
Q. What type of clustering algorithm is DBSCAN?
A.
Hierarchical
B.
Partitioning
C.
Density-based
D.
Centroid-based
Show solution
Solution
DBSCAN is a density-based clustering algorithm that groups together points that are closely packed.
Correct Answer:
C
— Density-based
Learn More →
Q. What type of data is best suited for clustering algorithms?
A.
Labeled data
B.
Unlabeled data
C.
Time series data
D.
Sequential data
Show solution
Solution
Clustering algorithms are designed to work with unlabeled data to find inherent groupings.
Correct Answer:
B
— Unlabeled data
Learn More →
Q. What type of data is best suited for clustering?
A.
Labeled data
B.
Time series data
C.
Unlabeled data
D.
Sequential data
Show solution
Solution
Clustering is an unsupervised learning technique, making it best suited for unlabeled data.
Correct Answer:
C
— Unlabeled data
Learn More →
Q. What type of data is best suited for Decision Trees?
A.
Unstructured data
B.
Categorical and numerical data
C.
Time series data
D.
Text data
Show solution
Solution
Decision Trees can handle both categorical and numerical data effectively.
Correct Answer:
B
— Categorical and numerical data
Learn More →
Q. What type of data is best suited for hierarchical clustering?
A.
Large datasets with millions of points
B.
Data with a clear number of clusters
C.
Data where relationships between clusters are important
D.
Data that is linearly separable
Show solution
Solution
Hierarchical clustering is best suited for data where relationships between clusters are important.
Correct Answer:
C
— Data where relationships between clusters are important
Learn More →
Q. What type of data is best suited for LSTM networks?
A.
Tabular data
B.
Sequential data
C.
Image data
D.
Unstructured text data
Show solution
Solution
LSTM networks are best suited for sequential data, such as time series or natural language.
Correct Answer:
B
— Sequential data
Learn More →
Q. What type of data is clustering most effective with?
A.
Unlabeled data
B.
Labeled data
C.
Time series data
D.
Sequential data
Show solution
Solution
Clustering is most effective with unlabeled data, as it seeks to find patterns without predefined categories.
Correct Answer:
A
— Unlabeled data
Learn More →
Q. What type of data is hierarchical clustering particularly useful for?
A.
Large datasets with millions of records
B.
Data with a clear number of clusters
C.
Data where relationships between clusters are important
D.
Data that is strictly numerical
Show solution
Solution
Hierarchical clustering is particularly useful for data where understanding the relationships between clusters is important, as it provides a visual representation of these relationships.
Correct Answer:
C
— Data where relationships between clusters are important
Learn More →
Q. What type of data is K-means clustering best suited for?
A.
Categorical data
B.
Numerical data
C.
Text data
D.
Time series data
Show solution
Solution
K-means clustering is best suited for numerical data, as it relies on calculating distances between data points.
Correct Answer:
B
— Numerical data
Learn More →
Q. What type of data is required for supervised learning?
A.
Unlabeled data
B.
Labeled data
C.
Semi-labeled data
D.
No data required
Show solution
Solution
Supervised learning requires labeled data, where each input is associated with a corresponding output.
Correct Answer:
B
— Labeled data
Learn More →
Q. What type of data is typically used in clustering algorithms?
A.
Labeled data
B.
Unlabeled data
C.
Time series data
D.
Sequential data
Show solution
Solution
Clustering algorithms operate on unlabeled data, as they seek to find inherent groupings.
Correct Answer:
B
— Unlabeled data
Learn More →
Q. What type of data structure is typically used to implement binary search?
A.
Linked list
B.
Stack
C.
Array
D.
Queue
Show solution
Solution
Binary search is typically implemented on arrays, as they allow direct access to elements.
Correct Answer:
C
— Array
Learn More →
Q. What type of error control mechanism does TCP use?
A.
Checksum
B.
Parity Bit
C.
CRC
D.
Acknowledgment
Show solution
Solution
TCP uses an acknowledgment mechanism to ensure that packets are received correctly and to request retransmission if necessary.
Correct Answer:
D
— Acknowledgment
Learn More →
Q. What type of graph can Dijkstra's algorithm be applied to?
A.
Directed graphs only
B.
Undirected graphs only
C.
Both directed and undirected graphs
D.
Graphs with cycles only
Show solution
Solution
Dijkstra's algorithm can be applied to both directed and undirected graphs as long as the edge weights are non-negative.
Correct Answer:
C
— Both directed and undirected graphs
Learn More →
Q. What type of graph is Dijkstra's algorithm typically applied to?
A.
Directed graphs only
B.
Undirected graphs only
C.
Weighted graphs
D.
Unweighted graphs
Show solution
Solution
Dijkstra's algorithm is typically applied to weighted graphs, where edges have different costs associated with them.
Correct Answer:
C
— Weighted graphs
Learn More →
Q. What type of graph representation is most efficient for Dijkstra's algorithm?
A.
Adjacency matrix
B.
Adjacency list
C.
Edge list
D.
Incidence matrix
Show solution
Solution
An adjacency list is generally more efficient for Dijkstra's algorithm, especially for sparse graphs, as it allows for quicker access to neighboring nodes.
Correct Answer:
B
— Adjacency list
Learn More →
Showing 2041 to 2070 of 3237 (108 Pages)