Visual programming using c#

  • 810 views
Uploaded on

Visual programming using c# by: Yasir Ahmed Khan

Visual programming using c# by: Yasir Ahmed Khan

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
810
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
10
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 2012 Visual Programming Using C Sharp.NetLANGUAGE: 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 ofcommunication, or to a specific instance of such a system of complex communication.ORCommunication of thoughts and feelings through a system of arbitrary signals, such as voice sounds, gestures,or written symbols.ORA system of objects or symbols, such as sounds or character sequences, that can be combined in various waysfollowing 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 aspecified task with a computer.ORAn organized list of instructions that, when executed, causes the computer to behave in a predeterminedmanner. Without programs, computers are useless.ORSet of ordered instructions that enable a computer to carry out a specific task. A program is prepared by firstformulating 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 areconsidered to be correctly structured programs in that language.ORRefers to the spelling and grammar of a programming language. Computers are inflexible machines thatunderstand what you type only if you type it in the exact form that the computer expects. The expected formis called the syntax.COMPUTER LANGUAGE / PROGRAMMING LANGUAGE:The term computer language includes a wide variety of languages used to communicate with computers. It isbroader than the more commonly-used term programming language. Programming languages are a subset ofcomputer languages. For example, HTML is a markup language and a computer language, but it is nottraditionally considered a programming language. Machine code is a computer language. It can technically beused for programming, and has been (e.g. the original bootstrapped for Altair BASIC), though most would notconsider it a programming language.ORA 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 ProgrammingNON-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-orientedprogramming, both of them considered as structured programming.Unstructured programming has been heavily criticized for producing hardly-readable ("spaghetti") code and issometimes considered a bad approach for creating major projects, but had been praised for the freedom itoffers 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. Theseinclude 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 andsome scripting languages such as MS-DOS batch file language.STRUCTURED PROGRAMMING:Structured programming is a programming paradigm aimed on improving the clarity, quality, anddevelopment time of a computer program by making extensive use of subroutines, block structures and forand 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 andAda.OBJECT ORIENTED PROGRAMMING:A type of programming in which programmers define not only the data type of a data structure, but also thetypes of operations (functions) that can be applied to the data structure. In this way, the data structurebecomes an object that includes both data and functions. In addition, programmers can create relationshipsbetween 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 Microsofts .NET platform, and Java, developed by Sun Microsystems. Bothframeworks 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 subclassclasses defined in the other language. Developers usually compile Java to bytecode, allowing Java to run onany operating system for which a Java virtual machine is available. VB.NET and C# make use of the Strategypattern 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 withvisual expressionsA visual programming language (VPL) is any programming language that lets users create programs bymanipulating program elements graphically rather than by specifying them textually. A VPL allowsprogramming with visual expressions, spatial arrangements of text and graphic symbols used either aselements of syntax or secondary notation.MICROSOFT VISUAL STUDIO 2010: 3 This Notes Are Compiled By : Yasir Ahmed Khan | Email: yasirahmedkhan@ymail.com | 03337015014