Programming Appreciation Welcome 1

advertisement

Programming Appreciation

Welcome

1

About Your Lecturer

Telephone – 2595 8168

Richard C.Y. Pang

Computer & Information

Management

Room 436

Consultation Hours

Wed 11am - 5pm

Thu 2pm - 4pm

2

Aims & Objectives

Objectives

Aim

To provide the students with the knowledge of a general-purpose

& easy-to-learn programming language

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

3

Lectures and Labs

Lectures

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

4

Assessment

Module Value : 3.0

Duration : 15 weeks

Coursework (50%)

Quizzes

Individual piece

Continuous Assessment

Class-Contact : Lecture 15 hours

Lab 30 hours

Examination (50%)

One examination

5

Books

Visual Basic .NET Introductory Concepts and Techniques

Gary B. Shelly, Thomas J. Cashman, Jeffrey J.

Quasney

Thomson Course Technology

ISBN 0-7895-6547-1

Any book on Visual Basic .NET

6

Programming Appreciation

Programming Concepts

7

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

8

Compile

(Translate)

How program works?

Interrelated abstract algorithms

Machine

Language

9

Me

Why develop program?

Shirley

Delivery

Man

Florist in my town

Florist in

Shirley’s town

To solve problems in an efficient and accurate way

10

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.

11

History of Visual Basic

BASIC (1964)

GW-BASIC, QuickBasic, QBasic (1985)

Visual Basic 1.0 (1991) – for Windows

Visual Basic 2.0 (1992)

Visual Basic 3.0 (1993)

Visual Basic 4.0 (1995)

Visual Basic 5.0 (1997) - 32-bit Windows Program

Visual Basic 6.0 (1998) - Windows & Web based P.

Visual Basic .NET (2002)

Visual Basic .NET 2003 (2003)

VB.NET 2005 beta

12

Programming Concepts

Windows vs. Web Based Application

Windows 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

13

Visual Basic .NET

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

Class

Third generation: high-level programming languages, such as C, C++, and Java. Objects

Fifth generation: languages used for artificial intelligence and neural networks.

14

Main Window Title Bar Main

Menu

Toolbars

IDE – Integrated Development Environment of Visual Basic .NET

Design Window Start Page 15

Study Questions

What is program?

How computer program can be compiled?

What is the benefit in writing computer program?

Why web based application becomes more popular?

16

Download