Skill Area 336 Explain Essential Programming Concept. Programming Language 2 (PL2)

Similar documents
Microsoft Visual Basic 2005: Reloaded

CIS 3260 Intro. to Programming with C#

Using Visual Basic Studio 2008

Skill Area 336 Explain Essential Programming Concept. Programming Language 2 (PL2)

Introduction to the Visual Studio 2005

A NET Refresher

Chapter 1. Introduction to Programming and Visual Basic Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of

INTRODUCTION TO VISUAL BASIC 2010

10/9/2012. Sample C# program:

Lab 4: Introduction to Programming

Program Contents: DOTNET TRAINING IN CHENNAI

VB.NET. Exercise 1: Creating Your First Application in Visual Basic.NET

2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET

2. A GUI A. uses buttons, menus, and icons B. should be easy for a user to manipulate C. both (a) and (b) D. stands for Graphic Use Interaction

Visual Basic 2008 The programming part

SKILL AREA 304: Review Programming Language Concept. Computer Programming (YPG)

EEE-425 Programming Languages (2013) 1

Getting started 7. Setting properties 23

Introduction to.net Framework Week 1. Tahir Nawaz

Discovering Computers 2008

Discovering Computers Chapter 13 Programming Languages and Program Development

Analysis of the Benchmark while Extracting Data from Database or XML File for Different Platforms

Welcome Application. Introducing the Visual Studio.NET IDE. Objectives. Outline

Dive Into Visual C# 2008 Express

Unit 1: Visual Basic.NET and the.net Framework

Chapter 1: A First Program Using C#

Introduction to.net Framework

Event-based Programming

Visual Basic Scripting

Introduction to Microsoft.NET Framework Programming using VS 2005 (C#)

Creating and Running Your First C# Program

EEE-425 Programming Languages (2013) 1

2310C VB - Developing Web Applications Using Microsoft Visual Studio 2008 Course Number: 2310C Course Length: 5 Days

IT 374 C# and Applications/ IT695 C# Data Structures

CST272 Getting Started Page 1

1. What is the definition of a problem? 2. How to solve problems? 3. What is meant by Algorithm? 4. What is a Program testing? 5. What is Flowchart?

Windows Presentation Foundation Visual Studio.NET 2008

Fundamental C# Programming

Introduction to Programming Microsoft.NET Applications with Visual Studio 2008 (C#)

Getting started 7. Setting properties 23

Introduction to.net Framework and Visual Studio 2013 IDE MIT 31043, Rapid Application Development By: S. Sabraz Nawaz

Visual Basic Primer A. A. Cousins

Visual Basic.NET Programming Introduction to Visual Basic.NET. (Part I of IV)

M Introduction to Visual Basic.NET Programming with Microsoft.NET 5 Day Course

CST272 Getting Started Page 1

An Overview of Visual Basic.NET: A History and a Demonstration

Migrate Your Skills to Microsoft.NET Framework 2.0 and 3.0 using Visual Studio 2005 (C#)

with TestComplete 12 Desktop, Web, and Mobile Testing Tutorials

DOWNLOAD OR READ : VISUAL BASIC 6 CERTIFICATION EXAM GUIDE PDF EBOOK EPUB MOBI

Introduction to.net Framework and Visual Studio 2013 IDE MIT 31043, Visual Programming By: S. Sabraz Nawaz

This page intentionally left blank

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.)

Game keystrokes or Calculates how fast and moves a cartoon Joystick movements how far to move a cartoon figure on screen figure on screen

General Concepts. Abstraction Computational Paradigms Implementation Application Domains Influence on Success Influences on Design

Automatic code generation with Roundtrip Engineering

UNIT 1. Introduction to Microsoft.NET framework and Basics of VB.Net

10262A VB: Developing Windows Applications with Microsoft Visual Studio 2010

Solution overview VISUAL COBOL BUSINESS CHALLENGE SOLUTION OVERVIEW BUSINESS BENEFIT

Building non-windows applications (programs that only output to the command line and contain no GUI components).

CT862 Section 1 Introduction

Visual Studio.NET for AutoCAD Programmers

Developing Microsoft.NET Applications for Windows (Visual Basic.NET)

Introduction to Programming

Getting Started Guide

Programming in C# (20483)

Experiment 5 : Creating a Windows application to interface with 7-Segment LED display

Introduction. Programming and

Oracle Service Cloud Integration for Developers Ed 1

I101/B100 Problem Solving with Computers

ASP.NET Web Forms Programming Using Visual Basic.NET

To get started with Visual Basic 2005, I recommend that you jump right in


Vb Net Tutorial For Beginners Visual Studio 2010 Express Windows Service Template

MARKING GUIDELINE NATIONAL CERTIFICATE (VOCATIONAL) NOVEMBER INTRODUCTION TO SYSTEMS DEVELOPMENT First Paper (Theory) NQF LEVEL 2

LESSON B. The Toolbox Window

Basic Computer Programming for ISNE. Santi Phithakkitnukoon ผศ.ดร.ส นต พ ท กษ ก จน ก ร

Department of Computer Applications

Overview. Rationale Division of labour between script and C++ Choice of language(s) Interfacing to C++ Performance, memory

Introduction to Programming Microsoft.NET Framework Applications with Microsoft Visual Studio 2005 (C#)

Programming in Visual Basic with Microsoft Visual Studio 2010

Visual Studio.NET enables quick, drag-and-drop construction of form-based applications

Programming in C# Course: Course Details ABOUT THIS COURSE AUDIENCE PROFILE. Síguenos en:

Overview. Rationale Division of labour between script and C++ Choice of language(s) Interfacing to C++

Windows 8. Rainer Stropek. System Architecture. System Architecture re of Windows Store Apps. Saves the day. software architects gmbh

PROGRAMMING IN VISUAL BASIC WITH MICROSOFT VISUAL STUDIO Course: 10550A; Duration: 5 Days; Instructor-led

PROGRAMMING LANGUAGE 2 (SPM3112) NOOR AZEAN ATAN MULTIMEDIA EDUCATIONAL DEPARTMENT UNIVERSITI TEKNOLOGI MALAYSIA

LECTURE 3 ADMINISTRATION SECTION -A

Lecture 01 & 02 Computer Programming

Windows Presentation Foundation Programming Using C#

Unit-1. Components of.net Framework. 1. Introduction to.net Framework

Essentials of Developing Windows Store Apps Using HTML5 and JavaScript

Technology in Action. Chapter Topics. Scope creep occurs when: 3/20/2013. Information Systems include all EXCEPT the following:

About this tutorial. The Lianja App Development process

M Introduction to C# Programming with Microsoft.NET - 5 Day Course

Departme and. Computer. CS Intro to. Science with. Objectives: The main. for a problem. of Programming. Syntax Set of rules Similar to.

B.V Patel Institute of BMC & IT, UTU

HTML5 and CSS3 for Web Designers & Developers

Oracle Service Cloud Integration for Developers Ed 1

Limnor Studio User s Guide

Windows Presentation Foundation (WPF)

Transcription:

Skill Area 336 Explain Essential Programming Concept Programming Language 2 (PL2)

336.1-Examine Basic Language Environment 336.1.1 Describe the basic operating environment of the language 336.1.2 Define basic terminology of language 336.1.3 List program development cycle of the language

INTRODUCTION Course objective learn to design and develop Windows-based business applications using Visual Basic programs that meet commercial programming standards. Program design and coding is satisfactory. Work is equivalent to that expected from someone already working in the information technology field as a professional programmer. Grade you according to commercial standards. VB supports programming projects that run in both: Microsoft Windows and, Web (Internet) environments. This course focuses on the Windows operating system(s).

Commercial GUI Design/Development Approach Modern programs run in a graphical user interface (GUI) environment. You can open up any desktop program or web browser and examine the GUI. This interface includes: Buttons (some with Icons and Graphical Images) and Menus on which you point and click. TextBox controls in which you type information. Graphical images to guide a system user in using the program. Other components. A GUI for a version of Microsoft Word is shown in the next slides.

Programming Languages Programming languages: used to communicate with the computer Object-oriented programming language: a language that allows the programmer to use objects to accomplish a program s goal Object: anything that can be seen, touched, or used Every object is created from a class Class: a pattern or blueprint used to create an object Visual Basic is available as a stand-alone product (Express Edition) or as part of Visual Studio 2008

Common Programming Languages Visual Basic Python JavaScript Java C# C C++ PHP Visual Basic is not just a programming language It s a programming environment with tools to: Create screen elements Write programming language statements

Programming Languages Microsoft's Visual Studio (also called Visual Studio.NET) includes several different programming languages: Visual Basic, Visual C#, Visual C++, Visual F#, JScript and Web Development (called ASP.NET). It also includes the.net 4 Framework upon which these languages operate.

Programming Languages All of these languages compile. This means they are translated from human readable-form to machine readable-form to the same Microsoft Intermediate Language (MSIL). MSIL run within the Common Language Runtime (CLR) a component of the.net Framework.

Visual Studio Components When Visual Studio is installed on a computer, there are two mandatory components to the installation and an optional third component..net Framework Class Library. This is a library of predefined class objects. It enables you to quickly build a computer application through the use of predefined objects such as forms, text boxes, labels, buttons, drop-down list controls, and others (mandatory). Common Language Runtime (CLR). This component manages the execution of a programming project written in any of the languages that are included within Visual Studio including Visual Basic as a language (mandatory). This component is installed as part of the.net Framework. MSDN (Help). This is the help component and provides access to a help reference library. This is covered in detail at the end of this set of notes. It is an optional, but highly recommended component.

Object-Oriented Programming Terminology VB is an object-oriented programming language. Means you work with objects in building an application. Examples: Form objects, Button objects, TextBox objects, Label objects, ListBox objects, PictureBox objects, and more.

Object-Oriented Programming Terminology VB is also termed an event-driven programming language because you will write program code that responds to events that are controlled by the system user. Example events include: Clicking a button or menu. Opening or Closing a form. Moving the mouse over the top of an object such as a text box. Moving from one text box to another.

In order to work with VB, you need to understand "object" terminology as defined in Table 1. Terminology Object Property Method Table 1 Definition A thing like a noun in English. Examples include forms and controls you place on forms such as buttons, text boxes, and icons. Objects have properties like adjectives in English. Properties describe object behaviors. Examples of properties include Text, Name,BackColor, Font, and Size. Refer to a property by the notation ObjectName.PropertyName (use the.dot notation) example: TotalDueTextBox.Text oraccountlabel.forecolor. Like a verb in English these are the actions that objects exhibit. Examples include methods to Show and Hide forms and methods to Printand Close forms. Refer to a method with the notation ObjectName.MethodName example Me.Close will close the current form.

Continue Table 1 Terminology Event Class Table 1 Definition Events are actions usually triggered by the system user such as clicking a button; however, events can also be triggered by the actions of objects. For example, closing a form can trigger an event. This is a really abstract term it is a sort of template for an object. For example, all forms belong to the Form class of object. All buttons belong to the Button class of object. Classes include definitions for object properties, methods, and associated events. Each class is assigned an identifying namespace within the.net Framework Class Library. Each new object you create is defined based on its class the new object is called a class instance.

Program Development Cycle Modern software developers base many of their techniques on traditional approaches to mathematical problem solving. One such approach is based on the how engineers solve problems.

Program Development Cycle a) Design a program b) Code the program Design c) Test the program Debug Code d) Debug the program Test

Program Development Cycle Design There are many ways to design a program. Some software designers use flowcharts. Others use pseudo code. Some designers use a combination of the two. Some object-oriented program designers use other techniques that are especially suited to objectoriented design.

Program Development Cycle Once you have designed your program (down to the appropriate level of detail), you can begin coding it. Code Once you finish coding it, you can test it.

Program Development Cycle The purpose of testing a program is to confirm that the behaviour of the program meets the expectations, and if it doesn't, to prepare you to explain how and why it fails to meet those expectations. Test

Program Development Cycle Therefore, it will behove you to work at managing the expectation back at the first stage of the entire process. Different programs, written in different programming languages and environments can be, and often must be tested in many different ways. Test

Program Development Cycle The next step is commonly referred to as debugging. Debug Debugging is the process of finding and correcting those programming errors or circumstances that prevent the program from performing correctly and can be very difficult.