My Notebook

This is my portfolio showcasing my projects and skills.


My Notebook

Home

Table of Contents

Java A programming language. Java and JavaScript are completely different languages.
Procedural languages Procedural Languages focus on procedures (functions) that operate on data in a linear top-down sequence.
Object oriented programming Object-oriented programming is a way of writing code where you group related data and actions into reusable "objects," kind of like organizing tools into labeled boxes.
Java class In Java, a class is like a blueprint that defines the structure and behavior (data and actions) of objects you can create from it.
Java method A method in Java is a block of code inside a class that performs a specific task when it's called.
Console The area of a computer that notes from a program can be printed to. Kind of like a notebook.
Algorithm Step-by-step instructions. Example: The steps to making cookies and a method we use for long math problems are both examples of algorithms.
Sequencing The order things happen in. Example: Brushing your teeth might consist of these steps: Put toothpaste on the toothbrush. Use the toothbrush to clean your teeth.
Selection The parts of an algorithm where decisions are made. Example: If you already have your shoes on, then you are ready. If not, put them on.
Iteration The parts of an algorithm which repeat. Example: If you need to buy 10 apples, instead of buying them one at a time, you would buy multiple at once.
Internal Link A link that takes a user to a different page in the same site. Example: The following link will take users to the hobbies page within the site. <a href=“hobbies.html”>Take me to my Hobbies page</a>
External documentation External documentation is the information about your code that's kept outside the actual source files, like user guides, API references, or manuals, to help others understand how to use or work with your program. Example: // this is a java comment
Variables A variable is like a box that holds the information you want. Example: var = information; name = arthur; fave_food = pizza;
String A string is a set of words or numbers that are surrounded by quotation marks. "Here is 1 string." Example: "I am a string."
Int Int is short for integer, which is a data type that means a number value. Example: 12
Double A double variable type is a decimal value. Example: 4.56
Char A data type of just one character. Example: "A"
Boolean A data type that represents the value of True or False. In Python it must be capitalized: True. In JavaScript and Java it's all lowercase: true. Example: "Rain = true, clearSky = false"
camelCase CamelCase is a way of writing compound words or phrases where each word starts with a capital letter and there are no spaces Example: "myVariable" or "codeVarOne"
Concatenation Adding strings together to create longer strings. "Hello my name" + "is" + "Dominique" Example: print("This is " + "an example of " + "concatenation.") #Output: This is an example of concatenation.
Type conversion Type conversion is the process of changing a value from one data type to another, like turning an `int` into a `double` or a `String` into an `int`.
Syntax error The characters were typed in incorrectly (for example, missing a semicolon in the right place)
Runtime error When the code is correct, but can run into issues depending on how the program is run. An example of a runtime error is when we try to divide any number by zero.
Logic error The code is technically written without mistakes, but the logic doesn't accomplish what it is supposed to. For example, the code is running just fine, but it's not passing the challenge.
String literals Another word for a string. "Hello" is a string literal. Example: "Hello" or "How are you"
Rubber-Duck method The method where programmers talk through their problems out loud and can sometimes find where the issue is.
Incrementor An incrementor is something in code, usually `++` - that increases a variable's value by one.
Decrementor A decrementor is something in code, usually `--` - that decreases a variable's value by one.

Code Examples

### Print Statements

  public class Hello {
      public static void main(String[] args) {
          System.out.println("Hello World!");
      }
  }

System accesses a Java class that’s built into the language

out is short for “output”.

println is short for “print line”.

Markdown Style Guide for Coding Notebooks

Follow this guide to keep your coding notebook clear, consistent, and professional.

This ensures your notes are easy for you (and others) to read later.


Headings

When to use: Organize your notebook into sections (like days, topics, or projects).

  • # for the notebook title (use once at the top).

  • ## for each day or major topic.

  • ### for subsections (like “Notes”, “Practice”, “Reflections”).

Example:

My Coding Notebook

Day 1

Notes

Practice

Text Formatting

When to use: Highlight important ideas or add emphasis.

Use bold for key terms or definitions.

Use italic for emphasis or side comments.

Use inline code for keywords, functions, or commands.

Example:

Class = a blueprint for objects

Remember: always test your code

Use System.out.println() to print

Code Blocks

When to use: Anytime you write multiple lines of code.

Inline code for short snippets.

Fenced code blocks with language for full examples.

Example:


public class Hello {

    public static void main(String[] args) {

        System.out.println("Hello World!");

    }

}

Lists

When to use: Organize steps, notes, or key points.

Numbered lists for sequences or steps.

Bulleted lists for unordered ideas.

Example:

Define the class Write the main method Test your program Variables

  • Loops

  • Conditionals

Checklists

When to use: Track progress on assignments or tasks.

Example:

[x] Complete coding warm-up

  • Finish project draft

  • Reflect on learning

Blockquotes

When to use: Call out notes, reminders, or teacher comments.

Example:

💡 Remember: Loops repeat code until a condition is false.

Tables

When to use: Compare values, track progress, or organize data neatly.

Example:

Task Status Notes

|————–|————|—————–|

Homework 1 Done # Submitted
Homework 2 Pending Needs review

Links & Images

When to use: Add references, resources, or visuals.

Example:

Java Docs

Markdown Logo

To make an image that is a link, paste the image, then add the following before it, replacing website address with the link:

And after the image info, add: </a>

Collapsible Sections

When to use: Hide solutions, extended notes, or extra details.

Example:

Click to reveal solution System.out.println("Answer: 42");

Footnotes

When to use: Add references or side notes without cluttering the page.

Example:

This concept is related to object-oriented programming.1

Style Rules

Consistency matters more than creativity

Always use headings to structure your notes.

Always use code blocks for multi-line code.

Clarity first

Bold key terms.

Use lists instead of long sentences when outlining steps.

Professional tone

Don’t mix casual notes with formal work in the same section.

Use blockquotes for reflections or teacher feedback.

Track your learning

Use checklists to mark what’s done.

Use collapsible sections if you want to hide answers until review time.

Bottom Line:

Headings = Structure

Bold/Italic = Emphasis

Code blocks = Code

Lists = Steps/Ideas

Tables = Organization

Checklists = Progress

Blockquotes = Notes/Tips

Collapsible = Hide/Show detail

Keep it simple, consistent, and clear.

  1. See “Objects and Classes” in your textbook.