Unit 1 - Programming: Lecture 1 - Introduction
Unit 1 - Programming: Lecture 1 - Introduction
PROGRAMMING
LECTURE 1 - INTRODUCTION
TOPICS
Course introduction
Problem solving and algorithm
Program development steps
Practice
LO1: Define basic algorithms to carry out an operation and outline the
process of programming an application.
LO2: Explain the characteristics of procedural, object-orientated and
event-driven programming, conduct an analysis of a suitable Integrated
Development Environment (IDE)
LO3: Implement basic algorithms in code using an IDE.
LO4: Determine the debugging process and explain the importance of a
coding standard
Unit 1 - Programming / Lecture 1 - Introduction 4
COURSE MATERIALS
Slides on CMS
C# 6.0 and .NET Framework 4.6
o http://library.books24x7.com/toc.aspx?bookid=104367
o Registered with student email
Mohammad Rahman, Expert C#5.0 with .NET 4.5 Framework
Input?
Output?
Process?
You are hired to develop FAI’s library system with following description
Admin who could
- Manage books, readers (staff, lecturers, and students), etc.
- Manage borrow/return books
Users (staff, lecturers, students) who could
- View/search books
- Reserve books
- Borrow/return books
Please draw Use-case diagram for this scenario
Unit 1 - Programming / Lecture 1 - Introduction 20
STEPS IN PROGRAM DEVELOPMENT
Document explains
o How the program works and how to use the program (user manual)
o How to maintain the program (developer manual)
Details of particular programs, or particular pieces of programs, are
easily forgotten or confused without suitable documentation
Programs are tested with several test criteria and the important ones
are given below
o Test whether each and every statement in the program is executed at least one
(Basic path testing)
o Test whether every branch in the program is traversed at least once (control
flow)
o Test whether the input data flows through the program and is converted to an
output (data flow)
Program maintenance
o Continuing process of maintenance and modification
o To keep pace with changing requirements and technologies
Maintainability of the program is achieved by
o Modularizing it
o Providing proper documentation for it
o Following standards and conventions (naming conventions, using symbolic
constants, etc.)
Unit 1 - Programming / Lecture 1 - Introduction 35
WHAT IS A PROGRAMMING LANGUAGE?
Hello.c Hello.exe
Hello.exe
Unit 1 - Programming / Lecture 1 - Introduction 39
SUMMARY