Mock Quiz Hub

Mock Quiz Hub

Recent Updates
Added: OS Mid 1 Quiz
Added: OS Mid 2 Quiz
Added: OS Lab 1 Quiz
Time: 00:00

Quiz

Navigate through questions using the controls below

0%
Question 1 of 60 Quiz ID: q1
What is the primary purpose of indexing mechanisms in databases?
Question 2 of 60 Quiz ID: q2
What is a search key in the context of database indexing?
Question 3 of 60 Quiz ID: q3
An index file consists of records called index entries. What is the typical structure of an index entry?
Question 4 of 60 Quiz ID: q4
What are the two basic kinds of indices mentioned in the lecture?
Question 5 of 60 Quiz ID: q5
Which of the following is NOT mentioned as an index evaluation metric?
Question 6 of 60 Quiz ID: q6
In ordered indices, how are index entries stored?
Question 7 of 60 Quiz ID: q7
What is a clustering index?
Question 8 of 60 Quiz ID: q8
What is another name for a clustering index?
Question 9 of 60 Quiz ID: q9
What is a secondary index?
Question 10 of 60 Quiz ID: q10
What is an index-sequential file?
Question 11 of 60 Quiz ID: q11
What characterizes a dense index?
Question 12 of 60 Quiz ID: q12
In the context of dense indices, what does the example of 'index on ID attribute of instructor relation' illustrate?
Question 13 of 60 Quiz ID: q13
What is a sparse index?
Question 14 of 60 Quiz ID: q14
When is a sparse index applicable?
Question 15 of 60 Quiz ID: q15
To locate a record with search-key value K in a sparse index, what is the procedure?
Question 16 of 60 Quiz ID: q16
Compared to dense indices, what are the advantages of sparse indices?
Question 17 of 60 Quiz ID: q17
What is a disadvantage of sparse indices compared to dense indices?
Question 18 of 60 Quiz ID: q18
What is recommended as a good tradeoff for sparse indices?
Question 19 of 60 Quiz ID: q19
Why might a multilevel index be necessary?
Question 20 of 60 Quiz ID: q20
In a multilevel index, what is the outer index?
Question 21 of 60 Quiz ID: q21
In a multilevel index, what is the inner index?
Question 22 of 60 Quiz ID: q22
What happens when even the outer index is too large to fit in main memory?
Question 23 of 60 Quiz ID: q23
What maintenance requirement applies to multilevel indices?
Question 24 of 60 Quiz ID: q24
Why might one want secondary indices?
Question 25 of 60 Quiz ID: q25
In the instructor relation example, if records are stored sequentially by ID, what would require a secondary index?
Question 26 of 60 Quiz ID: q26
In secondary indices, what does an index record point to when multiple records have the same search-key value?
Question 27 of 60 Quiz ID: q27
Why do secondary indices have to be dense?
Question 28 of 60 Quiz ID: q28
What is a major disadvantage of having multiple indices on a file?
Question 29 of 60 Quiz ID: q29
Why is sequential scan using a secondary index expensive?
Question 30 of 60 Quiz ID: q30
According to the lecture, how long does a block fetch typically require compared to memory access?
Question 31 of 60 Quiz ID: q31
What is a major disadvantage of indexed-sequential files?
Question 32 of 60 Quiz ID: q32
What maintenance requirement is problematic for indexed-sequential files?
Question 33 of 60 Quiz ID: q33
What is a key advantage of B+-tree index files?
Question 34 of 60 Quiz ID: q34
According to the lecture, do B+-trees require reorganization of the entire file to maintain performance?
Question 35 of 60 Quiz ID: q35
What is a minor disadvantage of B+-trees mentioned in the lecture?
Question 36 of 60 Quiz ID: q36
Despite their disadvantages, why are B+-trees used extensively?
Question 37 of 60 Quiz ID: q37
In hash file organization, what is a bucket?
Question 38 of 60 Quiz ID: q38
How does hash file organization locate records?
Question 39 of 60 Quiz ID: q39
A hash function h maps from what to what?
Question 40 of 60 Quiz ID: q40
What operations use the hash function in hash file organization?
Question 41 of 60 Quiz ID: q41
Why might an entire bucket need to be searched sequentially in hash file organization?
Question 42 of 60 Quiz ID: q42
In the instructor file hash organization example, how many buckets are there?
Question 43 of 60 Quiz ID: q43
In the hash function example, what does h(Music) equal?
Question 44 of 60 Quiz ID: q44
What do h(Physics) and h(Elec. Eng.) both equal in the example?
Question 45 of 60 Quiz ID: q45
What represents the worst possible hash function?
Question 46 of 60 Quiz ID: q46
What characterizes an ideal hash function?
Question 47 of 60 Quiz ID: q47
Why should an ideal hash function be random?
Question 48 of 60 Quiz ID: q48
What do typical hash functions perform computation on?
Question 49 of 60 Quiz ID: q49
What can cause bucket overflow in hash file organization?
Question 50 of 60 Quiz ID: q50
What are two reasons for skew in distribution of records?
Question 51 of 60 Quiz ID: q51
How is bucket overflow handled in hash file organization?
Question 52 of 60 Quiz ID: q52
What is overflow chaining?
Question 53 of 60 Quiz ID: q53
What is the overflow chaining scheme called?
Question 54 of 60 Quiz ID: q54
Why is open hashing not suitable for database applications?
Question 55 of 60 Quiz ID: q55
What are bitmap indices designed for?
Question 56 of 60 Quiz ID: q56
How are records assumed to be organized in bitmap indices?
Question 57 of 60 Quiz ID: q57
When is record retrieval particularly easy in bitmap indices?
Question 58 of 60 Quiz ID: q58
Bitmap indices are applicable on attributes that have what characteristic?
Question 59 of 60 Quiz ID: q59
What is a bitmap in the context of bitmap indices?
Question 60 of 60 Quiz ID: q60
In a bitmap for value v, when is the bit for a record set to 1?

Quiz Summary

Review your answers before submitting

60
Total Questions
0
Answered
60
Remaining
00:00
Time Spent