Technical Drills
tags: - cocubes - technical - practice
Technical Drills
Try to answer in 15 minutes. Do not open the notes until you finish.
- Which data structure is best for a first-come, first-served ticket line?
- Which traversal returns sorted keys from a BST?
- What is the worst-case time complexity of quicksort?
- Which algorithm finds a shortest path in an unweighted graph?
- What condition is required for binary search?
- What occurs when a requested virtual-memory page is absent from main memory?
- Name all four necessary deadlock conditions.
- Which shares its address space with other execution units of the same process: a process or a thread?
- How many traditional usable host addresses does a /27 IPv4 subnet have?
- What protocol maps a domain name to an IP address?
- Which is connectionless: TCP or UDP?
- What component resets a controller if firmware stops responding?
- Which interface is two-wire and addressed: UART, SPI or I2C?
- Which SDLC model is risk-driven and repeats analysis in cycles?
- What testing checks existing functionality after a code change?
- For allowed input 1ā50, name four boundary-value test inputs.
- Is Selenium mainly a database, UI automation or load-testing tool?
- Which testing level checks interaction between modules?
- Which protocol typically uses port 443?
- Which graph algorithm should not be used unchanged when reachable negative edges exist?
Answers
- Queue.
- Inorder traversal.
- O(n²).
- BFS.
- The searched sequence must be sorted.
- Page fault.
- Mutual exclusion, hold-and-wait, no preemption, circular wait.
- Thread.
- 30.
- DNS.
- UDP.
- Watchdog timer.
- I2C.
- Spiral.
- Regression testing.
- 0, 1, 50, 51.
- UI automation.
- Integration testing.
- HTTPS.
- Dijkstra.
Every incorrect answer should link to its topic in [[10_Templates/Error_Log|Error log]].