System Analysis and Design

Size: px
Start display at page:

Download "System Analysis and Design"

Transcription

1 System Analysis and Design LAB RECORD-INFS -280/L Information Systems Department University of Nizwa, Sultanate of Oman

2 Table of Contents Task. No: Title Page Nos. Date 1) VB Text box and Message Button 3-6 2) VB Application to accept two numbers and to perform Simple Math-Arithmetic operations 3) 4) 5) 6) 7) 8) 9) 10) 11) LAB RECORD SAD-INFS-280/L Page 1

3 TASK- 1 VB Text box and Message Button Date: Objective: This VB program will ask the user to enter his/her name in the text box and gives the welcome message. Code: Public Class Welcome Private Sub Btnwelcome_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btnwelcome.Click MsgBox("Welcome to University of Nizwa " & urname.text) Output: LAB RECORD SAD-INFS-280/L Page 2

4 Date: Task2: VB Application to accept two numbers and to perform Simple Math-Arithmetic operations Objective: VB Application to accept two numbers and to perform Simple Math-Arithmetic operations such as Addition, Subtraction, Multiplication and Division. Code: Public Class MathCalculator Private Sub cmdsum_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdsum.click Dim number1, number2, sum, difference, product, quotient As Single number1 = num1.text number2 = num2.text sum = number1 + number2 MsgBox("The Sum of the two given numbers is=> " & sum) Private Sub cmdexit_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdexit.click MsgBox("Thank you, Do you want to exit?", MsgBoxStyle.OkOnly) Me.Close() Private Sub cmddifference_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmddifference.click Dim number1, number2, sum, difference, product, quotient As Single number1 = num1.text number2 = num2.text difference = number1 - number2 MsgBox("The Difference of the two given numbers is=> " & difference) Private Sub cmdproduct_click(byval sender As System.Object, ByV`al e As System.EventArgs) Handles cmdproduct.click Dim number1, number2, sum, difference, product, quotient As Single number1 = num1.text number2 = num2.text product = number1 * number2 MsgBox("The Product of the two given numbers is=> " & product) Private Sub cmdquotient_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdquotient.click Dim number1, number2, sum, difference, product, quotient As Single number1 = num1.text number2 = num2.text quotient = number1 / number2 MsgBox("The Quotient of the two given numbers is=> " & quotient) LAB RECORD SAD-INFS-280/L Page 3

5 Output: LAB RECORD SAD-INFS-280/L Page 4

6 Date: Task3: VB Application to accept the marks and to calculate the Total, Percentage and Grade using Select..Case Control Structure LAB RECORD SAD-INFS-280/L Page 5

7 TASK- 4 VB Colour Play and Font Style Date: Objective: This VB program will ask the user to enter any text into a text box and format the font using the three checkboxes that represent bold, italic and underline and also to change the form Back colour using he Radio Buttons(Red/Green/Blue) chkbold txtformat chkitalics cmdformat chkunderline radred cmdcolour radgreen radblue Code Public Class VBColourPlay Private Sub cmdformat_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdformat.click If ChkBold.Checked Then txtformat.font = New Font(txtformat.Font, txtformat.font.style Or FontStyle.Bold) Else txtformat.font = New Font(txtformat.Font, txtformat.font.style And Not FontStyle.Bold) End If If ChkItalics.Checked Then txtformat.font = New Font(txtformat.Font, txtformat.font.style Or FontStyle.Italic) Else txtformat.font = New Font(txtformat.Font, txtformat.font.style And Not FontStyle.Italic) LAB RECORD SAD-INFS-280/L Page 6

8 End If If ChkUnderline.Checked Then txtformat.font = New Font(txtformat.Font, txtformat.font.style Or FontStyle.Underline) Else txtformat.font = New Font(txtformat.Font, txtformat.font.style And Not FontStyle.Underline) End If Private Sub cmdcolour_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdcolour.click : If RadioRed.Checked = True Then Me.BackColor = Color.Red Exit Sub ElseIf RadioGreen.Checked = True Then Me.BackColor = Color.Green Exit Sub ElseIf RadioBlue.Checked = True Then Me.BackColor = Color.Blue End If LAB RECORD SAD-INFS-280/L Page 7

9 TASK- 5 VB BODY MASS INDEX(BMI) CALCULATOR Date: Objective: This VB program will ask the user to enter his/her height in meters (M) and weight in Kilograms (Kg) into a text box and will calculate the BMI of the person. The output will display whether he/she is underweight/over-weight/ Obese accordingly. Code: Public Class VBBMI Private Sub cmdbmi_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdbmi.click Dim height, weight, bmi As Single height = ht.text weight = wt.text bmi = (weight) / (Height ^ 2) lblbmi.text = bmi Select Case bmi Case 0 To 18.4 lblbs.text = "Under-Weight, Eat well!" Case 18.5 To 24.9 lblbs.text = "Normal-Weight, Maintain Your Diet!" Case 25 To 29.9 lblbs.text = "Over-Weight, Do Exercise Regularly!" Case Else lblbs.text = "you have Obesity, Do dieting and Exercise!" End Select Output: LAB RECORD SAD-INFS-280/L Page 8

10 TASK- 6: VB ATM Application using Multiple Forms Date: Objective: This VB program will ask the user to enter his/her Login Authentication details to enter in to the ATM control panel where user can do the Deposit /Withdrawal/Balance Enquiry/Sign-Out Operations. Code: LAB RECORD SAD-INFS-280/L Page 9

11 LAB RECORD SAD-INFS-280/L Page 10

12 Public Class WelcomeFRM Private Sub QUIT_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles QUIT.Click End Private Sub Login_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Login.Click Me.Hide() LoginFrm.Show() Private Sub WelcomeFRM_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.TopMost = True Public Class LoginFrm Private Sub exitbtn_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles exitbtn.click Close() Private Sub Signin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Signin.Click If TextBox1.Text = "777" Then Me.Hide() ATMCPL.Show() Else MsgBox("Wrong pin number entered, TRY Again!!!") TextBox1.Text = "" TextBox1.Focus() End If Private Sub LoginFrm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.TopMost = True LAB RECORD SAD-INFS-280/L Page 11

13 Public Class ATMCPL Private Sub Deposit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Deposit.Click Depositfrm.Show() Me.Hide() Private Sub Balance_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Balance.Click Me.Close() Balancefrm.Show() Private Sub Withdraw_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Withdraw.Click Withdrawfrm.Show() Me.Hide() Private Sub signout_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles signout.click MsgBox("Thank you for using the BANK Birkat-Al -Mouz ATM Service, GOOD DAY!!") Me.Hide() WelcomeFRM.Show() Private Sub ATMCPL_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.TopMost = True Public Class Depositfrm Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Static Bal As Double = 0 Balance.Text = Balancefrm.NewBalance.Text MsgBox("you are about to deposit!!, are you sure?") Bal = Bal + TextBox1.Text Balance.Text = Bal Balancefrm.NewBalance.Text = Bal TextBox1.Text = "" Private Sub Cancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cancel.Click LAB RECORD SAD-INFS-280/L Page 12

14 MsgBox("You are cancelling the deposit Operation and Go to ATM Main Menu?") ATMCPL.Show() Me.Hide() Private Sub Depositfrm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.TopMost = True Public Class Withdrawfrm Private Sub CancelW_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CancelW.Click MsgBox("You are cancelling the withdraw Operation and Go to ATM Main Menu?") ATMCPL.Show() Me.Hide() Private Sub Withdrawfrm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.TopMost = True Balance.Text = Balancefrm.NewBalance.Text Private Sub OKWD_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OKWD.Click Dim AvailBal As Double If TextBox1.Text <= Val(Balancefrm.NewBalance.Text) Then MsgBox("you are about to withdraw the above amount from your account!!, are you sure to proceed?") AvailBal = Val(Balancefrm.NewBalance.Text) - Val(TextBox1.Text) Balancefrm.NewBalance.Text = AvailBal Balance.Text = AvailBal TextBox1.Text = "" Else MsgBox("Sorry!,You have Insufficient Balance to proceed this Transaction!!, Please deposit some money") ATMCPL.Show() Me.Hide() End If Public Class Balancefrm Private Sub bkmenu_click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OKW.Click MsgBox("You are about to Proceed to ATM Main Menu?") LAB RECORD SAD-INFS-280/L Page 13

15 ATMCPL.Show() Me.Hide() Private Sub Balancefrm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.TopMost = True LAB RECORD SAD-INFS-280/L Page 14

16 TASK- 7: VB Web Browser Application Date: Objective: This VB Program will be developing a Personal Web Browser through which we can surf the desired Websites. Code: Public Class MyWebBrowser Private Sub Go_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Go.Click WebBrowser.Navigate(URLBox.Text) Private Sub MyWebBrowser_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.TopMost = True LAB RECORD SAD-INFS-280/L Page 15

17 TASK- 8: VB File Operation Date: Objective: This VB Program will be developing a Text File Reader Utility Open, Read and display the Contents of a Simple Text File. Code Imports System.IO Public Class Form1 Private Sub Openread_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Openread.Click Dim FileReader As StreamReader Dim results As DialogResult results = OpenFileDialog.ShowDialog If results = DialogResult.OK Then FileReader = New StreamReader(OpenFileDialog.FileName) End If destination.text = FileReader.ReadToEnd() FileReader.Close() Private Sub Closebtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Closebtn.Click MsgBox("Do you wanna Close File Reader") End LAB RECORD SAD-INFS-280/L Page 16

18 OUTPUT LAB RECORD SAD-INFS-280/L Page 17

19 TASK- 9: VB Graphics Application Date: Objective: This VB Program is to create a Graphics application which will generate some geometrical shapes such as Rectangle, Circle, and Ellipse. Code Public Class GraphicsFRM Private Sub GraphicsFRM_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.TopMost = True Private Sub Rectangle_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Rectangle.Click Dim mypen As Pen mypen = New Pen(Drawing.Color.Red, 5) Dim mygraphics As Graphics = Me.CreateGraphics mypen.dashstyle = Drawing.Drawing2D.DashStyle.Dot mygraphics.drawrectangle(mypen, 10, 100, 100, 50) Private Sub Ellipse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Ellipse.Click Dim mypen As Pen mypen = New Pen(Drawing.Color.Blue, 5) Dim mygraphics As Graphics = Me.CreateGraphics mygraphics.drawellipse(mypen, 150, 100, 200, 100) LAB RECORD SAD-INFS-280/L Page 18

20 Private Sub Circle_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Circle.Click Dim mypen As Pen OutPut mypen = New Pen(Drawing.Color.aqua, 7) Dim mygraphics As Graphics = Me.CreateGraphics mygraphics.drawellipse(mypen, 400, 100, 100, 100) LAB RECORD SAD-INFS-280/L Page 19

21 TASK- 10: VB File Write Operation Date: Objective: This VB Program will be developing a Text File Writer Utility which can edit and save the Contents in to a Simple Text File. Code Imports System.IO Public Class writerfrm Private Sub Closebtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Closebtn.Click MsgBox("Do you wanna Close File Reader") End Private Sub writerfrm_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.TopMost = True Private Sub savefile_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles savefile.click Dim FileWriter As StreamWriter Dim results As DialogResult results = SaveFileDialog1.ShowDialog If results = DialogResult.OK Then FileWriter = New StreamWriter(SaveFileDialog1.FileName, False) End If FileWriter.Write(destination.Text) FileWriter.Close() LAB RECORD SAD-INFS-280/L Page 20

22 LAB RECORD SAD-INFS-280/L Page 21

Revision for Final Examination (Second Semester) Grade 9

Revision for Final Examination (Second Semester) Grade 9 Revision for Final Examination (Second Semester) Grade 9 Name: Date: Part 1: Answer the questions given below based on your knowledge about Visual Basic 2008: Question 1 What is the benefit of using Visual

More information

Mr.Khaled Anwar ( )

Mr.Khaled Anwar ( ) The Rnd() function generates random numbers. Every time Rnd() is executed, it returns a different random fraction (greater than or equal to 0 and less than 1). If you end execution and run the program

More information

A Complete Tutorial for Beginners LIEW VOON KIONG

A Complete Tutorial for Beginners LIEW VOON KIONG I A Complete Tutorial for Beginners LIEW VOON KIONG Disclaimer II Visual Basic 2008 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been

More information

DO NOT COPY AMIT PHOTOSTUDIO

DO NOT COPY AMIT PHOTOSTUDIO AMIT PHOTOSTUDIO These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA) All rights

More information

CALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration. MIS 15 Introduction to Business Programming. Programming Assignment 3 (P3)

CALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration. MIS 15 Introduction to Business Programming. Programming Assignment 3 (P3) CALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration MIS 15 Introduction to Business Programming Programming Assignment 3 (P3) Points: 50 Due Date: Tuesday, May 10 The purpose of

More information

C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions

C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions Between the comments included with the code and the code itself, you shouldn t have any problems understanding what

More information

Code: Write a Program for perform Money Conversion. Public Class Form1

Code: Write a Program for perform Money Conversion. Public Class Form1 Write a Program for perform Money Conversion. Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim a As Double a = TextBox1.Text

More information

S.2 Computer Literacy Question-Answer Book

S.2 Computer Literacy Question-Answer Book S.2 C.L. Half-yearly Examination (2012-13) 1 12-13 S.2 C.L. Question- Answer Book Hong Kong Taoist Association Tang Hin Memorial Secondary School 2012-2013 Half-yearly Examination S.2 Computer Literacy

More information

ATM Use Cases. ID: CIS Title: Check Balance Description: Customer aims to know the balance in his/her account

ATM Use Cases. ID: CIS Title: Check Balance Description: Customer aims to know the balance in his/her account ID: CIS375-01 Title: Login Description: Customer logs into the system by inserting the card and entering pin code. Preconditions: Customer has a bank account and an ATM Card. Postconditions: Customer logged

More information

Member Management System

Member Management System Member Management System These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA)

More information

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Polymorphism Objectives After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Definition Polymorphism provides the ability

More information

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result.

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Simple Calculator In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Let s get started First create a new Visual Basic

More information

Else. End If End Sub End Class. PDF created with pdffactory trial version

Else. End If End Sub End Class. PDF created with pdffactory trial version Dim a, b, r, m As Single Randomize() a = Fix(Rnd() * 13) b = Fix(Rnd() * 13) Label1.Text = a Label3.Text = b TextBox1.Clear() TextBox1.Focus() Private Sub Button2_Click(ByVal sender As System.Object, ByVal

More information

Visual Basic: Opdracht Structuur

Visual Basic: Opdracht Structuur Visual Basic: Opdracht Structuur HoofdMenu.vb SubMenu_Kwadraat.vb Form1.vb Form2.vb Submenu_Som.vb Form3.vb Form4.vb SubMenu_Gem.vb Form5.vb Form6.vb Form10.vb SubMenu_Naam.vb Form7.vb Form11.vb Form8.vb

More information

Code: Week 13. Write a Program to perform Money Conversion. Public Class Form1

Code: Week 13. Write a Program to perform Money Conversion. Public Class Form1 Write a Program to perform Money Conversion. Week 13 Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Dim a As Double a = TextBox1.Text If ComboBox1.SelectedItem

More information

DRAWING AND MOVING IMAGES

DRAWING AND MOVING IMAGES DRAWING AND MOVING IMAGES Moving images and shapes in a Visual Basic application simply requires the user of a Timer that changes the x- and y-positions every time the Timer ticks. In our first example,

More information

Disclaimer. Trademarks. Liability

Disclaimer. Trademarks. Liability Disclaimer II Visual Basic 2010 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been authorized, sponsored, or otherwise approved by Microsoft

More information

PROGRAMMING ASSIGNMENT: MOVIE QUIZ

PROGRAMMING ASSIGNMENT: MOVIE QUIZ PROGRAMMING ASSIGNMENT: MOVIE QUIZ For this assignment you will be responsible for creating a Movie Quiz application that tests the user s of movies. Your program will require two arrays: one that stores

More information

OVERLOADING METHODS AND CONSTRUCTORS: The Ball Class

OVERLOADING METHODS AND CONSTRUCTORS: The Ball Class OVERLOADING METHODS AND CONSTRUCTORS: The Ball Class Create a Ball Demo program that uses a Ball class. Use the following UML diagram to create the Ball class: Ball - ballcolor: Color - ballwidth, ballheight:

More information

1. Create your First VB.Net Program Hello World

1. Create your First VB.Net Program Hello World 1. Create your First VB.Net Program Hello World 1. Open Microsoft Visual Studio and start a new project by select File New Project. 2. Select Windows Forms Application and name it as HelloWorld. Copyright

More information

VISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485)

VISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485) 5 Pages VISUAL BASIC PROGRAMMING (44) Technical Task KEY Regional 2013 TOTAL POINTS (485) Graders: Please double-check and verify all scores! Property of Business Professionals of America. May be reproduced

More information

Visual Programming (761220) First Exam First Semester of Date: I Time: 60 minutes

Visual Programming (761220) First Exam First Semester of Date: I Time: 60 minutes Philadelphia University Lecturer : Mrs. Eman Alnaji Coordinator : Miss. Reem AlQaqa Internal Examiner: Dr. Nameer Al Emam Faculty of Information Technology Department of CIS Examination Paper Visual Programming

More information

Programming with Microsoft Visual Basic.NET. Array. What have we learnt in last lesson? What is Array?

Programming with Microsoft Visual Basic.NET. Array. What have we learnt in last lesson? What is Array? What have we learnt in last lesson? Programming with Microsoft Visual Basic.NET Using Toolbar in Windows Form. Using Tab Control to separate information into different tab page Storage hierarchy information

More information

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS Intended Learning Objectives Able to build a simple Visual Basic Application. 2 The Sub Statement Private Sub ControlName_eventName(ByVal sender As System.Object,

More information

Disclaimer. Trademarks. Liability

Disclaimer. Trademarks. Liability Disclaimer II Visual Basic 2010 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been authorized, sponsored, or otherwise approved by Microsoft

More information

(0,0) (600, 400) CS109. PictureBox and Timer Controls

(0,0) (600, 400) CS109. PictureBox and Timer Controls CS109 PictureBox and Timer Controls Let s take a little diversion and discuss how to draw some simple graphics. Graphics are not covered in the book, so you ll have to use these notes (or the built-in

More information

โปรแกรมช วยทดสอบหม อแปลงกระแส

โปรแกรมช วยทดสอบหม อแปลงกระแส โปรแกรมช วยทดสอบหม อแปลงกระแส 1.เมน ของโปรแกรม ภาพท 1 หน าเมน ของโปรแกรม Public Class frmmain Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

More information

Introduction to. A revised course with - Concise concepts - Hands on class work. - Plenty of examples - Programming exercises

Introduction to. A revised course with - Concise concepts - Hands on class work. - Plenty of examples - Programming exercises Introduction to 1 A revised course with - Concise concepts - Hands on class work TextBox1 - Plenty of examples - Programming exercises Copyright HKTA Tang Hin Memorial Secondary School 2012 Contents Chapter

More information

Tutorial 03 understanding controls : buttons, text boxes

Tutorial 03 understanding controls : buttons, text boxes Learning VB.Net Tutorial 03 understanding controls : buttons, text boxes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple

More information

Herefordshire College of Technology Centre Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3)

Herefordshire College of Technology Centre Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3) Student: Candidate Number: Assessor: Len Shand Herefordshire College of Technology Centre 24150 Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3) Course: Unit: Title:

More information

Déclaration du module

Déclaration du module Déclaration du module Imports System.IO Module ModuleStagiaires Public Structure Stagiaire Private m_code As Long Private m_nom As String Private m_prenom As String Public Property code() As Long Get Return

More information

Lecture 10 OOP and VB.Net

Lecture 10 OOP and VB.Net Lecture 10 OOP and VB.Net Pillars of OOP Objects and Classes Encapsulation Inheritance Polymorphism Abstraction Classes A class is a template for an object. An object will have attributes and properties.

More information

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources This application demonstrates how a DataGridView control can be

More information

User Manual. <MacBank ABM> for. Contents. Prepared by. Version <2.0> Group Name: Group 304. Instructor: Dr. Kamran Sartipi Course:

User Manual. <MacBank ABM> for. Contents. Prepared by. Version <2.0> Group Name: Group 304. Instructor: Dr. Kamran Sartipi Course: User Manual for Version Prepared by Matthew Gardner Robert Lombardi Steven Li Group Name: Group 304 Instructor: Dr. Kamran Sartipi Course: SFWR ENG 3K04 Lab Section: L03 Teaching Assistant:

More information

Unit 4. Lesson 4.1. Managing Data. Data types. Introduction. Data type. Visual Basic 2008 Data types

Unit 4. Lesson 4.1. Managing Data. Data types. Introduction. Data type. Visual Basic 2008 Data types Managing Data Unit 4 Managing Data Introduction Lesson 4.1 Data types We come across many types of information and data in our daily life. For example, we need to handle data such as name, address, money,

More information

Decision Structures. Start. Do I have a test in morning? Study for test. Watch TV tonight. Stop

Decision Structures. Start. Do I have a test in morning? Study for test. Watch TV tonight. Stop Decision Structures In the programs created thus far, Visual Basic reads and processes each of the procedure instructions in turn, one after the other. This is known as sequential processing or as the

More information

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals VARIABLES WHAT IS A VARIABLE? A variable is a storage location in the computer s memory, used for holding information while the program is running. The information that is stored in a variable may change,

More information

Visual Basic 2008 The programming part

Visual Basic 2008 The programming part Visual Basic 2008 The programming part Code Computer applications are built by giving instructions to the computer. In programming, the instructions are called statements, and all of the statements that

More information

Learning VB.Net. Tutorial 19 Classes and Inheritance

Learning VB.Net. Tutorial 19 Classes and Inheritance Learning VB.Net Tutorial 19 Classes and Inheritance Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you

More information

Learning VB.Net. Tutorial 10 Collections

Learning VB.Net. Tutorial 10 Collections Learning VB.Net Tutorial 10 Collections Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it.

More information

IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants

IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants These notes are available on the IMS1906 Web site http://www.sims.monash.edu.au Tutorial Sheet 4/Week 5 Please

More information

Learning VB.Net. Tutorial 16 Modules

Learning VB.Net. Tutorial 16 Modules Learning VB.Net Tutorial 16 Modules Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If

More information

Unit 4 Advanced Features of VB.Net

Unit 4 Advanced Features of VB.Net Dialog Boxes There are many built-in dialog boxes to be used in Windows forms for various tasks like opening and saving files, printing a page, providing choices for colors, fonts, page setup, etc., to

More information

Menus, Common Dialog Controls, Context Menus, Sub Procedures, and Functions

Menus, Common Dialog Controls, Context Menus, Sub Procedures, and Functions 5-menus.htm; updated September 12, 2011 Menus, Common Dialog Controls, Context Menus, Sub Procedures, and Functions Coverage: This chapter covers several important topics: (1) use of menus and context

More information

Lab 4: Adding a Windows User-Interface

Lab 4: Adding a Windows User-Interface Lab 4: Adding a Windows User-Interface In this lab, you will cover the following topics: Creating a Form for use with Investment objects Writing event-handler code to interact with Investment objects Using

More information

Design Of Human Computer Interfaces Assignment 1- Hello World. Compliance Report

Design Of Human Computer Interfaces Assignment 1- Hello World. Compliance Report Design Of Human Computer Interfaces Assignment 1- Hello World Compliance Report Prepared for: Skip Poehlman Prepared By: K C Course: SE 4D03 Date: September 30, 2008 Contents 1. Code Listing a. Module

More information

Check out the demo video of this application so you know what you will be making in this tutorial.

Check out the demo video of this application so you know what you will be making in this tutorial. Visual Basic - System Information Viewer Welcome to our special tutorial of visual basic. In this tutorial we will use Microsoft visual studio 2010 version. You can download it for free from their website.

More information

Final Exam 7:00-10:00pm, April 14, 2008

Final Exam 7:00-10:00pm, April 14, 2008 Name:, (last) (first) Student Number: Section: Instructor: _P. Cribb_ L. Lowther_(circle) York University Faculty of Science and Engineering Department of Computer Science and Engineering Final Exam 7:00-10:00pm,

More information

Instructor s Notes Programming Logic Printing Reports. Programming Logic. Printing Custom Reports

Instructor s Notes Programming Logic Printing Reports. Programming Logic. Printing Custom Reports Instructor s Programming Logic Printing Reports Programming Logic Quick Links & Text References Printing Custom Reports Printing Overview Page 575 Linking Printing Objects No book reference Creating a

More information

2. Write a program to convert 69F into its equivalent centigrade temperature.

2. Write a program to convert 69F into its equivalent centigrade temperature. Java lab Assignment (By Mr. Sachin Patil SinceTechnologies.com, info@sincetechnologies.com) 1. Print a triangular multiplication table as shown below: 0 0 2 0 3 6 0 4 8 12 0 5 10 15 20 0 6 12 18 24 30

More information

Introduction to Excel 2007

Introduction to Excel 2007 Introduction to Excel 2007 Excel 2007 is a software program that creates a spreadsheet. It permits the user to enter data and formulas to perform mathematical and Boolean (comparison) calculations on the

More information

Adding and Subtracting Integers

Adding and Subtracting Integers Quarterly 1 Review Sheet (NOTE: This may not include everything you need to know for tomorrow about every topic. It is student created and I am just sharing it in case you find it helpful) Page 1: Adding

More information

IT3101 -Rapid Application Development Second Year- First Semester. Practical 01. Visual Basic.NET Environment.

IT3101 -Rapid Application Development Second Year- First Semester. Practical 01. Visual Basic.NET Environment. IT3101 -Rapid Application Development Second Year- First Semester Practical 01 Visual Basic.NET Environment. Main Area Menu bar Tool bar Run button Solution Explorer Toolbox Properties Window Q1) Creating

More information

Programming with visual Basic:

Programming with visual Basic: Programming with visual Basic: 1-Introdution to Visual Basics 2-Forms and Control tools. 3-Project explorer, properties and events. 4-make project, save it and its applications. 5- Files projects and exercises.

More information

Lab ACN : C++ Programming Exercises

Lab ACN : C++ Programming Exercises Lab ACN : C++ Programming Exercises ------------------------------------------------------------------------------------------------------------------- Exercise 1 Write a temperature conversion program

More information

TRAINING GUIDE FOR OPC SYSTEMS.NET. Simple steps to successful development and deployment. Step by Step Guide

TRAINING GUIDE FOR OPC SYSTEMS.NET. Simple steps to successful development and deployment. Step by Step Guide TRAINING GUIDE FOR OPC SYSTEMS.NET Simple steps to successful development and deployment. Step by Step Guide SOFTWARE DEVELOPMENT TRAINING OPC Systems.NET Training Guide Open Automation Software Evergreen,

More information

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = Label1.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = Label1. 練習問題 1-1 Label1 Label1.Text = Label1.Text + 2 練習問題 1-2 Button2 Label1 Label1.Text = Label1.Text+ 2 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

More information

I101/B100 Problem Solving with Computers

I101/B100 Problem Solving with Computers I101/B100 Problem Solving with Computers By: Dr. Hossein Hakimzadeh Computer Science and Informatics IU South Bend 1 What is Visual Basic.Net Visual Basic.Net is the latest reincarnation of Basic language.

More information

To enter the number in decimals Label 1 To show total. Text:...

To enter the number in decimals Label 1 To show total. Text:... Visual Basic tutorial - currency converter We will use visual studio to create a currency converter where we can convert a UK currency pound to other currencies. This is the interface for the application.

More information

ก Microsoft Visual Studio 2008

ก Microsoft Visual Studio 2008 ก 58 ก ก ก ก ก 58 59 ก Microsoft Visual Studio 2008 1. DVD ก MSVS2008 ก MSVS2008 ก ก MSVS2008 ก ก 180 DVD DVD ก MSVS2008 ก ก Install Visual Studio 2008 2. ก ก ก ก ก Next 3. ก ก Options Page ก Custom ก

More information

UNIT 1: PROGRAMMING ENVIRONMENT

UNIT 1: PROGRAMMING ENVIRONMENT UNIT 1: PROGRAMMING ENVIRONMENT 1.1 Introduction This unit introduces the programming environment for the Basic Digital Signal Processing course. It gives a brief description of the Visual Basic classes

More information

Techniques for Adding Value

Techniques for Adding Value C1861587x.fm Page 383 Friday, November 16, 2001 8:59 AM Part IV Techniques for Adding Value 18 Adding Value to Your Applications 385 19 Replacing ActiveX Controls with Windows Forms Controls 403 20 Moving

More information

Click E Money Laravel Application

Click E Money Laravel Application Click E Money Laravel Application Member User Manual Version 1.0 2016 Click E Money All Rights Reserved. Member Panel User guide: Authentication & Registration: Member sign-in Forgot your password Member

More information

Programming with Visual Studio Higher (v. 2013)

Programming with Visual Studio Higher (v. 2013) Programming with Visual Studio Higher (v. 2013) Contents/Requirements Checklist Multiple selection: using ifs & case While Loops Using arrays Filling arrays Displaying array contents Types of variables:

More information

Santiago Canyon College Computer Science

Santiago Canyon College Computer Science P a g e 1 Santiago Canyon College Computer Science The.Net Threading Model Introduction The purpose of this paper is to introduce you to multi-threading in Visual Studio. Learning how to take advantage

More information

"!#... )*! "!# )+, -./ 01 $

!#... )*! !# )+, -./ 01 $ Email engauday@hotmail.com! "!#... $ %&'... )*! "!# )+, -./ 01 $ ) 1+ 2#3./ 01 %.. 7# 89 ; )! 5/< 3! = ;, >! 5 6/.?

More information

ARITHMETIC EXPRESSION

ARITHMETIC EXPRESSION Section 1: Expression & Terms MATH LEVEL 2 LESSON PLAN 1 ARITHMETIC EXPRESSION 2017 Copyright Vinay Agarwala, Revised: 10/31/17 1. An arithmetic expression is made up of numbers joined by addition (+),

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara LAMPIRAN 1. Modul Imports System.Data Imports System.Data.OleDb Module Module1 Public conn As OleDbConnection Public CMD As OleDbCommand Public DS As New DataSet Public DA As OleDbDataAdapter Public RD

More information

Translating VBA into Assembly Language

Translating VBA into Assembly Language Translating VBA into Assembly Language Topics to use a computer simulator to see how instructions are stored and executed in both machine code and assembly language to translate simple programs written

More information

Third Grade Math: I Can Statements

Third Grade Math: I Can Statements Third Grade Math: I Can Statements Processes, Content Statements & Expectations (Disciplinary Knowledge) Operations and Algebraic Thinking 3.OA Represent and solve problems involving multiplication and

More information

Common Core Math Curriculum Map

Common Core Math Curriculum Map Module 1 - Math Test: 8/2/2013 Draw and identify lines and angles, and classify shapes by properties of their lines and angles. 4.G.1 4.G.2 4.G.3 Draw points, lines, line segments, rays, angles, (right,

More information

A Second Visual BASIC Application : Greetings

A Second Visual BASIC Application : Greetings The Greetings Program A Second Visual BASIC Application : Greetings The following instructions take you through the steps to create a simple application. A greeting is displayed in one of four different

More information

MapWindow Plug-in Development

MapWindow Plug-in Development MapWindow Plug-in Development Sample Project: Simple Path Analyzer Plug-in A step-by-step guide to creating a custom MapWindow Plug-in using the IPlugin interface by Allen Anselmo shade@turbonet.com Introduction

More information

User guide Handelsbanken s card reader

User guide Handelsbanken s card reader User guide Handelsbanken s card reader Marketing material Information about the card reader You have received this card reader so that you can log on to Handelsbanken s online banking services. You can

More information

MARK SCHEME for the May/June 2012 question paper for the guidance of teachers 9691 COMPUTING. 9691/23 Paper 2 (Written Paper), maximum raw mark 75

MARK SCHEME for the May/June 2012 question paper for the guidance of teachers 9691 COMPUTING. 9691/23 Paper 2 (Written Paper), maximum raw mark 75 UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS GCE Advanced Subsidiary Level and GCE Advanced Level MARK SCHEME for the May/June 2012 question paper for the guidance of teachers 9691 COMPUTING 9691/23

More information

DRAFT EAST POINSETT CO. SCHOOL DIST. - GRADE 4 MATH

DRAFT EAST POINSETT CO. SCHOOL DIST. - GRADE 4 MATH Module 1 - Math Test: 9/25/2015 Use the four operations with whole numbers to solve problems. 4.OA.3 * Solve multistep word problems posed with whole numbers and having whole number answers using the four

More information

MATH 211 FINAL EXAM REVIEW PROBLEMS. c. Illustrating 12-7 for the take away concept of subtraction

MATH 211 FINAL EXAM REVIEW PROBLEMS. c. Illustrating 12-7 for the take away concept of subtraction MATH 211 FINAL EXAM REVIEW PROBLEMS 1. 32 4 in the sharing interpretation of division, base ten pieces 2. 32 4 in the measurement interpretation of division, base ten pieces 3. Write a short and simple

More information

UNIT 2 USING VB TO EXPAND OUR KNOWLEDGE OF PROGRAMMING

UNIT 2 USING VB TO EXPAND OUR KNOWLEDGE OF PROGRAMMING UNIT 2 USING VB TO EXPAND OUR KNOWLEDGE OF PROGRAMMING UNIT 2 USING VB TO EXPAND OUR KNOWLEDGE OF PROGRAMMING... 1 IMPORTANT PROGRAMMING TERMINOLOGY AND CONCEPTS... 2 Program... 2 Programming Language...

More information

Mathematics Georgia Standards of Excellence for Grade 4 Correlated to Moving with Math Math-by-Topic Level B

Mathematics Georgia Standards of Excellence for Grade 4 Correlated to Moving with Math Math-by-Topic Level B Mathematics Georgia Standards of Excellence for Grade 4 Correlated to Moving with Math Math-by-Topic Level B 4.OA OPERATIONS AND ALGEBRAIC THINKING Use the four operations with whole numbers to solve problems.

More information

PNB KIOSK BANKING SOLUTION KBS MANUAL FOR BCAs

PNB KIOSK BANKING SOLUTION KBS MANUAL FOR BCAs PNB KBS MANUAL FOR BCAs 1 About This Document Purpose This document KIOSK- Agent Manual serves as a guide for the Kiosk Agent to use the services available in the KIOSK Banking Application. Intended Users

More information

Common Core Standards 4 th Grade - Mathematics

Common Core Standards 4 th Grade - Mathematics Common Core Standards 4 th Grade - Mathematics Operations and Algebraic Thinking Use the four operations with whole numbers to solve problems. 1. Interpret a multiplication equation as a comparison, e.g.,

More information

Lab 3 The High-Low Game

Lab 3 The High-Low Game Lab 3 The High-Low Game LAB GOALS To develop a simple windows-based game named High-Low using VB.Net. You will use: Buttons, Textboxes, Labels, Dim, integer, arithmetic operations, conditionals [if-then-else],

More information

AIM To analyze, design and develop code for Online Course Reservation System using Rational Rose software

AIM To analyze, design and develop code for Online Course Reservation System using Rational Rose software Ex. No.1 Date: ONLINE COURSE RESERVATION AIM To analyze, design and develop code for Online Course Reservation System using Rational Rose software PROBLEM STATEMENT As the head of information systems for

More information

Fast Food Store Group Boxes and Other User Controls

Fast Food Store Group Boxes and Other User Controls VISUAL BASIC Fast Food Store Group Boxes and Other User Controls Copyright 2014 Dan McElroy Sample Program Execution The customer receipt is updated each time another selection is made and the Enter button

More information

Summary of the Lecture

Summary of the Lecture Summary of the Lecture 1 Introduction 2 MATLAB env., Variables, and format 3 4 5 MATLAB function, arrays and operations Algorithm and flowchart M-files: Script and Function Files 6 Structured Programming

More information

To start we will be using visual studio Start a new C# windows form application project and name it motivational quotes viewer

To start we will be using visual studio Start a new C# windows form application project and name it motivational quotes viewer C# Tutorial Create a Motivational Quotes Viewer Application in Visual Studio In this tutorial we will create a fun little application for Microsoft Windows using Visual Studio. You can use any version

More information

Drawing Graphics in C Sharp

Drawing Graphics in C Sharp Drawing Graphics in C Sharp Previous Table of Contents Next Building a Toolbar with C# and Visual Studio Using Bitmaps for Persistent Graphics in C# Purchase and download the full PDF and epub versions

More information

Form Adapter Example. DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date :

Form Adapter Example. DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date : Form Adapter Example DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date : 2009-06-19 Form_Adapter.doc DRAFT page 1 Table of Contents Creating Form_Adapter.vb... 2 Adding the

More information

SPOTCASH MOBILE APPLICATIONS USER GUIDE

SPOTCASH MOBILE APPLICATIONS USER GUIDE SPOTCASH MOBILE APPLICATIONS USER GUIDE Table of Contents CHAPTER 1 INTRODUCTION... 3 CHAPTER 2 ACCESSING THE APPLICATION... 3 CHAPTER 3 THE DASHBOARD... 6 3.1 Withdrawal... 7 3.2 Deposit... 9 3.3 Top

More information

Unit 3. Lesson Designing User Interface-2. TreeView Control. TreeView Contol

Unit 3. Lesson Designing User Interface-2. TreeView Control. TreeView Contol Designing User Interface-2 Unit 3 Designing User Interface-2 Lesson 3.1-3 TreeView Control A TreeView control is designed to present a list in a hierarchical structure. It is similar to a directory listing.

More information

COPYRIGHTED MATERIAL. Visual Basic: The Language. Part 1

COPYRIGHTED MATERIAL. Visual Basic: The Language. Part 1 Part 1 Visual Basic: The Language Chapter 1: Getting Started with Visual Basic 2010 Chapter 2: Handling Data Chapter 3: Visual Basic Programming Essentials COPYRIGHTED MATERIAL Chapter 1 Getting Started

More information

Interacting with External Applications

Interacting with External Applications Interacting with External Applications DLLs - dynamic linked libraries: Libraries of compiled procedures/functions that applications link to at run time DLL can be updated independently of apps using them

More information

STUDENT SOLUTIONS MANUAL

STUDENT SOLUTIONS MANUAL Student Solutions Manual (Page 1 of 211) STUDENT SOLUTIONS MANUAL to accompany An Introduction to Programming Using Visual Basic 2010, 8th Edition by David I. Schneider Student Solutions Manual (Page 2

More information

Chapter 2 Exploration of a Visual Basic.Net Application

Chapter 2 Exploration of a Visual Basic.Net Application Chapter 2 Exploration of a Visual Basic.Net Application We will discuss in this chapter the structure of a typical Visual Basic.Net application and provide you with a simple project that describes the

More information

Common Core Math Curriculum Map

Common Core Math Curriculum Map Module 1 - Math Test: 11/7/2013 Use place value understanding and properties of operations to perform multi-digit arithmetic. 4.NBT.4 4.NBT.5 * 4.NBT.6 Fluently add and subtract multi-digit whole numbers

More information

Sequence of Grade 4 Modules Aligned with the Standards

Sequence of Grade 4 Modules Aligned with the Standards Sequence of Grade 4 Modules Aligned with the Standards Module 1: Place Value, Rounding, and Algorithms for Addition and Subtraction Module 2: Unit Conversions and Problem Solving with Metric Measurement

More information

Computer measurement and control

Computer measurement and control Computer measurement and control Instructors: András Magyarkuti, Zoltán Kovács-Krausz BME TTK, Department of Physics 2017/2018 spring semester Copyright 2008-2018 András Magyarkuti, Attila Geresdi, András

More information

Academic Vocabulary CONTENT BUILDER FOR THE PLC MATH GRADE 5

Academic Vocabulary CONTENT BUILDER FOR THE PLC MATH GRADE 5 Academic Vocabulary CONTENT BUILDER FOR THE PLC MATH GRADE 5 STANDARD 5.2(B) compare and order two decimals to thousandths and represent comparisons using the symbols >,

More information

Darshan Institute of Engineering & Technology for Diploma Studies

Darshan Institute of Engineering & Technology for Diploma Studies Dialog Box: There are many built-in dialog boxes to be used in Windows forms for various tasks like opening and saving files, printing a page, providing choices for colors, fonts, page setup, etc., to

More information

Minnesota. Plainfield Public Schools Plainfield, New Jersey Grade 3 Pacing Guide. Volumes 1 and 2. Grade 3

Minnesota. Plainfield Public Schools Plainfield, New Jersey Grade 3 Pacing Guide. Volumes 1 and 2. Grade 3 Plainfield Public Schools Plainfield, New Jersey Minnesota Volumes 1 and 2 Grade 3 2013 1. Computing with Whole Numbers 15 Days 3 days 3.OA.8 Solve two-step word problems using the four operations. Represent

More information