Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of ...

13
Lecture 1 Introduction to computers & VB .Net

Transcript of Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of ...

Page 1: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

Lecture 1

Introduction to computers & VB .Net

Page 2: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

What is a Computer?

Examples? A device capable of

Performing computationMaking logical decisionsFaster than human

Process data using computer programs

Page 3: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

What is a computer program?

A set of instructions Application & software

Page 4: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

Computer Organization

Input devices: keyboard, mouse, scanner, microphone, digital camera, & etc.

Output devices: monitor, printer, projector, device control, & etc.

Memory: Primary memory, RAM. Voatile. Arithmetic & logic unit (ALU): Performs

calculation, logical comparison, decision making.

Continue

Page 5: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

Central processing unit (CPU): Administrates process operations.

Secondary storage: Long-term storage of applications and data. E.g. hard drive, CD/DVD drive , & etc.

Page 6: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

Three Types of Languages

Machine language: A natural language of a particular computer machine dependent.+3422221207

+4060234234

+6345335372

Continue

Page 7: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

Assembly language: English-like. Translator program called assembler converts to machine language.LOAD BASEPAY

ADD OVERPAY

STORE GROSSPAY

High-level language: More convenient for programmers.GrossPay = BasePay + OverPay

Page 8: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

High level languages

Visual Basic .Net: Evolved from Visual Basic. GUI. Object Oriented.

Pascal, C, C++, C#

COBOL Java HTML?, JavaScript?, VBScript?

Page 9: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

Language Relationships

Refer to http://www.erg.abdn.ac.uk/users/gorry/eg2068/course/comp.html

Page 10: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

What is .Net

A set of software technologies for connecting information, people, systems, and devices.

Based on Web services—small building-block applications that can connect to each other as well as to other, larger applications over the Internet.

Continue http://www.microsoft.com/net/basics/

Page 11: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions
Page 12: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

What is a program? Sets of instructions that control processing

data. Guides the computer through orderly sets

of actions specified by people called computer programmers.

Page 13: Lecture 1 Introduction to computers & VB.Net. What is a Computer? Examples? A device capable of  Performing computation  Making logical decisions

What is a "good" program? Readable Modula Efficient

Why do we learn Visual Basic? learn and write. Wide applications such as VBA, VBScript,

ASP, and other Microsoft Products.