html5-img
1 / 23

CS130 Introduction to Programming with VB 6.0

CS130 Introduction to Programming with VB 6.0. Fall 2001. Computer System. Computer hardware Computer software Users + computer professionals. Hardware. Computer hardware Central Processing Unit (CPU): interprets and executes instructions

lester
Télécharger la présentation

CS130 Introduction to Programming with VB 6.0

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS130 Introduction to Programming with VB 6.0 Fall 2001

  2. Computer System • Computer hardware • Computer software • Users + computer professionals

  3. Hardware • Computer hardware • Central Processing Unit (CPU): interprets and executes instructions • Main memory (RAM): stores programs/data that are currently being executed/processed; volatile. • Secondary memory (floppy disk, hard disk, CD, DVD): mass backup storage; non-volatile. • Input devices: keyboard, scanners, etc. • Output devices: printers, monitors, etc.

  4. Software • Software = program(s); a program is a list of instructions (coded in a particular programming language) that directs the hardware to perform a specific data processing task.

  5. Two types of software • Systems software: performs system-oriented tasks such as backing up files; typical system software includes the operating system such as MS Windows and compilers • Applications software: performs user-oriented tacks such as wordprocessing; typical applications software includes wordprocessors, Power-point, etc.

  6. Three-levels of Computer Languages • Low-level machine language: 0's and 1's • Intermediate assembler languages: mnemonics; needs translator known as assembler. • High-level procedural languages: needs translators known as compilers; Visual Basic which will be taught in this class is a popular HLL. • Natural or spoken language: an ideal; hard to implement due to ambiguities

  7. Visual Basic a brief history • BASIC: Beginners All-purpose Symbolic Instruction Code, implemented in the 1960s; easily to learn/use; handles only textual data. • Visual BASIC: evolved from BASIC, capable of handling both graphical and textual materials; object-oriented and event-driven language.

  8. Program development life cycle (PDLC)

  9. Flowchart symbols: tools for algorithm development

  10. Structured programming (top-down chart or hierarchy chart or hierarchical input process output or HIPO)

  11. Basic construct (building block) of a program

  12. Basic construct (building block) of a program

  13. Basic construct (building block) of a program

  14. Basic construct (building block) of a program

  15. Basic construct (building block) of a program

  16. Example: sales commission computation for female and male salespersons for a company

  17. Object-oriented programming:concepts of class, sub-class, super-class, inheritance, objects (instances)

  18. Unified Modeling Language (UML): describing and documenting an OO system

  19. Event-driven programming paradigm

More Related