Linear Probing → collisions resolved by moving sequentially to next free slot.
Quadratic Probing → collisions resolved by quadratic jumps.
Universal Hashing → refers to a family of hash functions, not directly a collision handling method.
Chaining → collisions are handled by storing all elements in the same slot using a linked list (or another secondary structure).
| List-I | List-II |
| (Algorithm) | (Recurrence relation) |
| (A).Binary Search | (I). $T(n)=T(n/2)+c$ (where c is a constant) |
| (B).Merge Sort | (II). $T(n)=2T(n/2)+\Theta(n)$ |
| (C). Quick sort (worst case partitioning) | (III). $T(n)=T(n-1)+\Theta$ (n) |
| (D). Linear Search | (IV). $T(n)=T(n-1)+c$ (where c is a constant) |
According to IEEE-754 floating-point standard:
NaN (Not a Number) is unordered.
Any comparison involving NaN (except !=) is false.
That means even NaN == NaN evaluates to false.
When implementing a database, the most appropriate data structure depends on what part of the database you’re focusing on. Among common options, the standard and most suitable choice is:
Used by almost all modern databases (MySQL, PostgreSQL, Oracle, etc.) to implement indexes.
Provides efficient search, insert, delete, and range queries in O(log n) time.
Optimized for disk storage and block reads, making it ideal for large datasets.
Hash Tables
Used for hash indexes and quick equality lookups (e.g., WHERE id = 100).
Very fast for exact matches but not good for range queries.
Heaps
Used to store unsorted table data.
Simple structure but inefficient for searches without indexes.
Linked Lists
Used internally for things like transaction logs and some in-memory structures.
Trie / Radix Trees
Sometimes used for full-text search or prefix matching.
| List - I | List - II |
|---|---|
| (A)Asynchronous | (I) A pulse that cause a logic device to be activated or change state |
| (B)Trigger | (II) The operation is not executed in step with the clock |
| (C) J-K Flip flop | (III) Flip flop and atleast set, reset toggle and hold modes of operation |
| (D) D Flip flop | (IV) Flip flop with atleast set and rest modes of operations. |
| List - I | List - II |
|---|---|
| (A) Asynchronous | (II) The operation is not executed in step with the clock |
| (B) Trigger | (I) A pulse that causes a logic device to be activated or change state |
| (C) J-K Flip Flop | (III) Flip flop with set, reset, toggle and hold modes |
| (D) D Flip Flop | (IV) Flip flop with at least set and reset modes |
Final Answer: (A) → (II), (B) → (I), (C) → (III), (D) → (IV)
Correct Option: A–II, B–I, C–III, D–IV
Each node is having a successor node in a Linked List.
In a linked list, every node contains data and a pointer (or reference) to its successor node (the next node in the sequence).
The last node points to NULL (in a singly linked list) or back to the head (in a circular linked list).
We are asked about FIFO (First-In First-Out) page replacement algorithm.
Normally, increasing the number of page frames decreases the number of page faults (because more pages can be stored).
But in FIFO, there is a special anomaly called Belady’s Anomaly.
It states that in FIFO, sometimes increasing the number of page frames may actually increase the number of page faults (depending on the access pattern).
Increasing the number of page frames decreases the number of page faults.
❌ Not always true (Belady’s anomaly exists).
Increasing the number of page frames may increase or decrease the number of page faults depending on the memory access pattern.
✅ This is correct (captures Belady’s anomaly).
Increasing the number of page frames always increases the number of page faults.
❌ Wrong.
Increasing the number of page frames has no effect.
❌ Wrong.
✅ Final Answer:
(2) Increasing the number of page frames may increase or decrease the number of page faults depending on the memory access pattern.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.