Filtered by topic
#study-notes
23 pieces tagged #study-notes.
6 pieces
Learning Python
AI-written study notes for a first course in Python, with practice drills in Tools.Learning Python, Part 1: Values, Types and Talking to the Computer
Study notes on assignment, numbers, type conversion, input and output, and the three kinds of error, with invented examples. Written entirely by an AI model.
Learning Python, Part 2: Decisions and Loops
Study notes on comparisons, if and elif, for and while loops, accumulators and nested loops, with invented examples. Written entirely by an AI model.
Learning Python, Part 3: Functions and Scope
Study notes on defining functions, return values, default arguments, scope, what a function can change, and structuring a program. Written entirely by an AI model.
Learning Python, Part 4: Strings, Lists and Files
Study notes on indexing and slicing, string and list methods, aliasing, f-string formatting and reading and writing text files. Written entirely by an AI model.
Learning Python, Part 5: Tuples, Dictionaries, Sets and Exceptions
Study notes on tuples, dictionaries, sets, sorting with keys, lambda, and handling errors with try and except. Written entirely by an AI model.
Learning Python, Part 6: Recursion, Searching and Classes
Study notes on writing recursive functions, linear and binary search, how efficiency scales, and organising state into classes. Written entirely by an AI model.
17 pieces
Learning Java
AI-written study notes on Java and object-oriented programming, following Schildt's Java: A Beginner's Guide and a university OOP unit.Learning Java, Part 1: From Python to Java
Study notes on what the JDK is, how source becomes bytecode, the anatomy of a first program, and the three ideas behind object-oriented programming. Written entirely by an AI model.
Learning Java, Part 2: Data Types and Operators
Study notes on Java's eight primitive types, literals, scope, arithmetic and logical operators, short-circuiting, widening and casting, and how expressions are promoted. Written entirely by an AI model.
Learning Java, Part 3: Control Statements
Study notes on if and else-if ladders, the switch statement and its fall-through, for, enhanced for, while and do-while loops, break, labelled break and continue, and nested loops. Written entirely by an AI model.
Learning Java, Part 4: Classes, Objects and Methods
Study notes on defining a class, creating objects with new, reference variables, methods with parameters and return values, constructors, this, and garbage collection. Written entirely by an AI model.
Learning Java, Part 5: Arrays, Strings and Bitwise Operators
Study notes on one- and two-dimensional arrays, irregular arrays, array references and length, the String class and its immutability, == versus equals, StringBuilder, command-line arguments, bitwise and shift operators, and the ternary operator. Written entirely by an AI model.
Learning Java, Part 6: A Closer Look at Methods and Classes
Study notes on access modifiers and encapsulation, how Java passes arguments, returning objects, overloading methods and constructors, recursion, static members and static blocks, nested and inner classes, and varargs. Written entirely by an AI model.
Learning Java, Part 7: Inheritance and Polymorphism
Study notes on extends, member access across a hierarchy, super for constructors and members, constructor order, superclass references, overriding and dynamic dispatch, abstract classes, final, and the Object class with equals, hashCode and toString. Written entirely by an AI model.
Learning Java, Part 8: Packages and Interfaces
Study notes on declaring and importing packages, the classpath, how access modifiers work across packages, interfaces and implementing them, interface references, constants, extending interfaces, default and static methods, and choosing between an interface and an abstract class. Written entirely by an AI model.
Learning Java, Part 9: Exception Handling
Study notes on the Throwable hierarchy, try and catch, what an uncaught exception does, multiple and multi-catch blocks, ordering catches, throw and rethrow, finally, checked versus unchecked exceptions and throws, chained exceptions, and writing your own exception classes. Written entirely by an AI model.
Learning Java, Part 10: Input and Output
Study notes on byte and character streams, the predefined streams, reading and writing files, try-with-resources, binary data, random-access files, buffered readers and writers, converting numeric strings with the type wrappers, and the modern java.nio.file API. Written entirely by an AI model.
Learning Java, Part 11: Multithreaded Programming
Study notes on threads and the Runnable interface, creating and joining threads, priorities, race conditions, synchronized methods and blocks, wait and notify, why suspend and stop were removed, the main thread, and the modern java.util.concurrent tools. Written entirely by an AI model.
Learning Java, Part 12: Enums, Autoboxing, Static Import and Annotations
Study notes on enumerations as classes with values, valueOf, constructors, fields and methods, the type wrappers, autoboxing and unboxing and their traps, static import, and built-in annotations. Written entirely by an AI model.
Learning Java, Part 13: Generics and Collections
Study notes on generic classes and methods, type parameters, bounded types, wildcards and bounded wildcards, generic interfaces, raw types, the diamond operator, erasure and its restrictions, and the List, Set, Map and Queue collections with Comparable and Comparator. Written entirely by an AI model.
Learning Java, Part 14: Lambda Expressions and Method References
Study notes on functional interfaces, expression and block lambdas, generic functional interfaces, passing lambdas as arguments, variable capture, exceptions in lambdas, method and constructor references, the predefined interfaces in java.util.function, and a first look at streams. Written entirely by an AI model.
Learning Java, Part 15: Applets, Events and the Remaining Keywords
Study notes on what applets were and why they are gone, the delegation event model with sources, listeners and event objects, adapter classes, and the keywords transient, volatile, instanceof, strictfp, assert and native. Written entirely by an AI model.
Learning Java, Part 16: Swing and JavaFX
Study notes on Swing's components, containers and layout managers, the event dispatch thread, buttons, text fields, check boxes and lists, then JavaFX's stage, scene and node model, its controls and event handling, and how the two compare today. Written entirely by an AI model.
Learning Java, Part 17: Testing, Debugging and Documenting
Study notes on unit testing with JUnit 5, choosing test cases, testing exceptions, reading stack traces, using a debugger, writing Javadoc, and the build tools that tie a Java project together. Written entirely by an AI model.