01
Assignment Overview
In this introductory assignment, you will set up your Java development environment, create your first Java program, and demonstrate understanding of basic Java concepts. This assignment builds the foundation for all future Java development.
Skills Applied: This assignment tests your understanding of Java setup, basic syntax,
variables, data types, and input/output from Module 1.
Environment Setup
Install JDK and configure your development environment
Basic Syntax
Write and understand Java program structure
Input/Output
Handle user input and display output
02
Requirements
Part 1: Environment Setup
- Install JDK 17 or later on your system
- Configure JAVA_HOME environment variable
- Verify installation by running
java --versionandjavac --version - Set up an IDE (IntelliJ IDEA, Eclipse, or VS Code with Java extensions)
Part 2: Hello World Program
- Create a Java class named
HelloWorld - Write a main method that prints "Hello, World!" to the console
- Compile and run your program from the command line
- Include comments explaining each part of the code
Part 3: Personal Introduction Program
- Create a program that asks for user's name, age, and favorite programming language
- Use appropriate data types for each variable
- Display a formatted message with all the information
- Handle potential input errors gracefully
03
Submission Guidelines
Folder Structure: Submit all files in a folder named
assignment1_yourname
Required Files:
HelloWorld.java- Your Hello World programPersonalIntro.java- Your personal introduction programREADME.txt- Brief description and instructions to run your programs- Screenshot of successful program execution
Ready to submit? Make sure you've completed all requirements!
Submit Now
04
Grading Rubric
| Criteria | Points | Description |
|---|---|---|
| Environment Setup | 10 | Proper JDK installation and configuration |
| Hello World Program | 15 | Correct syntax, compilation, and output |
| Personal Intro Program | 15 | User input handling, variable usage, formatted output |
| Code Comments | 5 | Clear and helpful comments explaining code |
| Documentation | 5 | README file with clear instructions |
| Total | 50 |