ProgrammingLanguages Programming Languages Event-Driven Visual Programming Languages This lecture discusses the basic concepts of the event-driven programming.

Slides:



Advertisements
Similar presentations
An Introduction to Programming General Concepts. What is a program? A program is an algorithm expressed in a programming language. programming language.
Advertisements

An Introduction to Visual Basic Terms & Concepts.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Software Development Languages and Environments. Programming languages High level languages are problem orientated contain many English words are easier.
AA high level programming language. IIt is created by Microsoft. UUses a graphical environment called the Integrated Development Environment (IDE).
CS0004: Introduction to Programming Introduction to Programming.
A graphical user interface (GUI) is a pictorial interface to a program. A good GUI can make programs easier to use by providing them with a consistent.
Programming Creating programs that run on your PC
Visual Basic Project 1 IDS 306 Spring 1999 V. Murphy.
Slide 1 ICS 012 Visual Programming I Ahmed Esmat Second.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Course: Introduction to Computers
By: Md Rezaul Huda Reza Lecturer:  Md Rezaul Huda Reza Former Lecturer of  Bexley College under University.
Describe the application and limits of procedural, object orientated and event driven programming. 
Programming Paradigms Imperative programming Functional programming Logic programming Event-driven programming Object-oriented programming A programming.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Lesson 4 Computer Software
CS130 Introduction to Programming with VB 6.0 Fall 2001.
Object Oriented Programming CEN 221. Course Description Classes, objects, inheritance, polymorphism, graphical user interfaces, event handling, exception.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
High thoughts must have high language. Aristophanes
 2002 Prentice Hall. All rights reserved. 1 Introduction to Visual Basic.NET,.NET Framework and Visual Studio.NET Outline 1.7Introduction to Visual Basic.NET.
Microsoft Visual Basic 2005: Reloaded Second Edition
ProgrammingLanguages Programming Languages Computational Paradigms.
Visual Basic Advanced Programming.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
An Introduction to Visual Basic
Computer Programming 12 Mr. Jean March 19 th, 2013.
Programming language A programming language is an artificial language designed to communicate instructions to a machine,languageinstructionsmachine particularly.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
Integrated Development Environment (IDE)
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Programming in C#. I. Introduction C# (or C-Sharp) is a programming language. C# is used to write software that runs on the.NET Framework. Although C#
Visual C++ Programming: Concepts and Projects
C H A P T E R T E N Event-Driven Programming Programming Languages – Principles and Paradigms by Allen Tucker, Robert Noonan.
Introduction to Windows Programming
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Lection №5 Modern integrated development environment.
Chapter 11 An Introduction to Visual Basic 2005 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
CC111 Lec7 : Visual Basic 1 Visual Basic(1) Lecture 7.
Microsoft Visual Studio 2010 Teacher: Ms. Olifer.
1 CSC 222: Object-Oriented Programming Spring 2012 netBeans & GUIBuilder  netBeans IDE create/edit/run a project  GUIBuilder JFrame, JButton, JTextField,
Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Twelfth Edition.
CITA 342 Section 2 Visual Programming. Allows the use of visual expressions (such as graphics, drawings, or animation) in the process of programming.
Task 1-Language Choice By Joshua Wild.
Windows Programming, C.-S. Shieh, KUAS EC, Chapter 0 Overview.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
INFORMATION SYSTEM – SOFTWARE TOPIC: GRAPHICAL USER INTERFACE.
Slide 1 Chapter 1 Desktop Computer © 2012 EMC Publishing, LLC.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
12-Jun-16 Event loops. 2 Programming in prehistoric times Earliest programs were all “batch” processing There was no interaction with the user Input Output.
Lesson 2: First Java Programs. 2.1 Why Java? Java is one of the most popular programming languages in the world. Java is a modern object-oriented programming.
PROGRAMMING (1) LECTURE # 1 Programming and Languages: Telling the Computer What to Do.
Text by: Lambert and Osborne
An Introduction to Programming
1. Introduction to Visual Basic
Introduction to Operating System (OS)
An Introduction to Visual Basic
Software engineering USER INTERFACE DESIGN.
Assembler, Compiler, Interpreter
Software.
Assembler, Compiler, Interpreter
Introduction to Visual Basic and Object Oriented Programming
An Introduction to Programming
Event loops.
February 16th, 2004 Class Meeting 5
Presentation transcript:

ProgrammingLanguages Programming Languages

Event-Driven Visual Programming Languages This lecture discusses the basic concepts of the event-driven programming model. Event-driven program performs event-handling function for users, and every application will consist of controls, which represent visual graphic user interfaces, database, and other system resources.

All the paradigms which include imperative, object- oriented, functional, and logic programming – are based on a fundamental model of computation in which the program design predetermines what will occur when the program is run.All the paradigms which include imperative, object- oriented, functional, and logic programming – are based on a fundamental model of computation in which the program design predetermines what will occur when the program is run. Event-Driven Programming Event-driven programs do not predict the control sequence that will occur;Event-driven programs do not predict the control sequence that will occur; They are written to run reasonably to any particular sequence of events that may occur once execution beginsThey are written to run reasonably to any particular sequence of events that may occur once execution begins

In this model, the input data govern the particular sequence of control that is actually carried out by the program.In this model, the input data govern the particular sequence of control that is actually carried out by the program. Event-Driven Programming (2) The most widespread example of an event-driven program is the GUI mouse- and, windows-driven user interface found on most desktop and laptop computers in use today, including web-based applications.The most widespread example of an event-driven program is the GUI mouse- and, windows-driven user interface found on most desktop and laptop computers in use today, including web-based applications. Moreover, execution of an event-driven program does not typically terminate; such a program is designed to run for an arbitrary period of time, often indefinitely.Moreover, execution of an event-driven program does not typically terminate; such a program is designed to run for an arbitrary period of time, often indefinitely.

This is accomplished by VB’s Integrated Development Environment (IDE), in which a mouse is used to "draw" application and use the keyboard to input the code that is to be executed.This is accomplished by VB’s Integrated Development Environment (IDE), in which a mouse is used to "draw" application and use the keyboard to input the code that is to be executed. The Visual Basic VB provides massive support for easily creating the user interface to Windows applications.VB provides massive support for easily creating the user interface to Windows applications. VB introduced was the concept of an event-driven programming model.VB introduced was the concept of an event-driven programming model. VB performs event-handling function, the only time code will execute in VB is in response to an event!VB performs event-handling function, the only time code will execute in VB is in response to an event!

The availability of controls (built-in, or controls you can purchase) is the single biggest reason why VB has reached the level of popularity that it currently enjoys.The availability of controls (built-in, or controls you can purchase) is the single biggest reason why VB has reached the level of popularity that it currently enjoys. Visual Controls Every Visual Basic application will consist of controls, which represent reusable graphic user interfaces, database, and other system resources.Every Visual Basic application will consist of controls, which represent reusable graphic user interfaces, database, and other system resources. The VB's visual capability are embeded in these controls, which include the intrinsic controls and additional ActiveX controls.The VB's visual capability are embeded in these controls, which include the intrinsic controls and additional ActiveX controls.

Visual C++: It is virtually identical with Visual Basic in terms of the ease of creating Windows programs.Visual C++: It is virtually identical with Visual Basic in terms of the ease of creating Windows programs. Other Visual Programming Languages Delphi: Based on Pascal programming language, designed to be compatible with the controls that support Visual Basic.Delphi: Based on Pascal programming language, designed to be compatible with the controls that support Visual Basic. The single best feature of Delphi is that it creates completely stand-alone EXE files - unlike Visual Basic which requires the distribution of a huge number of supporting files for even the smallest of applications.The single best feature of Delphi is that it creates completely stand-alone EXE files - unlike Visual Basic which requires the distribution of a huge number of supporting files for even the smallest of applications.