Loading...
  >    >  Introduction to Programming in Java — Open & Free

Introduction to Programming in Java — Open & Free

Get an introduction to programming with the programming language Java.

Description

This course teaches methods for solving problems using computational modes of thinking. It uses the term computation to mean “the execution of a sequence of instructions by a computer with the intention of solving a given problem”. This course provides an introduction to Java and elementary principles of computing, including programming, iteration, and testing.

Note: Please use Mozilla Firefox or Google Chrome as your browser for this course, as some of the embedded activities do not display properly in Internet Explorer or Microsoft Edge.

Open & Free features

Open & Free Courses

Freeforever
  • Open & Free OLI courses enable independent learners to study a subject on their own terms, at their leisure. Courses are:

    • Self-guided.
    • Self-paced.
    • Self-supported.
  • Open & Free courses include only the learning materials:

    • No teacher.
    • No tests.
    • No college credit.
    • No certificate of completion.
  • *If your teacher gave you a Course Key, do not use an Open & Free course because your teacher will never see your work.

What students will learn

By the time the learners finish this course, students will be able to:

  • Write, compile, execute, and debug simple programs in Java
  • Use primitive data types, type conversions, strings, and arrays to handle data
  • Apply different constructs for iteration and conditional statements to manage a program’s control flow

Learning objectives by module

Unit 1: Programming with Java

Module 1: Introduction to Programming with Java

  • Recognize what is a computer program, a programming language, and a programming language compiler.
  • Understand components of the Java programming environment.

Module 2: Writing Simple Programs

  • Write programs to evaluate simple expressions.
  • Write and use user-defined library methods.
  • Recognize what is a computer program, a programming language, and a programming language compiler.

Module 3: Iteration

  • Identify an iterative algorithm and express it using a loop structure.
  • Design and code simple algorithms using iteration.
  • Identify an iterative algorithm and express it using a loop structure.
  • Trace iterative algorithms.
  • Design and code simple algorithms using iteration.
  • Create and access elements in an array.

Module 4: Making decisions

  • Determine the value of a given Boolean-valued expression.
  • Apply relational and logical operators and functions to form Boolean-valued expressions.
  • Design and code algorithms involving decisions
  • Trace Java code containing conditional statements.

Module 5: Putting iterations and decisions together

  • Translate a given algorithm to Java code using conditions and loops
  • Design and code simple algorithms that require conditionals and loops for processing an array of data items
  • Trace Java code containing conditionals and loops

Module 6: Testing and Debugging your Program

  • Differentiate between different types of errors encountered during a programming exercise.
  • Resolve compilation errors.
  • Resolve code-syntax errors.

Course assessments, activities, and outline

UNIT 1: Programming with Java

Module 1: Introduction to Programming with Java

Module 2: Writing Simple Programs

Module 3: Iteration

Module 4: Making Decisions

Module 5: Putting Iterations and Decisions Together

Module 6: Testing and Debugging your Program

Other course details

System requirements

OLI system requirements, regardless of course:

  • internet access
  • an operating system that supports the latest browser update
  • the latest browser update (Chrome recommended; Firefox, Safari supported; Edge and Internet Explorer are NOT supported)
  • pop-ups enabled
  • cookies enabled

Some courses include exercises with exceptions to these requirements, such as technology that cannot be used on mobile devices.

This course’s system requirements:

  • None. A Python environment is embedded in the course materials; learners will benefit from access to a Python interpreter, however.
OLI Website:
New look and
New student registration process

OLI’s website has undergone a refresh, and so has the student registration process. Watch the video to see how easily students can register with a Course Key.