Programming Basics
Learning Objectives
Upon completion of this unit, you should be able to:
- Understand and use the Northwood Tech Software Development Standards
- Identify and understand the naming rules and standards
- Recognize Java Keywords
- Understand, create, and properly use variables
- Understand, identify and properly use data types
- Understand, create, and properly use named constants
- Understand, identify and properly use the assignment operator
- Be familiar with debugging using Apache NetBeans
- Understand and identify the different types of errors
- Understand the benefits of testing with data that makes a program fail and data that makes it work
Learning Activities
In this unit you learn about rules and standards, as well as, keywords, variables, data types,named constants, testing and debugging. You will also learn about the three basic types of errors. Each link below takes you to a specific chapter within this unit. Please take the time to review all the chapters and when available, complete the interactive activities.
"Go confidently in the direction of your dreams. Live the life you have imagined." - Henry David Thoreau
- Naming Standards, Rules, and Keywords
- Naming Standards
- Naming Rules
- Keywords
- What You Learned
- Test Your Knowledge - Interactive activity
- Variables and Data Types
- What does data look like?
- Naming Variables
- Data Types
- Variables and Data Types
- Declaring and Initializing Variables
- Additional Resources
- What You Learned
- Test Your Knowledge - Interactive activity
- Named Constants
- The Keyword
final - Declaring a Named Constant
- Once Assigned
- When to use a Named Constant
- What You Learned
- The Keyword
- The Assignment Operator
- Order Matters!
- Compatible Data Types
- Understanding Error Messages
- What You Learned
- Errors, Testing, and Debugging
- Compile-time Errors
- Runtime Errors
- Logic Errors
- Testing for Failure
- Testing for Success
- Debugging
- What You Learned
- The Anatomy of a Program
- The Package
- The
class - Controller Class
- Main Class
- Methods
- Scope and Code Blocks
- The Semicolon
- Did you Know?
- What You Learned