SlideShare a Scribd company logo
1 of 3
2012


                            Visual
    Programming
                             Using
        C Sharp.Net



LANGUAGE:
   1 This Notes Are Compiled By : Yasir Ahmed Khan | Email: yasirahmedkhan@ymail.com | 03337015014
Language may refer either to the specifically human capacity for acquiring and using complex systems of
communication, or to a specific instance of such a system of complex communication.

OR

Communication of thoughts and feelings through a system of arbitrary signals, such as voice sounds, gestures,
or written symbols.

OR

A system of objects or symbols, such as sounds or character sequences, that can be combined in various ways
following a set of rules, especially to communicate thoughts, feelings, or instructions.



PROGRAM:
A computer program (also software, or just a program) is a sequence of instructions written to perform a
specified task with a computer.

OR

An organized list of instructions that, when executed, causes the computer to behave in a predetermined
manner. Without programs, computers are useless.

OR

Set of ordered instructions that enable a computer to carry out a specific task. A program is prepared by first
formulating the task and then expressing it in an appropriate programming language.

SYNTEX:
The syntax of a programming language is the set of rules that define the combinations of symbols that are
considered to be correctly structured programs in that language.

OR

Refers to the spelling and grammar of a programming language. Computers are inflexible machines that
understand what you type only if you type it in the exact form that the computer expects. The expected form
is called the syntax.



COMPUTER LANGUAGE / PROGRAMMING LANGUAGE:
The term computer language includes a wide variety of languages used to communicate with computers. It is
broader than the more commonly-used term programming language. Programming languages are a subset of
computer languages. For example, HTML is a markup language and a computer language, but it is not
traditionally considered a programming language. Machine code is a computer language. It can technically be
used for programming, and has been (e.g. the original bootstrapped for Altair BASIC), though most would not
consider it a programming language.

OR

A programming language is an artificial language designed to communicate instructions to a machine,
particularly a computer.

Computer programming (often shortened to programming or coding) is the process of designing, writing,
testing, debugging, and maintaining the source code of computer programs.



TYPES OF PROGRAMMING:

        2 This Notes Are Compiled By : Yasir Ahmed Khan | Email: yasirahmedkhan@ymail.com | 03337015014
   Non-Structured Programming
      Structured Programming
      Object Oriented Programming
      Visual Programming

NON-STRUCTURED PROGRAMMING:

Non-structured programming is the historically earliest programming paradigm capable of creating Turing-
complete algorithms. It has been followed historically by procedural programming and then object-oriented
programming, both of them considered as structured programming.

Unstructured programming has been heavily criticized for producing hardly-readable ("spaghetti") code and is
sometimes considered a bad approach for creating major projects, but had been praised for the freedom it
offers to programmers and has been compared to how Mozart wrote music.

There are both high and low level programming languages that use non-structured programming. These
include early versions of BASIC (such as MSX BASIC and GW-BASIC), JOSS, FOCAL, MUMPS, TELCOMP, COBOL,
machine-level code, early assembler systems (without procedural met operators), assembler debuggers and
some scripting languages such as MS-DOS batch file language.


STRUCTURED PROGRAMMING:
Structured programming is a programming paradigm aimed on improving the clarity, quality, and
development time of a computer program by making extensive use of subroutines, block structures and for
and while loops - in contrast to using simple tests and jumps such as the goto statement which could lead to
"spaghetti code" which is both difficult to follow and to maintain.

Some of the languages initially used for structured programming languages include: ALGOL, Pascal, PL/I and
Ada.


OBJECT ORIENTED PROGRAMMING:
A type of programming in which programmers define not only the data type of a data structure, but also the
types of operations (functions) that can be applied to the data structure. In this way, the data structure
becomes an object that includes both data and functions. In addition, programmers can create relationships
between one object and another. For example, objects can inherit characteristics from other objects.

Probably the most commercially important recent object-oriented languages are Visual Basic.NET (VB.NET)
and C#, both designed for Microsoft's .NET platform, and Java, developed by Sun Microsystems. Both
frameworks show the benefit of using OOP by creating an abstraction from implementation in their own way.
VB.NET and C# support cross-language inheritance, allowing classes defined in one language to subclass
classes defined in the other language. Developers usually compile Java to bytecode, allowing Java to run on
any operating system for which a Java virtual machine is available. VB.NET and C# make use of the Strategy
pattern to accomplish cross-language inheritance, whereas Java makes use of the Adapter pattern.


VISUAL PROGRAMMING:
A programming language that uses a visual representation such as graphics, drawings, animation or icons,
partially or completely.

A visual language manipulates visual information or supports visual interaction, or allows programming with
visual expressions

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. A VPL allows
programming with visual expressions, spatial arrangements of text and graphic symbols used either as
elements of syntax or secondary notation.

MICROSOFT VISUAL STUDIO 2010:


        3 This Notes Are Compiled By : Yasir Ahmed Khan | Email: yasirahmedkhan@ymail.com | 03337015014

More Related Content

Viewers also liked

Viewers also liked (12)

C# operators
C# operatorsC# operators
C# operators
 
Visual studio .net c# study guide
Visual studio .net c# study guideVisual studio .net c# study guide
Visual studio .net c# study guide
 
Basics of QTP Framework
Basics of QTP FrameworkBasics of QTP Framework
Basics of QTP Framework
 
C# for beginners
C# for beginnersC# for beginners
C# for beginners
 
Learn C# at ASIT
Learn C# at ASITLearn C# at ASIT
Learn C# at ASIT
 
C# programming language
C# programming languageC# programming language
C# programming language
 
Visual programming
Visual programmingVisual programming
Visual programming
 
Visual programming lab
Visual programming labVisual programming lab
Visual programming lab
 
C sharp part 001
C sharp part 001C sharp part 001
C sharp part 001
 
Functional Programming in C# and F#
Functional Programming in C# and F#Functional Programming in C# and F#
Functional Programming in C# and F#
 
25 php interview questions – codementor
25 php interview questions – codementor25 php interview questions – codementor
25 php interview questions – codementor
 
Visual Basic 6.0
Visual Basic 6.0Visual Basic 6.0
Visual Basic 6.0
 

More from Yasir Khan (20)

Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lec#1
Lec#1Lec#1
Lec#1
 
Ch10 (1)
Ch10 (1)Ch10 (1)
Ch10 (1)
 
Ch09
Ch09Ch09
Ch09
 
Ch05
Ch05Ch05
Ch05
 
Snooping protocols 3
Snooping protocols 3Snooping protocols 3
Snooping protocols 3
 
Snooping 2
Snooping 2Snooping 2
Snooping 2
 
Introduction 1
Introduction 1Introduction 1
Introduction 1
 
Hpc sys
Hpc sysHpc sys
Hpc sys
 
Hpc 6 7
Hpc 6 7Hpc 6 7
Hpc 6 7
 
Hpc 4 5
Hpc 4 5Hpc 4 5
Hpc 4 5
 
Hpc 3
Hpc 3Hpc 3
Hpc 3
 
Hpc 2
Hpc 2Hpc 2
Hpc 2
 
Hpc 1
Hpc 1Hpc 1
Hpc 1
 
Flynns classification
Flynns classificationFlynns classification
Flynns classification
 
Dir based imp_5
Dir based imp_5Dir based imp_5
Dir based imp_5
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 

Visual programming using c#

  • 1. 2012 Visual Programming Using C Sharp.Net LANGUAGE: 1 This Notes Are Compiled By : Yasir Ahmed Khan | Email: yasirahmedkhan@ymail.com | 03337015014
  • 2. Language may refer either to the specifically human capacity for acquiring and using complex systems of communication, or to a specific instance of such a system of complex communication. OR Communication of thoughts and feelings through a system of arbitrary signals, such as voice sounds, gestures, or written symbols. OR A system of objects or symbols, such as sounds or character sequences, that can be combined in various ways following a set of rules, especially to communicate thoughts, feelings, or instructions. PROGRAM: A computer program (also software, or just a program) is a sequence of instructions written to perform a specified task with a computer. OR An organized list of instructions that, when executed, causes the computer to behave in a predetermined manner. Without programs, computers are useless. OR Set of ordered instructions that enable a computer to carry out a specific task. A program is prepared by first formulating the task and then expressing it in an appropriate programming language. SYNTEX: The syntax of a programming language is the set of rules that define the combinations of symbols that are considered to be correctly structured programs in that language. OR Refers to the spelling and grammar of a programming language. Computers are inflexible machines that understand what you type only if you type it in the exact form that the computer expects. The expected form is called the syntax. COMPUTER LANGUAGE / PROGRAMMING LANGUAGE: The term computer language includes a wide variety of languages used to communicate with computers. It is broader than the more commonly-used term programming language. Programming languages are a subset of computer languages. For example, HTML is a markup language and a computer language, but it is not traditionally considered a programming language. Machine code is a computer language. It can technically be used for programming, and has been (e.g. the original bootstrapped for Altair BASIC), though most would not consider it a programming language. OR A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. Computer programming (often shortened to programming or coding) is the process of designing, writing, testing, debugging, and maintaining the source code of computer programs. TYPES OF PROGRAMMING: 2 This Notes Are Compiled By : Yasir Ahmed Khan | Email: yasirahmedkhan@ymail.com | 03337015014
  • 3. Non-Structured Programming  Structured Programming  Object Oriented Programming  Visual Programming NON-STRUCTURED PROGRAMMING: Non-structured programming is the historically earliest programming paradigm capable of creating Turing- complete algorithms. It has been followed historically by procedural programming and then object-oriented programming, both of them considered as structured programming. Unstructured programming has been heavily criticized for producing hardly-readable ("spaghetti") code and is sometimes considered a bad approach for creating major projects, but had been praised for the freedom it offers to programmers and has been compared to how Mozart wrote music. There are both high and low level programming languages that use non-structured programming. These include early versions of BASIC (such as MSX BASIC and GW-BASIC), JOSS, FOCAL, MUMPS, TELCOMP, COBOL, machine-level code, early assembler systems (without procedural met operators), assembler debuggers and some scripting languages such as MS-DOS batch file language. STRUCTURED PROGRAMMING: Structured programming is a programming paradigm aimed on improving the clarity, quality, and development time of a computer program by making extensive use of subroutines, block structures and for and while loops - in contrast to using simple tests and jumps such as the goto statement which could lead to "spaghetti code" which is both difficult to follow and to maintain. Some of the languages initially used for structured programming languages include: ALGOL, Pascal, PL/I and Ada. OBJECT ORIENTED PROGRAMMING: A type of programming in which programmers define not only the data type of a data structure, but also the types of operations (functions) that can be applied to the data structure. In this way, the data structure becomes an object that includes both data and functions. In addition, programmers can create relationships between one object and another. For example, objects can inherit characteristics from other objects. Probably the most commercially important recent object-oriented languages are Visual Basic.NET (VB.NET) and C#, both designed for Microsoft's .NET platform, and Java, developed by Sun Microsystems. Both frameworks show the benefit of using OOP by creating an abstraction from implementation in their own way. VB.NET and C# support cross-language inheritance, allowing classes defined in one language to subclass classes defined in the other language. Developers usually compile Java to bytecode, allowing Java to run on any operating system for which a Java virtual machine is available. VB.NET and C# make use of the Strategy pattern to accomplish cross-language inheritance, whereas Java makes use of the Adapter pattern. VISUAL PROGRAMMING: A programming language that uses a visual representation such as graphics, drawings, animation or icons, partially or completely. A visual language manipulates visual information or supports visual interaction, or allows programming with visual expressions 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. A VPL allows programming with visual expressions, spatial arrangements of text and graphic symbols used either as elements of syntax or secondary notation. MICROSOFT VISUAL STUDIO 2010: 3 This Notes Are Compiled By : Yasir Ahmed Khan | Email: yasirahmedkhan@ymail.com | 03337015014