Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Chapter: 165
Q2301:
Fill in the blank: A hash file uses a __________ to determine which bucket a record belongs to.
A. Hash function
B. Sorting algorithm
C. Encryption key
D. Compression algorithm
Correct Answer:
A
Chapter: 166
Q2302:
Why might the number of buckets in a hash file be chosen as a prime number?
A. To reduce the chance of clustering
B. To increase the number of records
C. To simplify the hash function
D. To allow more buckets
Correct Answer:
A
Chapter: 166
Q2303:
What is the primary purpose of a hash function in a hash file?
A. To convert key values into bucket numbers
B. To encrypt record data
C. To sort records by key values
D. To compress data before storage
Correct Answer:
A
Chapter: 166
Q2304:
How is a key’s bucket number determined in the provided hash function?
A. By dividing the key's numeric value by the number of buckets and using the remainder
B. By sorting the key alphabetically
C. By encrypting the key and using its hash value
D. By compressing the key and using its length
Correct Answer:
A
Chapter: 166
Q2305:
What is the result of dividing a key’s numeric value by 41 in the hash function?
A. The bucket number where the record is stored
B. The encrypted key value
C. The original key value
D. The index of the key in the file
Correct Answer:
A
Chapter: 166
Q2306:
What problem can occur if buckets in a hash file are not chosen wisely?
A. Clustering, leading to inefficient record retrieval
B. Unencrypted key values
C. Incorrect record storage
D. Delayed hash function computation
Correct Answer:
A
Chapter: 166
Q2307:
Why would using a divisor with common factors, like 40, in a hash function cause issues?
A. It can lead to clustering of records in certain buckets
B. It makes the hash function more complex
C. It increases the key's numeric value
D. It decreases the number of available buckets
Correct Answer:
A
Chapter: 166
Q2308:
What phenomenon occurs when too many keys hash to the same bucket?
A. Clustering
B. Encryption
C. Fractionation
D. Compression
Correct Answer:
A
Chapter: 166
Q2309:
What is the advantage of dividing storage into 41 buckets over 40 buckets?
A. It eliminates common factors, reducing clustering
B. It provides more storage space
C. It simplifies record retrieval
D. It enhances data encryption
Correct Answer:
A
Chapter: 166
Q2310:
Fill in the blank: In the hash file example, keys are converted to bucket numbers by dividing the key’s numeric value by __________.
A. The number of buckets
B. 40
C. A prime number
D. An encryption key
Correct Answer:
A
Chapter: 166
Q2311:
Fill in the blank: If a hash function uses a prime number for the number of buckets, it helps to reduce __________.
A. Clustering
B. Encryption
C. Compression
D. Sorting complexity
Correct Answer:
A
Chapter: 167
Q2312:
What is the primary goal of data mining?
A. To retrieve stored facts
B. To discover previously unknown patterns
C. To update database records
D. To manage database operations
Correct Answer:
B
Chapter: 167
Q2313:
In which type of data collection is data mining commonly practiced?
A. Operational databases
B. Data warehouses
C. Online databases
D. Transactional logs
Correct Answer:
B
Chapter: 167
Q2314:
What distinguishes data mining from traditional database interrogation?
A. Data mining seeks to discover patterns while traditional interrogation retrieves stored facts
B. Data mining updates data while traditional interrogation only retrieves data
C. Data mining works with real-time data while traditional interrogation uses static data
D. Data mining is less complex than traditional database interrogation
Correct Answer:
A
Chapter: 167
Q2315:
What is a "data warehouse"?
A. A static collection of databases used for data mining
B. A real-time operational database
C. A system used for frequent updates to databases
D. A tool for daily database operations
Correct Answer:
A
Chapter: 167
Q2316:
What is the difference between class description and class discrimination in data mining?
A. Class description identifies properties of a group, while class discrimination identifies properties that divide groups
B. Class description is used for real-time data, while class discrimination is used for static data
C. Class description focuses on operational databases, while class discrimination focuses on data warehouses
D. Class description is used for fraud detection, while class discrimination is used for marketing analysis
Correct Answer:
A
Chapter: 167
Q2317:
What type of data mining technique would be used to identify characteristics of customers who buy small economical vehicles?
A. Class description
B. Class discrimination
C. Data retrieval
D. Data warehousing
Correct Answer:
A
Chapter: 167
Q2318:
What type of data mining technique would be used to differentiate customers who shop for new cars from those who shop for used cars?
A. Class description
B. Class discrimination
C. Data retrieval
D. Data warehousing
Correct Answer:
B
Chapter: 167
Q2319:
Fill in the blank: Data mining techniques have applications in __________, including marketing, inventory management, and fraud detection.
A. database technology
B. data retrieval
C. data warehousing
D. statistical analysis
Correct Answer:
A
Chapter: 167
Q2320:
Fill in the blank: Data mining is typically practiced on __________, which are static snapshots of databases.
A. operational databases
B. data warehouses
C. real-time data logs
D. transactional systems
Correct Answer:
B