Free computer science MCQs with answers
Practise multiple choice questions on the topics that come up most in university exams and interviews. Tap an answer to see right away if you are correct, with a short explanation.
Python Programming
Basics of Python: types, lists, functions, loops and errors.
Data Structures and Algorithms
Stacks, queues, trees, hashing and the speed of common algorithms.
Databases and SQL
Keys, joins, normalization, ACID and everyday SQL commands.
Operating Systems
Processes, scheduling, deadlocks, memory and paging.
Computer Networks
OSI layers, TCP and UDP, IP addressing, DNS and common ports.
Software Engineering
Process models, Agile and Scrum, UML, testing and good design.
Artificial Intelligence and Machine Learning
Supervised learning, overfitting, search, neural networks and more.
Object-Oriented Programming
Classes, objects, inheritance, polymorphism and abstraction.
Digital Logic and Number Systems
Logic gates, truth tables, binary and hexadecimal.
How to use these practice sets
Pick a topic and answer the questions one by one. Each answer is checked straight away and comes with a short reason, so you learn from your mistakes. At the end you get a score, and you can try again to improve it.
Want to go deeper? Read the free lecture notes, slides and labs, or work out your marks with the GPA calculator.