Visual Studio
Document Sample


Visual Programming
Instructor: Fahad Hassan
Lecture # 01
1 Fahad Hassan | The University of Lahore
Outline
Course Overview: Goals & Objectives
Class Protocols
Course Outline
Programming Fundamentals Basic Concepts
Object Oriented Programming Concepts
Introduction to Visual Programming
.NET Framework
Reading Suggestions
2 Fahad Hassan | The University of Lahore
Course Overview: Goals & Objectives
Be able to get into the IT industry with professional
knowledge of visual programming languages.
Design and solve a problem using structured, object
oriented and event driven paradigm.
Learn about each phase in software life cycle.
Introduce yourself to .NET Framework,Visual Studio
2010, C#, MS SQL Server 2008.
Deploy software project through the setup project.
3 Fahad Hassan | The University of Lahore
Course Protocols
Try to come to class in time.
Feel free to ask questions in lecture, outside lecture
Read the books/reading material (as much as you can)
Work hard. There is no short cut!
Discussions and class dialogue
24/7 email turn around
Fahad.hassan@cs.uol.edu.pk
Course Site:
https://sites.google.com/a/cs.uol.edu.pk/visual-
programming
4 Fahad Hassan | The University of Lahore
5 Fahad Hassan | The University of Lahore
Programming Fundamentals Basic Concepts
Scope of variables
The scope of a name is the region of program text within
which it is possible to refer to the entity declared by the name
without qualification of the name.
Data types (Built-in & User-defined)
Functions
Arrays
Pointers
6 Fahad Hassan | The University of Lahore
Object Oriented Programming Concepts
Class: A class can be defined as a template/ blue print
that describe the behaviors/states that object of its type
support.
7 Fahad Hassan | The University of Lahore
OOP Concepts (Cont…)
Objects: Objects have states and behaviors. Example: A
dog has states-color, name, breed as well as behaviors -
wagging, barking, eating. An object is an instance of a class.
8 Fahad Hassan | The University of Lahore
OOP Concepts (Cont…)
Properties: Properties are members that provide a
flexible mechanism to read, write, or compute the values
of private fields. Properties can be used as though they
are public data members, but they are actually special
methods called accessors. This enables data to be
accessed easily while still providing the safety and
flexibility of methods.
9 Fahad Hassan | The University of Lahore
OOP Concepts (Cont…)
Encapsulation: Well, in a nutshell, encapsulation is the
hiding of data implementation by restricting access to
accessors and mutators.
Abstraction: Data abstraction is the simplest of
principles to understand.
10 Fahad Hassan | The University of Lahore
OOP Concepts (Cont…)
Inheritance: Classes can inherit from another class. This
is accomplished by putting a colon after the class name
when declaring the class, and naming the class to inherit
from—the base class—after the colon, as follows:
11 Fahad Hassan | The University of Lahore
OOP Concepts (Cont…)
The new class—the derived class—then gains all the non-
private data and behavior of the base class in addition to
any other data or behaviors it defines for itself. The new
class then has two effective types: the type of the new
class and the type of the class it inherits.
12 Fahad Hassan | The University of Lahore
Visual Programming
In computing, a visual programming language (VPL) is any
programming language that lets users create programs by
manipulating program elements graphically rather than by
specifying them textually
13 Fahad Hassan | The University of Lahore
.NET Framework
The .NET Framework (pronounced dot net) is a software
framework developed by Microsoft that runs primarily on
Microsoft Windows. It includes a large library and
provides language interoperability (each language can use
code written in other languages) across several
programming languages.
14 Fahad Hassan | The University of Lahore
Reading Suggestions
Consult the course site to read out about basic
programming concepts, OOP concepts, C#, .NET, etc.
https://sites.google.com/a/cs.uol.edu.pk/visual-programming/
15 Fahad Hassan | The University of Lahore
Get documents about "