Font size
WorksheetsHawkin's hunt ROUND-2
Total questions: 30
Worksheet time: 23mins
Eleven hides her powers using private variables but gives Mike access through methods. Which OOP principle is this?
Abstraction
Encapsulation
Inheritance
Polymorphism
Dustin explains that the CPU switching between Demogorgon-fighting processes is called:
Deadlock
Context Switching
Paging
Scheduling
Hopper uses TCP instead of UDP to talk to Joyce. Why?
TCP is faster but unreliable
TCP ensures delivery with acknowledgments
UDP uses 3-way handshake
UDP guarantees sequencing
Which SQL command will Hopper use to permanently remove the Demogorgon table
DELETE
DROP
TRUNCATE
REMOVE
Eleven uses git commit in Hawkins Lab repo. What does it do?
Creates a repo
Saves a snapshot of changes
Sends code to GitHub
Shows status of repo
Will arranges Hawkins kids in sorted order and Hopper searches using Binary Search. Worst-case complexity?
O(1)
O(log n)
O(n)
O(n log n)
Vecna’s broadcast curse affects every house in Hawkins. This is similar to
Unicast
Broadcast
Multicast
Anycast
Which data structure fits Eleven’s box-stacking method against Demogorgons?
Queue
Stack
Tree
Graph
Dustin makes a branch called portal_fix. Which Git command creates it?
git init portal_fix
git branch portal_fix
git clone portal_fix
git checkout portal_fix
If Vecna’s processes wait forever for each other, this condition is called:
Starvation
Deadlock
Blocking
Fragmentation
Eleven builds a class PsychicPortal. Which are true about classes in OOP?
They act as blueprints for objects
They support data + methods
They can never be inherited
Objects are instances of classes
Hopper finds that the OS is thrashing. Possible reasons?
Too many page faults
Insufficient RAM
CPU overheating
Overloaded I/O devices
Dustin sets up communication between Hawkins Lab computers. Which protocols belong to the Transport Layer?
TCP
UDP
IP
SMTP
Vecna maintains a Victims table. Which SQL constraints could be used?
PRIMARY KEY
FOREIGN KEY
NOT NULL
MERGE
Eleven wants to revert changes in Git. Which commands can she use?
git reset
git revert
git clone
git checkout
Which are linear data structures? (Think Dustin organizing Hawkins toys in line)
Queue
Stack
Linked List
Graph
Will’s location search is modeled as a graph problem. Which algorithms can find shortest paths?
Dijkstra’s Algorithm
BFS (on unweighted graph)
DFS
Bellman-Ford
Joyce notices anomalies in Hawkins DB. Which anomalies occur without normalization?
Insertion anomaly
Deletion anomaly
Update anomaly
Sorting anomaly
Hopper checks DNS records. Which ones exist?
A
AAAA
CNAME
MX
Dustin describes Binary Trees. Which statements are true?
Each node can have at most 2 children
In a BST, left < root < right
Traversal can be inorder, preorder, postorder
BFS traversal uses stack
Eleven’s limited powers, private variables, getters/setters → Which OOP principle?
(a)
CPU scheduling, Hopper assigning turns, Arcade machines in Hawkins → What OS concept?
(a)
Vecna’s curse broadcast, Router flooding packets, Everyone in Hawkins affected → Which Networking type?
(a)
Joyce’s Christmas lights to communicate with Will, Packet transmission acknowledgment in TCP → What networking feature?
(a)
Hopper’s “master key”, Unique VictimID in DB → Which DBMS concept?
(a)
Stranger Things alternate dimensions, Git branching system → What Git feature?
(a)
Demogorgon popping out randomly, Stack pop operation → Which data structure principle?
(a)
Hopper tracing Will’s shortest path home, Graph algorithms → Which Algorithm?
(a)
Vecna trapping processes, Processes waiting on each other forever → What OS problem?
(a)
The Upside Down and Hawkins being “mirrors”, Class & Object relationship → What OOP concept?
(a)
