The Introduction to Programming course comprises sessions dealing with variables, expressions, conditional statements, collections, iterative statements, functions, objects, compilation and execution, and best practices.
Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.
The delegate will learn and acquire skills as follows:
- Writing to reading from the console
- Declaring and initialising variables
- Constructing expressions
- Constructing conditional statements
- Working with arrays/lists
- Constructing iterative statements
- Declaring and invoking/calling functions
- Writing procedural programs
- Working with classes and objects
- Writing object oriented programs
- Compiling and executing code
Who will the course benefit?
This Introduction to Programming course is designed for those new to programming, who want to learn about the terminology, structures, and principles of programming generally.
Delegates should be able to navigate the filesystem, edit a file, and browse the web. No programming
experience is necessary.
There is no exam requirement for this course.
This course aims to provide the delegate with the knowledge to be able to produce simple computer programs that demonstrate an understanding of the three core principles of programming – sequence, selection, and iteration. Delegates will also be exposed to functions, objects, and both procedural and object-oriented programming paradigms. The course further aims to prepare delegates to go on to learn any one of many programming languages in detail.
Syllabus – Key points
Course Day 1
Session 1: INTRODUCTION
Thinking Like a Computer
What is a Program?
What is Code?
From Source Code to Runtime
Why So Many Languages?
What Does a Programmer Do?
stdin and stdout
Session 2: VARIABLES
Variables – What and Why
Name and Value
Session 3: EXPRESSIONS
Expressions – What and Why
Operators and Operands
Unary and Binary Operators
Course Day 2
Session 4: CONDITIONAL STATEMENTS
Conditional Statement – What and Why
The Ternary Operator
Session 5: COLLECTIONS
Collections – What and Why
Getting and Setting Elements
Session 6: ITERATIVE STATEMENTS
Iterative Statements – What and Why
Session 7: FUNCTIONS
Functions – What and Why
Variable Scope (Review)
Course Day 3
Session 8: OBJECTS
Object – What and Why
The Trouble with Object Literals
Passing by Val/Ref
Object Oriented Programming
The Three Principles
Session 9: COMPILATION & EXECUTION
From Source Code to Runtime (Review)
Compilation and Interpretation (Bytecode)
Session 10: BEST PRACTICES
Stating the Problem
Devising the Solution
Test Driven Development (TDD)