Font size
WorksheetsHAWKIN'S HUNT
Total questions: 30
Worksheet time: 15mins
In Hawkins Lab’s codebase, Eleven is modeled as a Child class that extends Human. If Child overrides the usePower() method of Human, which OOP concept is being applied?
Encapsulation
Inheritance
Polymorphism
Abstraction
Hopper designs a Demogorgon class but wants to prevent further subclasses (to stop mutations). Which OOP keyword in Java achieves this?
abstract
sealed
final
static
Suppose Vecna’s MindFlayer class has private variables but exposes getter and setter methods for controlled access. Which OOP principle is shown?
Polymorphism
Encapsulation
Inheritance
Overloading
Dustin builds an interface Portal with method open(). If Eleven’s PsychicPortal implements it, what does Eleven’s class need to do?
Override open() method
Declare open() as abstract
Leave method empty
Extend another class
If the Monster class has two constructors: one with no arguments and one that takes powerLevel, what concept is being used?
Overriding
Overloading
Polymorphism
Abstraction
When Hopper runs multiple tasks in Hawkins Lab OS, the OS decides the next task using Round Robin. What is the time quantum mainly responsible for?
Fairness
Deadlock detection
Memory allocation
Priority inversion
Vecna tries to lock multiple processes (victims) simultaneously. If process P1 waits for P2 and P2 waits for P1, which condition of deadlock is violated?
Hold and wait
No preemption
Circular wait
Mutual exclusion
Hawkins OS uses paging to map memory. If page size = 1 KB and logical address = 12 bits, how many pages exist in the logical address space?
64
128
256
512
Dustin says Demogorgon’s process is in "Ready" state. Which of the following is true?
Process is waiting for I/O
Process has acquired CPU
Process is waiting for CPU
Process is terminated
Eleven uses semaphore S initialized to 1 for accessing the Upside Down gate. What type of semaphore is it?
Counting semaphore
Binary semaphore
Monitor semaphore
Mutex only in OS/2
Joyce sets up communication with Will in the Upside Down using TCP. Which feature of TCP guarantees the message isn’t lost?
Connectionless service
Flow control
Acknowledgments
Random retransmissions
Dustin says “IP is like a map of Hawkins.” Which layer of the OSI model does IP belong to?
Data Link
Network
Transport
Application
Vecna launches a SYN flood attack on Hawkins servers. Which stage of TCP’s 3-way handshake is being exploited?
SYN
SYN-ACK
ACK
FIN
If Hopper uses DNS to track Vecna’s server, which record type maps a hostname to an IPv4 address?
CNAME
AAAA
A
MX
Eleven establishes a VPN tunnel to spy on the Mind Flayer. Which protocol is commonly used for secure tunneling?
HTTP
IPSec
SMTP
ARP
In Hawkins Lab’s database, each experiment (ExperimentID) uniquely identifies a row. Which property is this?
Foreign key
Candidate key
Primary key
Super key
Dustin creates a table Demogorgon with redundant data, causing update anomalies. Which normal form helps eliminate partial dependencies?
1NF
2NF
3NF
BCNF
If Vecna runs a JOIN between Victims and Curses, what is required?
Same number of columns in both tables
A common attribute between the tables
Both tables must have primary keys
Both must be in BCNF
Eleven queries SELECT * FROM Monsters WHERE power > ALL (SELECT power FROM Demodogs);. What does it return?
Monsters weaker than Demodogs
Monsters stronger than all Demodogs
Monsters equal to Demodogs
Monsters with NULL powers
Hopper sets ACID properties for Hawkins DB transactions. Which ensures that once Will’s status is updated to “Safe,” it won’t revert after crash?
Atomicity
Consistency
Isolation
Durability
Dustin commits Hawkins Lab code. Later, he finds a bug and wants to go back to an earlier commit but keep history. Which command should he use?
git reset --hard <commit>
git checkout <commit>
git revert <commit>
git clean -f
Vecna creates a new branch upside_down. Hopper merges it into main. What is this process called?
Checkout
Rebase
Forking
Merging
Eleven forks Hawkins Lab’s repo, makes changes, and submits them for review. What is this request called?
Pull request
Clone request
Merge fetch
Commit push
Dustin stages changes but hasn’t committed them. Which Git area stores them?
Working directory
Staging area (Index)
Remote repository
Detached HEAD
Hopper accidentally pushed a secret key to GitHub. To remove it from history permanently, which Git tool is used?
git clean
git bisect
git filter-branch
git filter-repo
git stash
Will hides in a stack of crates in Hawkins Lab. If Hopper pops crates one by one, which order applies?
FIFO
LIFO
Random
Priority based
Eleven wants to find the shortest path from Hawkins to the Upside Down. Which algorithm should she use?
DFS
BFS
Dijkstra’s
Kruskal’s
Hopper wants to search Vecna’s cursed number in a sorted list of victims. Which algorithm is best?
Linear search
Binary search
DFS
Hashing
If Dustin inserts nodes into a binary search tree, but the tree becomes skewed like Vecna’s lair, what is the time complexity of search in worst case?
O(1)
O(log n)
O(n)
O(n log n)
Vecna uses a hash table to track victims. When multiple victims map to the same hash slot, what technique resolves it?
Caching
Compression
Chaining
Replication
