1 programming appreciation welcome 2 about your lecturer richard c.y. pang computer &...

16
1 Programming Appreciation Welcome

Upload: donna-owen

Post on 03-Jan-2016

217 views

Category:

Documents


4 download

TRANSCRIPT

1

Programming Appreciation

Welcome

2

About Your Lecturer

Richard C.Y. PangComputer & Information

ManagementRoom 436Consultation Hours

Wed 11am - 5pm

Thu 2pm - 4pm

Telephone – 2595 8168

3

Aims & Objectives

Objectives

Understand the basics of program creation & development using a high-level programming language

Learn basic syntaxes & techniques in programming.

Learn program design techniques using flowcharts & diagrams

AimTo provide the students with the knowledge of a general-purpose & easy-to-learn programming language

4

Lectures and LabsLectures

Cover the theory of the course. Visual Basic .NET will be used for explanations.

Laboratories

To put the theory into practice using Visual Basic .NET for Windows XP

5

Assessment

Module Value : 3.0

Duration : 15 weeks

Class-Contact : Lecture 15 hours

Lab 30 hoursCoursework (50%)Quizzes Individual pieceContinuous Assessment

Examination (50%)

One examination

6

BooksVisual Basic .NET Introductory Concepts

and TechniquesGary B. Shelly, Thomas J. Cashman, Jeffrey J. Quasney

Thomson Course Technology

ISBN 0-7895-6547-1

Any book on Visual Basic .NET

7

Programming Appreciation

Programming Concepts

8

What is program?A computer program is an example

of computer software that instructs computer to carry out actions. Program ~ software /software application

e.g. computer game, Word, Excel, Internet Explorer, Easy CD Creator

9

How program works?

Compile

(Translate)

Machine Language

Interrelated abstract algorithms

10

Why develop program?

Me Shirley

Florist in Shirley’s town

Delivery Man

Florist in my town

To solve problems in an efficient and accurate wayTo solve problems in an efficient and accurate way

11

A story about Bill & Paul

Back in the early 1970’s, Bill and Paul were friends at Lakeside School in Seattle. They enjoyed working with computers and wrote many games they could play. The games were written in BASIC (Beginner’s All-Purpose Symbolic Instruction Code).

In college, they improved their computer skills and sold their version of the BASIC language to other people on a cassette tape. They started making money selling BASIC and established a company called Microsoft! Bill is Bill Gates, a billionaire now running Microsoft.

12

History of Visual BasicBASIC (1964)GW-BASIC, QuickBasic, QBasic (1985)Visual Basic 1.0 (1991) – for WindowsVisual Basic 2.0 (1992)Visual Basic 3.0 (1993)Visual Basic 4.0 (1995)Visual Basic 5.0 (1997) - 32-bit Windows ProgramVisual Basic 6.0 (1998) - Windows & Web based P.Visual Basic .NET (2002)Visual Basic .NET 2003 (2003)VB.NET 2005 beta

13

Programming ConceptsWindows vs. Web Based ApplicationWindows based (Windows 2000,

Windows XP or Windows NT) applications

Web based application is an application delivered to users from a web server over the World Wide Web. -Through Web browser / thin client

-Popular update/maintain web applications without installing software on clients

14

Visual Basic .NET

Class

Objects

1. Language used to create windows and web application

2. Provide a Graphical User Interface or GUI (VS DOS)

3. A kind of 4GL (fourth-generation language) closer to human language. 4GL are designed to reduce programming effort, time to develop software and the cost of software development. E.g. VB, Oracle Reports, Oracle SQL*Plus, SQL

1. Language used to create windows and web application

2. Provide a Graphical User Interface or GUI (VS DOS)

3. A kind of 4GL (fourth-generation language) closer to human language. 4GL are designed to reduce programming effort, time to develop software and the cost of software development. E.g. VB, Oracle Reports, Oracle SQL*Plus, SQL

First generation: machine language Second generation: assembly language Third generation: high-level programming languages, such as C, C++, and Java. Fifth generation: languages used for artificial intelligence and neural networks.

First generation: machine language Second generation: assembly language Third generation: high-level programming languages, such as C, C++, and Java. Fifth generation: languages used for artificial intelligence and neural networks.

15

Title Bar Main Menu

Toolbars

Start PageDesign Window

Main Window

IDE – Integrated Development Environment of Visual Basic .NET

16

Study QuestionsWhat is program?How computer program can be compiled?What is the benefit in writing computer program?Why web based application becomes more

popular?