Programming

All the programming content on the website — Python, C, Java and any languages ​​that will be added — organized by subject and level.

139 articles

Python21 topics

  1. Variables

    Types, assignment, input() and conversions

    Exam-style quiz
  2. Operators

    Arithmetic, // and %, comparison and logic

    Exam-style quiz
  3. Debugging

    Tracebacks, debug prints and pdb

  4. Conditionals

    if, elif, else and compound conditions

    Exam-style quiz
  5. Loops

    for, while, range, break and continue

    Exam-style quiz
  6. Functions

    Parameters, return, scope and the call stack

    Exam-style quiz
  7. Exceptions

    try, except, raise and assert

    Exam-style quiz
  8. Classes

    Objects, encapsulation and magic methods

    Exam-style quiz
  9. Inheritance

    super(), overriding, polymorphism and abstract classes

    Exam-style quiz
  10. Operator overloading

    __add__, __eq__, __str__ and friends

    Exam-style quiz
  11. Iterators and generators

    iter, next, yield and the for loop inside

    Exam-style quiz
  12. Testing

    White box, black box, TDD and unittest

    Exam-style quiz
  13. LinkedList

    Nodes, links, inserting and deleting

    Exam-style quiz
  14. Modules

    import, packages and if __name__ == "__main__"

    Exam-style quiz
  15. Lists and tuples

    Indexes, slices, methods and traversals

    Exam-style quiz
  16. Mutability and copies

    References, copies, matrices and comprehensions

    Exam-style quiz
  17. Recursion

    Base case, call stack and fast recursion

    Exam-style quiz
  18. Associative containers

    Dictionaries, sets and nested structures

    Exam-style quiz
  19. Strings

    Indexes, str methods and formatted f-strings

    Exam-style quiz
  20. Regex

    Patterns, groups, re.findall and quantifiers

    Exam-style quiz
  21. Text files

    open, modes, reading, writing and with

    Exam-style quiz

C10 topics

  1. Variables

    Types, printf, scanf and the & operator

  2. Conditionals

    if, else if, switch and logical operators

  3. Loops

    for, while, do…while, break and continue

  4. Pointers

    Addresses, * and &, and pointers with arrays

  5. Functions

    Prototypes, void and pass by value and by reference

  6. Dynamic memory

    malloc, calloc, realloc, free and memory leaks

  7. Structs

    struct, strings and string.h functions

  8. Preprocessor

    #include, #define, macros and #ifdef

  9. Processes

    fork, exec, wait and parent and child processes

  10. System calls

    open, read, write, lseek and file descriptors

Java16 topics

  1. Syntax

    Classes, main, println and the basic syntax

    Exam-style quiz
  2. Variables

    Primitive types, String, final and casting

    Exam-style quiz
  3. Conditionals

    Scanner, if/else, switch and logical operators

    Exam-style quiz
  4. Loops

    for, for-each, while and do-while

    Exam-style quiz
  5. Methods

    static, parameters, return and overloading

    Exam-style quiz
  6. Arrays

    Arrays, matrices, indexes and references

    Exam-style quiz
  7. Strings

    equals, substring, split and the == trap

    Exam-style quiz
  8. Regex

    Pattern, Matcher, groups and data validation

    Exam-style quiz
  9. Classes

    Fields, constructors, getters and this

    Exam-style quiz
  10. Inheritance

    extends, super(), overriding and polymorphism

    Exam-style quiz
  11. Exceptions

    try, catch, finally, throw and your own ones

    Exam-style quiz
  12. Interfaces

    interface, implements and abstract classes

    Exam-style quiz
  13. Comparable and Cloneable

    compareTo, sorting objects and clone()

    Exam-style quiz
  14. Iterators

    Iterator, Iterable, ListIterator and for-each

    Exam-style quiz
  15. Collections

    List, Set, Map and when to use each

    Exam-style quiz
  16. LinkedList

    Node, first, next, inserting, deleting, traversing

    Exam-style quiz