wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HAWKIN'S HUNT

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

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?

a)

Encapsulation

b)

Inheritance

c)

Polymorphism

d)

Abstraction

2.

Hopper designs a Demogorgon class but wants to prevent further subclasses (to stop mutations). Which OOP keyword in Java achieves this?

a)

abstract

b)

sealed

c)

final

d)

static

3.

Suppose Vecna’s MindFlayer class has private variables but exposes getter and setter methods for controlled access. Which OOP principle is shown?

a)

Polymorphism

b)

Encapsulation

c)

Inheritance

d)

Overloading

4.

Dustin builds an interface Portal with method open(). If Eleven’s PsychicPortal implements it, what does Eleven’s class need to do?

a)

Override open() method

b)

Declare open() as abstract

c)

Leave method empty

d)

Extend another class

5.

If the Monster class has two constructors: one with no arguments and one that takes powerLevel, what concept is being used?

a)

Overriding

b)

Overloading

c)

Polymorphism

d)

Abstraction

6.

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?

a)

Fairness

b)

Deadlock detection

c)

Memory allocation

d)

Priority inversion

7.

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?

a)

Hold and wait

b)

No preemption

c)

Circular wait

d)

Mutual exclusion

8.

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?

a)

64

b)

128

c)

256

d)

512

9.

Dustin says Demogorgon’s process is in "Ready" state. Which of the following is true?

a)

Process is waiting for I/O

b)

Process has acquired CPU

c)

Process is waiting for CPU

d)

Process is terminated

10.

Eleven uses semaphore S initialized to 1 for accessing the Upside Down gate. What type of semaphore is it?

a)

Counting semaphore

b)

Binary semaphore

c)

Monitor semaphore

d)

Mutex only in OS/2

11.

Joyce sets up communication with Will in the Upside Down using TCP. Which feature of TCP guarantees the message isn’t lost?

a)

Connectionless service

b)

Flow control

c)

Acknowledgments

d)

Random retransmissions

12.

Dustin says “IP is like a map of Hawkins.” Which layer of the OSI model does IP belong to?

a)

Data Link

b)

Network

c)

Transport

d)

Application

13.

Vecna launches a SYN flood attack on Hawkins servers. Which stage of TCP’s 3-way handshake is being exploited?

a)

SYN

b)

SYN-ACK

c)

ACK

d)

FIN

14.
  1. If Hopper uses DNS to track Vecna’s server, which record type maps a hostname to an IPv4 address?

a)
  1. CNAME

b)
  1. AAAA

c)
  1. A

d)
  1. MX

15.

Eleven establishes a VPN tunnel to spy on the Mind Flayer. Which protocol is commonly used for secure tunneling?

a)

HTTP

b)

IPSec

c)

SMTP

d)

ARP

16.

In Hawkins Lab’s database, each experiment (ExperimentID) uniquely identifies a row. Which property is this?

a)

Foreign key

b)

Candidate key

c)

Primary key

d)

Super key

17.

Dustin creates a table Demogorgon with redundant data, causing update anomalies. Which normal form helps eliminate partial dependencies?

a)

1NF

b)

2NF

c)

3NF

d)

BCNF

18.

If Vecna runs a JOIN between Victims and Curses, what is required?

a)

Same number of columns in both tables

b)

A common attribute between the tables

c)

Both tables must have primary keys

d)

Both must be in BCNF

19.

Eleven queries SELECT * FROM Monsters WHERE power > ALL (SELECT power FROM Demodogs);. What does it return?

a)

Monsters weaker than Demodogs

b)

Monsters stronger than all Demodogs

c)

Monsters equal to Demodogs

d)

Monsters with NULL powers

20.

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?

a)

Atomicity

b)

Consistency

c)

Isolation

d)

Durability

21.

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?

a)

git reset --hard <commit>

b)

git checkout <commit>

c)

git revert <commit>

d)

git clean -f

22.

Vecna creates a new branch upside_down. Hopper merges it into main. What is this process called?

a)

Checkout

b)

Rebase

c)

Forking

d)

Merging

23.

Eleven forks Hawkins Lab’s repo, makes changes, and submits them for review. What is this request called?

a)

Pull request

b)

Clone request

c)

Merge fetch

d)

Commit push

24.

Dustin stages changes but hasn’t committed them. Which Git area stores them?

a)

Working directory

b)

Staging area (Index)

c)

Remote repository

d)

Detached HEAD

25.

Hopper accidentally pushed a secret key to GitHub. To remove it from history permanently, which Git tool is used?

a)

git clean

b)

git bisect

c)

git filter-branch

d)

git filter-repo

e)

git stash

26.

Will hides in a stack of crates in Hawkins Lab. If Hopper pops crates one by one, which order applies?

a)

FIFO

b)

LIFO

c)

Random

d)

Priority based

27.

Eleven wants to find the shortest path from Hawkins to the Upside Down. Which algorithm should she use?

a)

DFS

b)

BFS

c)

Dijkstra’s

d)

Kruskal’s

28.

Hopper wants to search Vecna’s cursed number in a sorted list of victims. Which algorithm is best?

a)

Linear search

b)

Binary search

c)

DFS

d)

Hashing

29.

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?

a)

O(1)

b)

O(log n)

c)

O(n)

d)

O(n log n)

30.

Vecna uses a hash table to track victims. When multiple victims map to the same hash slot, what technique resolves it?

a)

Caching

b)

Compression

c)

Chaining

d)

Replication