 |
|
OL321: Programming Concepts for Non-Programmers
- Description:
This course is for those who have never programmed and want to understand basic programming concepts in preparation for using a scripting language such as JavaScript or for taking a first-step into programming.
Programs are made up of statements; we define what statements are and
how they are used to instruct the computer to do things, such as calculate a simple sum or print some text.
The basic steps of defining variables and using operators are covered.
In addition, we cover the syntax for and use of constructs such as if/else statements and loops (used
to add flow control to a program) as well as functions (used to group statements to perform a specific task).
At the end of the course, participants will write a simple program that involves declaring variables and using loops and functions.
The course finishes with a brief overview of web technologies, providing a picture of how HTML, JavaScript and Java are used on the internet.
The Java language is used in this course.
-
Objectives:
-
By the end of the training session, the participant will be able to:
-
Understand the process of writing, compiling, and running a computer program
-
Understand the use of variables and operators, conditional and iterative statements, and functions
-
Write a simple Java program that uses the basic constructs learned
Audience:
-
Web Programmers or anybody wanting to learn basic programming concepts.
This course should be taken before taking the JavaScript Programming, Basics and Beyond (OL320) course by those who have no programming experience.
Prerequisites:
-
A basic understanding of computers.
- Duration: 1 day
This Course Includes:
-
The course starts with a general introduction to programming: how a computer translates statements from a programming language into machine code that executes and performs a task such as printing out a name.
In the second unit, we will start writing simple programs. To do that we need to understand what variables and data types are and how they're used. We'll also discuss operators and use them to do simple calculations in our programs.
Once we have mastered the basic constructs of a program, we move on to learn about flow control in programming. Conditional (if/else) and iterative (for, while, do/while) statements allow us to control the flow in a program. Using a recipe as a model, we understand the nature of these constructs.
In more complex programs statements are grouped together in functions. We will discuss how functions are defined and used.
The course finishes with an overview of web technologies. You'll get an idea where technologies such as HTML, JavaScript and Java have their place on the web.
-
Course Outline:
-  
Unit 1: Basics of Programming
- Understand the concepts of Machine Instructions & Statements.
- Understand the purpose of a Compiler and Interpreter.
- Differentiate various Programming Languages.
Unit 2: Data Types, Variables and Operators
- Understand and use the basic constructs of a Java program to do simple calculation. Constructs covered include:
- data types,
- variables,
- operators and their precedence.
Unit 3: Statements and Flow Control
- Add flow control to a program by using iterative and conditional statements: if/else, for, while do/while.
|
Unit
4: Functions
- Understand the concept of functions.
- Understand the use of parameters and return values.
Unit 5: Overview of Web Technologies
- Understand what the Internet is and where technologies such as HTML, JavaScript or Java are used on the Internet
|
|