Java- Programming for Beginners
Course
This is an introductory-level course where students learn Java programming basics to build software. The students will learn to use variables, expressions, flow control, for loop, while loop, do-while loop, break, continue, Array, exception handling, writing to a file, reading from a file, and more to develop an application! Using Java, students will learn to develop desktop games such as Madlibs, trivia pursuit, Jackpot, Guess-my-Word, flashcard, Tic-Tac-Toe, and more.
Java is used everywhere, from being embedded into electronics to full-blown enterprise applications, including laptops, supercomputers, gaming consoles, and mobile phones. According to Oracle, Java is used on over 3 billion devices. Java is used to create desktop applications, web applications, mobile apps, and more.
Learning Objectives
The following are the objective of this course:
- Introduce the modern programming concepts and other design methodologies using Java
- Discuss the concepts of good software design and methods.
- Use the concepts of different types of structured programming.
- Learn to use flowchart and pseudo-code to decompose a complex problem.
- Develop algorithms using different methods.
- Develop software using various programming techniques.
Topics
- Introduction to Java
- Setting up Java Development Environment
- Writing Java Code
- Compiling and running Java Program
- Rules for writing Java Code
- Introduction to Flowchart
- Comments
- Warning Messages
- Variables
- Expression
- Simple and Complex Statement
- Data Types
- Mathematical Operators
- Assignment Operators
- Escape Sequence
- Control Statement (Condition)
- Relational Operation
- Logical Operators
- If statement (If, If ... else.., If ... else if ...else ... )
- The Conditional Operator "? ... :"
- For Statement
- The while statement
- The do .. while statement
- The break Command
- The continue Command
- Creating an Array
- Defining an Array Dimension
- Assigning a value to an array element
- Modifying the value in an array
- The String Class
- Exception Handling
- Throwing Exceptions
- Catching Exceptions:
- Standard Exceptions
- Define New Exceptions
- Opening a File
- Closing a File
- Writing to a File
- Reading from a File
- File Read & Write Example
Prerequisite
- Knowledge of computer fundamentals.
Assumptions
- The student is familiar with the Internet and has a basic knowledge of starting an application, managing folders and files, and browsing the Internet for information.
- The student is committed to working independently on his/her own time on the assigned hands-on projects.
Technical Requirements
- Access to a computer, an Internet browser, and a headset.
Audience
- This is an excellent introductory course for students wanting to learn to program in Java, prepare for the AP Computer Science or Information Technology Certification Exam, and plan to develop a career in Software Engineering.
Learning Resources & Tools
The course consists of 10 modules. The workload of each module varies and consists of a combination of the following:
- Lecture: The lecture consists of notes students can use as reference material. Each module consists of at least one online lecture not with examples applicable to real-life scenarios. The lecture notes may contain hyperlinks to current resources, such as articles, books, or websites, to keep students up-to-date with the latest information.
- Video: The Video consists of a presentation on the topics covered in the lecture note.
- Hands-on Activities: The hands-on activities help students apply the concepts learned during the lecture. Each module consists of programming activities and exercises.
- Quizzes: The quiz allows students to validate their learning further. Students get unlimited attempts to pass the quiz with a minimum score of 70%.
- Mini-Projects: Projects help students apply the concepts learned through the lecture and apply them to build an application. All the mini projects are to be submitted via email before the end of the course.
- Module Completion: To complete each module, the student must follow the instructions in the lecture notes.
- Final Exam: The student can take the final exam at the end of the course. The student must score 70% or more to receive a certificate of completion.
Here is the course outline:
1. Introduction to JavaLearn to set up a Java development environment, and write, compile and execute the first Java program. |
2. Coding Style and Flow ChartThis module will cover coding style and flow chart. The topics will include writing a header, adding comments, and warning messages, defining variables, and developing a flow chart to illustrate the program flow. After completing this module, the student should be able to develop a small application in C++ Language using proper coding style. |
3. Variables & ExpressionsLearn to write Java programs with various data types, variables, expressions, mathematical operators, and assignment operator. |
4. Conditional StatementsLearn to write Java program with conditional statements using if keyword, Conditional Operator "?", "switch" keywords, and relational & logical operators. |
5. For LoopLearn to write Java programs with a "for" loop to execute a piece of code one or more times. |
6. While LoopLearn to write Java programs with a "while" loop to execute a piece of code repeatedly based on a given Boolean condition. |
7. ArrayLearn to Java programs to manage data in a one-dimensional Array. Learn to define an Array dimension, assign a value to an array element, and manage the values in an array. Learn to write Java Programs that include String(s). - word, sentence, and paragraphs |
8. Strings |
9. Exception HandlingLearn to write Java programs that can handle Exceptions, such as Try, Catch, and Throw. |
10. File Input /Output |
11. Extra |
Completion
The following certificates are awarded when the course is completed:
Certificate of Completion |