Verified Jobs Live
Topic Practice Mode

Core Technical Computer Science MCQs Practice Questions (20)

Data structures, C/C++ memory, operating systems, SQL queries, and networking basics.

Timed Quiz Mode →
Q1 Easy • Amazon, Zoho

Which of the following data structures has constant average time complexity O(1) for search, insert, and delete operations?

Q2 Medium • Google, Microsoft

What is the worst-case time complexity of the QuickSort algorithm?

Q3 Easy • Amazon, Microsoft

Which data structure is primarily used to implement Breadth-First Search (BFS) on a graph?

Q4 Medium • Intel, Qualcomm

Which of the following is NOT one of Coffman's four necessary conditions for a Deadlock to occur in an operating system?

Q5 Medium • Oracle, SAP

In a relational database, what normal form requires that every non-prime attribute be fully functionally dependent on the entire primary key, eliminating partial dependencies?

Q6 Easy • Cisco, Juniper

In the TCP 3-way handshake, what is the correct sequence of packet flags exchanged between client and server?

Q7 Medium • Google, Amazon

What is the maximum number of nodes in a binary tree of height 'h' (where height of root node is 0)?

Q8 Easy • Microsoft, Red Hat

Which process scheduling algorithm can suffer from the 'Convoy Effect'?

Q9 Medium • Thoughtworks, Amazon

In Object-Oriented Programming, which principle states that 'Derived classes must be substitutable for their base classes without altering the correctness of the program'?

Q10 Medium • Amazon, Microsoft

What is the average and worst-case time complexity of searching for an element in a balanced Binary Search Tree (AVL or Red-Black Tree) containing N nodes?

Q11 Easy • TCS, Accenture

Which SQL constraint uniquely identifies each record in a database table while strictly disallowing NULL values?

Q12 Easy • Cisco, Juniper

In the OSI 7-Layer Reference Model, which layer is responsible for logical IP addressing and packet routing across intermediate subnets?

Q13 Easy • Thoughtworks, Amazon

In Git version control, which command creates a new branch named 'feature-auth' and immediately checks out into it?

Q14 Easy

A program must undo the most recently completed action first. Which data structure directly matches this removal order?

Q15 Easy

How many distinct bit patterns can an 8-bit unsigned integer represent?

Q16 Easy

Which Git command reports the current branch and the state of tracked and untracked files without staging them?

Q17 Medium

A SQL table contains three rows whose score values are 10, NULL, and 20. What does SELECT COUNT(score) return?

Q18 Medium

An API has authenticated a user, but its policy refuses that user access to a resource. Which HTTP status most directly expresses the refusal when the server chooses to disclose it?

Q19 Medium

Two threads need locks A and B. Which rule directly removes circular wait for these two locks?

Q20 Medium

What property does correctly validated HTTPS server authentication primarily establish for a browser connection?