0% found this document useful (0 votes)
25 views12 pages

Lecture 1 - Chapter 1

Uploaded by

okuhlembulaz53
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views12 pages

Lecture 1 - Chapter 1

Uploaded by

okuhlembulaz53
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Programming

Lecture 1:
Based on Chapter 1 of Textbook

The Visual Basic Envir onm ent


Lecture Overview

✓ What is Programming
✓ Examples of Programming 2

Languages
✓ Introduction to Visual Basic
✓ Visual Basic Integrated
Development Environment (IDE)
Computer Programming
▹ In Previous Topic
▹ Learnt about the phases of Program
Development (about six phases)
▹ Design Phase 2

▹ One of those phases


▹ Write the algorithm: Flowchart, Pseudocode
▹ Implementation Phase
▹ Using your algorithm to write a program
or code
Computer Programming
▹ What is Programming
▹ Process of designing & writing
computer programs (instructions)
▹ Though Coding & Programming may
be used Interchangeable, they have 2
some differences
▹ Coding
▹ Coding is process of writing program
code – is a specific task in programming
▹ Programming
▹ Programming is process of creating
functional Software or Computer
program.
Programming Languages
▹ Programming Language
▹ Language for instruction into Computer
▹ E.g. C++. BASIC, COBOL, Pascal,
Java, C#, Visual Basic
▹ Description of Some Langiages:
2
Programming Languages Continued
▹ Programming Language for ISTN103
▹ Visual Basic (VB)
▹ Introduction to VB
▹ Visual Basic (VB)Good Programming
Language User Friendly for Beginners
as: 2
▹ Easy to Lear
▹ Allows for Development of GUI windows
Applications
▹ Derived from the word Basic and hence
purposed for beginners
▹ Is event Driven
▹ Allows for event driven activities such as:
▹ Mouse Click
▹ Drag and Drop
Programming Languages Continued
▹ Categories /Kind / Type of
Application that can be created
using VB
▹Windows / Desktop based Applications
▹ Web Apps
▹ Console Applications 2
▹ Mobile Apps
▹ Limitation:
▹Not idea for developing embedded Systems
▹ Examples of Applications that VB can
be used to Create:
▹Mathematical App, Science App, Business
App, Game, Multimedia, Text Editor, etc.
Objects Oriented Programming
▹ VB supports Object Oriented Programming
▹ Concept of Objected Oriented Programming
▹ Object, Properties and Methods
OBJECTS

Properties / Methods /
Characteristics Behaviors
CLASS
▹Blueprint used to create object
▹Object becomes a class and class
contains/encapsulates attributes
and behaviors & allow inheritance
▹ Instance of a class–create an 4
object from a class
▪ Ferrari Enzo, Ferrari F40 are
instances (examples) of the
Ferrari class
▪ Casio Telememo 30, Seiko
Kinetic, FitBit Watch are
instances of a watch class
▹ Application: program User interface: what the
or suite of programs user sees and interacts
with when using an
▹ Windows-based
application
application: Web-based application:
▪ Has a Windows user Has a Web user interface 5

interface Runs on a server


▪ Runs on a personal Accessed with a
computer computer browser
▹ Console, DOS-based
application:
▪ DOS / Console Based
MS Visual Studio
▹IDE– Integrated Development
environment
▹ Contains all tools needed to easily
create applications
▹You create the user interface
▪ How the user sees the
system 6
▪ How the user uses the
system
▹VB Has various versions
▪ V. 2022 available
▹For this course and this year, we
will use V. 2019
Remember as developers you are
creating applications that other
people will use
END OF LECTURE
6

ANY QUESTIONS?

You might also like