Skip to content

Programming languages

Part 2 of the course, volume 2 of the lecture notes. From pseudo-code to programs: three programming languages, C++ (compiled), Python (interpreted) and Java (compiled to bytecode and run by a virtual machine). For each: variables and data types, input and output, operators, conditional statements, loops, arrays and lists, functions, bitwise operators and a complete algorithm, with the comparison of the three languages.

Lecture notes, volume 2 (PDF)

  • 6. Introduction to C++


    Main characteristics of the programming language · Variables and data types · Input-output stream · Operators · …

    Read the chapter · Exercises

  • 7. Introduction to Python


    Main characteristics of the programming language · Variables and data types · Input and output · Operators · …

    Read the chapter · Exercises

  • 8. Introduction to Java


    Main characteristics of the programming language · Variables and data types · Input and output · Operators · …

    Read the chapter · Exercises