Introduction to Java Programming Online: Semester 1
Introduction to Java Programming 1 is a CodeHS course that teaches students the basics of object-oriented programming with a focus on problem solving and algorithm development. Students learn basic Java, methods, data structures, classes, and object-oriented programming in this course.
Lessons consist of video tutorials, short quizzes, example programs to explore, and written programming exercises, adding up to over 100 hours of hands-on programming practice in total. Several units have free response questions that have students consider the applications of programming and incorporate examples from their own lives.
Recommended:
· CAR095 IT Explorations
· TCH220-PBL Computer Science Principles or other introduction to computer science, Algebra 1
· Knowledge of basic English and algebra including functions and function notation, such as f(x) = x + 2 and f(x) = g(h(x))
No additional software is required. Students write and run Java programs in the browser using the CodeHS editor.
- Commenting Your Code
- Super Karel
- For Loops
- While Loops in Karel
- If Statements
- If/Else Statements
- Control Structures Example
- More Karel Examples and Testing
- How to Indent Your Code
- Karel Challenges
Unit 2: Basic Java
- Printing in Java
- Variables and Types
- User Input
- Arithmetic Expressions
- Casting
- Booleans
- Logical Operators
- Comparison Operators
- For Loops
- While Loops
- If Statements
- Loop-and-a-Half
- Short-Circuit Evaluation
- De Morgan's Law
- Strings
Unit 3: Methods
- Java Methods
- Methods and Parameters
- Methods and Return Values
- Javadocs and More Methods
- Strings Methods
- Strings and Characters
- Exceptions
- String Processing