Weekly outline

  • General

    Programming Language 1

    Mr.Albanna

    Description:

    The course provides the students with the opportunity to learn the basics of programming and algorithm development using top-down design with syntax and semantics of the Java Programming language. This course will introduce the fundamentals and techniques for solving problems and writing code in details.  An introduction to creating, compiling and executing a Java Program is to be understood. Primitive data types, operations, control structures, Loops, methods, and arrays are to be studied in details. 

  • Introduction

     

    • Java, the World Wide Web, and Beyond
    • The Java Language Specification, installation, JDK, and IDE
    • A Simple Java Program
    • Creating, Compiling, and Executing a Java Program
    • Anatomy of a Java Program
  • Elementary Programming

    • Identifiers
    • Variables
    • Assignment Statements and Assignment Expressions
    • Constants
    • Numeric Data Types and Operations
    • Numeric Type Conversions
    • Character Data Type and Operations
    • The String Type
    • Getting Input from the Console
    • Getting Input from Input Dialogs
    • Programming Style and Documentation
    • Programming Errors
    • Debugging
  • Selection Statements

    • Boolean Data Type and Operations
    • Simple if Statements
    • if ... else Statements
    • Nested if Statements
    • switch Statements
    • Conditional Expressions
    • Formatting Console Output and Strings
    • Operator Precedence and Associativity

  • Loops

    • The while Loop
    • The do-while Loop
    • The for Loop
    • Nested Loops
    • Minimizing Numerical Errors
    • Keywords break and continue
  • Methods

    • Creating a Method
    • Calling a Method
    • Passing Parameters by Values
    • Overloading Methods
    • The Scope of Variables
    • The Math Class
    • Arrays

      • Declaring Array Variables
      • Creating Arrays
      • Array Size and Default Values
      • Array Indexed Variables
      • Array Initializers
      • Processing Arrays
      • foreach Loops
      • Copying Arrays
      • Passing Arrays to Methods
      • Returning an Array from a Method
      • Variable-Length Argument Lists
      • Searching Arrays
      • Sorting Arrays
      • The Arrays Class
      • Two-Dimensional Arrays
      • Multidimensional Arrays
      • 1 October - 7 October