Programming Foundations
Course Synopsis
Basic programming skills are a fundamental requirement for many IT professionals. An entry-level programmer can have difficulty with jargon, and knowing where to start. Learning language syntax can be an uphill struggle when it cannot be put into context.
As scripting languages become more powerful and available traditional tasks of a programmer are invading other IT functions. System administrators may have to write complex scripts which impact on mission critical systems, often with no programming experience or training.
Support staff often have to communicate with development staff, and misunderstandings easily arise from cultural differences.
This course gives a basic understanding of how computer systems work from a programmer's perspective, and how to use this knowledge to produce good code. It also enables technical staff who are not programmers to gain a perspective of software development.
Course Objectives
Delegates will learn how to:
- Describe the components of a computer system
- Understand the purpose of Operating Systems and third-party libraries
- Describe the phases of software development
- Read and produce simple program flow charts
- Understand the underlying structure of data types
- Choose a suitable data type for a specific task
- Use basic operators, and understand precedence
- Understand how the stack is used to pass data
- Recognise different abstract file types, and their uses
- Be familiar with different program execution regimes
- Identify the phases of code production
- Understand and apply good coding techniques
- Apply a methodical approach to support and debugging
Intended Audience
System Administrators and support staff who require a technical knowledge of programming, to help them produce better code, to understand programming concepts, or as a precursor to further training. The course is also suitable for trainee programmers who have little or no in-depth knowledge of programming. It can act as a primer for delegates new to programming who are looking to train on languages such as C, C++, Perl, Python, C# and Visual Basic.
Prerequisites
Delegates must be computer literate and have recent experience as a computer user.
Publicly scheduled dates, locations, and prices
London — £1320 (+VAT)
- 27–29 Oct 2010
- 1–3 Dec 2010
Leeds — £1320 (+VAT)
- 10–12 Nov 2010
Edinburgh — £1320 (+VAT)
- 26–28 Jan 2011
Course Contents
System Components
- Computer system components
- Hardware components
- Software components
- Operating systems
- Processes
- Process life-cycle
- Virtual memory
- Applications
- Tools & utilities
- Bringing it all together
- Programming Languages
Software Production
- Where does software come from?
- Stages in software production
- Understanding the specification
- Basic flowcharting
- System flowchart symbols
- Paper to Program
- Prototyping
- Why does software have bugs?
- Testing
Data
- Representing data
- Bits, bytes and words
- Conventions
- Fundamental types
- Example scalar types
- Representing characters
- The problem with the Euro
- Representing integers
- Integers - byte ordering
- Representing floating point
- Representing time
- Arrays and lists
- Sets
- Associative arrays
- Records
Variables and Operators
- Variables and constants
- Life of a variable - scope
- Choosing variable names
- Operations on data
- Choosing variable types
- Simple operations?
- Precedence
- Boolean operators
Flow Control
- Flow control
- Altering program flow
- Simple decision statements
- What is truth?
- case statements
- Loops
- List processing
- Interrupt handling
- Exception handling
Program Structure
- Scope revisited
- Named blocks
- Calling a subroutine
- Passing data by copy
- Does this 'Swap' Subroutine work?
- How Swap's arguments are passed
- Passing data by reference
- Passing NewSwap's arguments
- Returning results
- Don't do this at home...
- Entry points
- Modules and Libraries
- Asynchronous subroutines - Threads
Input and Output
- What is a file?
- File systems
- Exchangeable file systems
- Opening a file
- Opening a file - checks
- Opening a file - modes
- Access methods
- Buffers
- Asynchronous IO
- I/O Libraries and Layers
- Concurrency issues
- The Solution - Locking
Building Applications
- Compilation
- Linking
- The 'make' utility
- make files
- Loading and Running
- Portability
- Emulators
- Virtualisation
- Interpretation
- The third way: Byte-code
- Pre-processing
- Optimisation
- Debuggers
- Debugging a compiled program
User Interfaces
- User IO
- Terminal IO
- Graphical User Interfaces
- Client-Server Systems
- Web application development
- Server-side processing
- State and persistence
- Internet Services
- Frameworks
- Printing
- Report Generation
Coding Techniques
- KISS
- Readability and Style
- Comments
- Naming Conventions
- Defensive programming
- Error handling
- Programming for change
- Programming for performance
- Constants - aren't
- Portability again
- Pragmas
Support and Debugging
- Understanding the problem
- End-user discussions
- Finding a solution
- Trace statements
- Debuggers
- Other tools
- Typical symptoms
- Applying a fix
- Dealing with 3rd party support
- Distribution
Languages
- Standards, standards, standards...
- Syntax diagrams
- Pseudo-code
- Generations - 3GLs
- Generations - 4GLs
- Procedural v. Non-procedural
- Oops!
- When to use Object Orientation
- Scripting
- Language round-up
