Read online · Bachelor Year 2
University Computer Science — Year 2
The second university year: C++ from RAII to templates, Rust ownership, traits and error handling, functional programming, assembly, pipelining and caches, processes, threads and sockets, the network stack layer by layer, automata and formal languages, predicate logic, flows and matchings, randomised algorithms, game search, clustering and database design.
Sync your reading across devicesC++
- 1 From C to C++: Classes and Resource Management 12 solved exercises
- 2 Copying, Moving and Smart Pointers 12 solved exercises
- 3 Inheritance and Polymorphism 12 solved exercises
- 4 Templates and Generic Programming 12 solved exercises
- 5 The Standard Library: Containers, Iterators and Algorithms 12 solved exercises
Rust and Functional Programming
- 6 Rust: Ownership and Borrowing 12 solved exercises
- 7 Enums, Pattern Matching and Error Handling 12 solved exercises
- 8 Traits and Generics 12 solved exercises
- 9 Functional Programming 12 solved exercises
Architecture
- 10 Assembly Language and the Calling Convention 12 solved exercises
- 11 The Processor: Datapath, Control and Pipelining 12 solved exercises
- 12 Caches and the Memory Hierarchy 12 solved exercises
Systems Programming
- 13 Processes and System Calls 12 solved exercises
- 14 Files, Pipes and Signals 12 solved exercises
- 15 Threads and Synchronisation 12 solved exercises
- 16 Sockets 12 solved exercises
Networks
- 17 The Link Layer 12 solved exercises
- 18 The Network Layer: IP and Routing 12 solved exercises
- 19 The Transport Layer: UDP and TCP 12 solved exercises
- 20 The Application Layer: DNS, HTTP and TLS 12 solved exercises
Languages and Logic
- 21 Finite Automata 12 solved exercises
- 22 Regular Expressions and the Limits of Regular Languages 12 solved exercises
- 23 Context-Free Grammars and Pushdown Automata 12 solved exercises
- 24 Predicate Logic and Formal Proofs 12 solved exercises
Algorithms II and Data
- 25 Text Algorithms and Compression 12 solved exercises
- 26 Flows and Matchings 12 solved exercises
- 27 Randomised Algorithms 12 solved exercises
- 28 Search and Games 12 solved exercises
- 29 Learning from Examples: Decision Trees and Clustering 12 solved exercises
- 30 Database Design: Dependencies, Normal Forms and Transactions 12 solved exercises
- 31 Project: A Key-Value Server 12 solved exercises
31 chapters — 31 online so far, and more publishing regularly. The complete book is already available as a free PDF you can read online.
CC BY-NC-SA 4.0 (except where noted) · Credit: One Computer Science Book, One Course (one-course.com)