Computing Science Unit 1
|
|
- Griselda Page
- 5 years ago
- Views:
Transcription
1 Computing Science Unit 1 Software Design and Development Programming Practical Tasks Business Information Technology and Enterprise
2 Contents Input Validation Find Min Find Max Linear Search Count Occurrences Read.CSV File Write To.CSV file Standard Algorithms with Read & Write to.csv (Including Menu) Note Pseudo Code User interface Structured Listing Testing Each Section will require pseudo code written in Microsoft Word, a user interface and structured listing in Microsoft Visual Studio and Testing written in Microsoft Word. Reading and Writing to CSV files will require software such as Microsoft Excel but can be written in other software.
3 Standard Algorithm 1: Input Validation Create the following pseudo code in MS Word. Algorithm: Input Validation Pseudo Code 1. Initialise variables 2. Set answer to Generate Random Number 3. Input Guess (5 tries) 4. Integerrange function 5. Display Win/Lose Message 3.1. Start Loop 3.2. Set Guess = call Integerrange (min=1, max=100) 3.3. Add 1 to the counter 3.4. If guess is greater than answer then message too high 3.5. Elseif guess is less than answer then message too low 3.6. Else guess = answer then message Correct 3.7. End if 3.8. Loop until guess = answer OR counter = Initialise variables 4.2. Start loop 4.3. Set valid to true 4.4. Input number within min and max 4.5. If number is not Numeric then display not a number, set valid = false 4.6. If number is greater than max or less than min then display out of range, set valid = false 4.7. If int(number) does not equal number then display Not a whole number, set valid = false 4.8. Loop until valid = true 4.9. Return number 5.1. If guess = answer then display you win in Listbox 5.2. Else display you lose 5.3. End if Save as: Pseudo Code Input Validation
4 Implementation Using Visual Studio create the New Project: Input Validation. Create the user interface and structured listing for the standard algorithm Find Min. User Interface Structured Listing Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim guess As Single Dim answer As Integer Dim counter As Integer 'Computer creates a random number between 1 and 100 Randomize() answer = (Int(Rnd() * 100) + 1) 'Computer will repeatedly run the FUNCTION until answer or counter > 5 Do guess = integerrange(1, 100) 'Input Validation counter = counter + 1 If guess > answer Then MsgBox(guess & " is too high") ElseIf guess < answer Then MsgBox(guess & " is too low") Else MsgBox(guess & " is correct") Loop Until guess = answer Or counter = 5 'you win or lose displayed If guess = answer Then ListBox1.Items.Add("You win") Else ListBox1.Items.Add("You lose")
5 'Validation function Function integerrange(byval min, ByVal max) Dim input As String Dim valid As Boolean 'repeat until valid entry Do valid = True input = InputBox("Enter a number between " & min & " and " & max) If Not IsNumeric(input) Then MsgBox("That is not a number") valid = False Else If input > max Or input < min Then MsgBox("Number out of range") valid = False If Int(input) <> input Then MsgBox("That is not a whole number") valid = False Loop Until valid Return input End Function End Class Save as: Find Min Testing Create the test table in MS Word. Your test data should include normal, extreme and exceptional test data. Test Data Expected Outcome Screen Shots Normal 50, 75, 65, 60, 55 Too High Or Too Low Or Correct, You win. or You Lose.
6 Extreme 1, 100 Too High Or Too Low Or Correct, You win. Exceptional -10, 10.5, Za Out of range, Not a whole Number, Not a Number. Save as: Testing Input Validation Standard Algorithm 2: Find Min Create the following pseudo code in MS Word. Algorithm: Find Min Pseudo Code 1. Initialise variables 2. Generate 10 Random whole Numbers 3. Find Min 3.1. Set min to first number in number array 3.2. For remaining items in array 3.3. If number is less than min then 3.4. Set min to current number in array 3.5. End if 3.6. Loop 3.7. Display min Save as: Pseudo Code Find Min
7 Implementation Using Visual Studio create the New Project: Find Min. Create the user interface and structured listing for the standard algorithm Find Min. User Interface Structured Listing Public Class Form1 'Declare Variables Dim number(9) As Integer Dim counter As Integer Dim min As Integer Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click 'Computer creates 10 random whole numbers between 1 and 100 For index = 0 To 9 Randomize() number(index) = (Int(Rnd() * 10) + 1) ListBox1.Items.Add(number(index)) Next Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click min = number(0) 'sets the first number in the array to the min 'check the remaining numbers in the array For index = 1 To 9 If number(index) < min Then 'if the current number is less min = number(index) 'than min the current number is 'new min Next index TextBox1.Text = min
8 Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) Handles Button3.Click 'clear display ListBox1.Items.Clear() TextBox1.Text = ("") End Class Save as: Find Min Testing Create the test table in MS Word. For this algorithm your test data cannot include extreme and exceptional test data as it is requires no data entry from the user. Test Data Normal Click Create Numbers Click Find Min Click Clear Data Expected Outcome Numbers are added to listbox. Min is displayed in textbox. Data is cleared. Screen Shots Save as: Testing Find Min
9 Standard Algorithm 3: Find Max Create the following pseudo code in MS Word. Algorithm: Find Max Pseudo Code 1. Initialise variables 2. Generate 10 Random whole Numbers 3. Find Max 3.1. Set max to first number in number array 3.2. For remaining items in array 3.3. If number is greater than max then 3.4. Set max to current number in array 3.5. End if 3.6. Loop 3.7. Display max Save as: Pseudo Code Find Max Implementation Using Visual Studio create the New Project: Find Max. Create the user interface and structured listing for the standard algorithm Find Max. User Interface
10 Structured Listing Public Class Form1 Dim number(9) As Integer Dim counter As Integer Dim max As Integer Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click 'Computer creates a random number between 1 and 100 For index = 0 To 9 Randomize() number(index) = (Int(Rnd() * 100) + 1) ListBox1.Items.Add(number(index)) Next Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click max = number(0) 'sets the first number in the array to the max 'check the remaining numbers in the array For index = 1 To 9 If number(index) > max Then 'if the current number is greater max = number(index) 'than max the current number is 'new max Next index TextBox1.Text = max Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) Handles Button3.Click 'clear display / restart game ListBox1.Items.Clear() TextBox1.Text = ("") End Class
11 Testing Create the test table in MS Word. For this algorithm your test data cannot include extreme and exceptional test data as it is requires no data entry from the user. Test Data Normal Click Create Random Numbers Expected Outcome Numbers are added to listbox. Screen Shots Click Find Max Click Clear Max is displayed in textbox. Data is cleared. Save as: Testing Find Max Standard Algorithm 4: Linear Search Create the following pseudo code in MS Word. Algorithm: Linear Search Pseudo Code 1. Initialise variables 2. Generate 10 Random whole Numbers 3. Search Array for target number and display position in array 4. Input Validation 3.1. Enter Target Number 3.2. For all items in array 3.3. If number(index) equals target number then 3.4. Set position to index plus 1
12 3.5. End if 3.6. Loop 3.7. Display found at position X 4.1. Initialise variables 4.2. Start loop 4.3. Set valid to true 4.4. Input number within min and max 4.5. If number is not Numeric then display not a number, set valid = false 4.6. If number is greater than max or less than min then display out of range, set valid = false 4.7. If int(number) does not equal number then display Not a whole number, set valid = false 4.8. Loop until valid = true 4.9. Return number Save as: Pseudo Code Linear Search Implementation Using Visual Studio create the New Project: Linear Search. Create the user interface and structured listing for the standard algorithm Linear Search. User Interface
13 Structured Listing Public Class Form1 Dim number(9) As Integer Dim target_number As Integer Dim position As Integer Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click 'Computer creates 10 random numbers between 1 and 100 For index = 0 To 9 Randomize() number(index) = (Int(Rnd() * 100) + 1) ListBox1.Items.Add(number(index)) Next Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click target_number = integerrange(1, 100) 'check all the numbers in the array to the target number For index = 0 To 9 If number(index) = target_number Then 'if current number = target number position = index + 1 'than its position in the list is 'index plus 1 Next index ListBox2.Items.Add("The Number " & target_number) ListBox2.Items.Add("Was found at position " & position) 'Validation function Function integerrange(byval min, ByVal max) Dim input As String Dim valid As Boolean 'repeat until valid entry Do valid = True input = InputBox("Enter a number between " & min & " and " & max) If Not IsNumeric(input) Then MsgBox("That is not a number") valid = False Else If input > max Or input < min Then MsgBox("Number out of range") valid = False If Int(input) <> input Then MsgBox("That is not a whole number") valid = False Loop Until valid Return input End Function
14 Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) Handles Button3.Click 'clear display ListBox1.Items.Clear() ListBox2.Items.Clear() End Class Testing Create the test table in MS Word. Your test data should include normal, extreme and exceptional test data. Test Data Expected Outcome Screen Shots Normal 13 Found at position 5 Extreme 1 or 100 Found at position X Exceptional -10, 10.5, Za Out of range, Not a whole Number, Not a Number. Save as: Testing Linear Search
15 Standard Algorithm 5: Count Occurrence Create the following pseudo code in MS Word. Algorithm: Count Occurrence Pseudo Code 1. Initialise variables 2. Generate 10 Random whole Numbers 3. Search Array for target number and display number of times it appears in array 4. Input Validation 3.1. Enter Target Number 3.2. For all items in array 3.3. If number(index) equals target number then 3.4. Set total equal to total plus End if 3.6. Loop 3.7. Display Target number was found X number of times 4.1. Initialise variables 4.2. Start loop 4.3. Set valid to true 4.4. Input number within min and max 4.5. If number is not Numeric then display not a number, set valid = false 4.6. If number is greater than max or less than min then display out of range, set valid = false 4.7. If int(number) does not equal number then display Not a whole number, set valid = false 4.8. Loop until valid = true 4.9. Return number Save as: Pseudo Code Count Occurrence
16 Implementation Using Visual Studio create the New Project: Count Occurrence. Create the user interface and structured listing for the standard algorithm count occurrence. User Interface Structured Listing Public Class Form1 Dim number(9) As Integer Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click 'Computer creates 10 random numbers between 1 and 10 For index = 0 To 9 Randomize() number(index) = (Int(Rnd() * 10) + 1) ListBox1.Items.Add(number(index)) Next Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click Dim target_number As Integer Dim times_found As Integer target_number = integerrange(1, 100) 'search the array for the target number For index = 0 To 9 If number(index) = target_number Then 'if current number = target number times_found = times_found + 1 'than + 1 to the running total Next index
17 ListBox2.Items.Add("The Number " & target_number) ListBox2.Items.Add("Was found " & times_found & " times") 'Validation function Function integerrange(byval min, ByVal max) Dim input As String Dim valid As Boolean 'repeat until valid entry Do valid = True input = InputBox("Enter a number between " & min & " and " & max) If Not IsNumeric(input) Then MsgBox("That is not a number") valid = False Else If input > max Or input < min Then MsgBox("Number out of range") valid = False If Int(input) <> input Then MsgBox("That is not a whole number") valid = False Loop Until valid Return input End Function Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) Handles Button3.Click 'clear display / restart game ListBox1.Items.Clear() ListBox2.Items.Clear() End Class
18 Testing Create the test table in MS Word. Your test data should include normal, extreme and exceptional test data. Test Data Expected Outcome Screen Shots Normal 7 Found 2 times Extreme 10 Found 4 times Exceptional -10, 10.5, Za Out of range, Not a whole Number, Not a Number. Save as: Testing Count Occurrence
19 Standard Algorithm 5: Count Occurrence Create the following pseudo code in MS Word. Algorithm: Count Occurrence Pseudo Code 5. Initialise variables 6. Generate 10 Random whole Numbers 7. Search Array for target number and display number of times it appears in array 8. Input Validation 3.1. Enter Target Number 3.2. For all items in array 3.3. If number(index) equals target number then 3.4. Set total equal to total plus End if 3.6. Loop 3.7. Display Target number was found X number of times 4.1. Initialise variables 4.2. Start loop 4.3. Set valid to true 4.4. Input number within min and max 4.5. If number is not Numeric then display not a number, set valid = false 4.6. If number is greater than max or less than min then display out of range, set valid = false 4.7. If int(number) does not equal number then display Not a whole number, set valid = false 4.8. Loop until valid = true 4.9. Return number Save as: Pseudo Code Count Occurrence
20 Implementation Using Visual Studio create the New Project: Count Occurrence. Create the user interface and structured listing for the standard algorithm count occurrence. User Interface Structured Listing Public Class Form1 Dim number(9) As Integer Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click 'Computer creates 10 random numbers between 1 and 10 For index = 0 To 9 Randomize() number(index) = (Int(Rnd() * 10) + 1) ListBox1.Items.Add(number(index)) Next Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click Dim target_number As Integer Dim times_found As Integer target_number = integerrange(1, 100) 'search the array for the target number For index = 0 To 9 If number(index) = target_number Then 'if current number = target number times_found = times_found + 1 'than + 1 to the running total Next index
21 ListBox2.Items.Add("The Number " & target_number) ListBox2.Items.Add("Was found " & times_found & " times") 'Validation function Function integerrange(byval min, ByVal max) Dim input As String Dim valid As Boolean 'repeat until valid entry Do valid = True input = InputBox("Enter a number between " & min & " and " & max) If Not IsNumeric(input) Then MsgBox("That is not a number") valid = False Else If input > max Or input < min Then MsgBox("Number out of range") valid = False If Int(input) <> input Then MsgBox("That is not a whole number") valid = False Loop Until valid Return input End Function Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) Handles Button3.Click 'clear display / restart game ListBox1.Items.Clear() ListBox2.Items.Clear() End Class
22 Testing Create the test table in MS Word. Your test data should include normal, extreme and exceptional test data. Test Data Expected Outcome Screen Shots Normal 7 Found 2 times Extreme 10 Found 4 times Exceptional -10, 10.5, Za Out of range, Not a whole Number, Not a Number. Save as: Standard Algorithms
23 Read from CSV File Example Create the following pseudo code in MS Word. Pseudo Code 1. Initialise variables 2. Read in CSV file 3. Find Oldest Pupil 2.1 Open and read in CSV file 2.2 For counter is 0 to Read 1 line of CSV file 2.4 Set temporary to each field data split by comma 2.5 Set pupil firstname(counter) to temporary Set pupil surname(counter) to temporary Set pupil age(counter) to temporary Next Counter 2.9 Display all arrays in listbox 3.1 Set oldest to first values of arrays 3.2 For counter is 1 to If pupil_age(counter) > oldest then 3.4 oldest age = pupil_age (counter) 3.5 oldest firstname = pupil_firstname (counter) 3.6 oldest surname = pupil_surname (counter) Next counter 3.9 Display Oldest name and age
24 Implementation Using Visual Studio create the New Project: Higher Read CSV. Create the data file (CSV file), user interface and structured listing for the Higher Read CSV. Create CSV File Use software of your choice to create a CSV file of the following data. Joanna Smith 12 John Mitchell 13 Sue Adams 14 David Keller 12 Zoe Young 13 Save the CSV file as Pupil Age.csv in your Higher Computing folder. User Interface Structured Listing Public Class Form1 'declare global variables Dim pupil_firstnames(4) As String Dim pupil_surnames(4) As String Dim pupil_age(4) As Integer Dim oldest_firstname, oldest_surname As String Dim oldest_age As Integer Dim temporary(2) As String '3 Temporary arrays as there are 3 fields in CSV file 'Read CSV file and transfer data into temporary arrays Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'declare local variables Dim filename, newline As String
25 Dim counter As Integer ' path to data file. filename = "h:\higher Computing\pupil age.csv" 'this is the CSV location path 'declare entire CSV file as a variable Dim objtextfile As New System.IO.StreamReader(filename) 'separate CSV file fields into temporary() arrays 'pupil_firstnames store in temporary(0) array and so on. For counter = 0 To 4 newline = objtextfile.readline() 'this reads a complete line of data temporary = newline.split(","c) 'this splits the data up and assigns 'each piece to an element of the temp array. the data is 'split at each comma. the C indicates a single character 'being used for the split pupil_firstnames(counter) = temporary(0) pupil_surnames(counter) = temporary(1) pupil_age(counter) = temporary(2) Next 'close file link once you have completly read it. objtextfile.close() objtextfile.dispose() 'Display Success Message to user. ListBox1.Items.Add("Data from File : ") ListBox1.Items.Add(filename) ListBox1.Items.Add("Successfully read.") Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click 'Display contents of new arrays to listbox. 'This shows the CSV file has been read successfully and can now be manipulated by this program ListBox1.Items.Add("") ListBox1.Items.Add("CSV file Contents:") ListBox1.Items.Add("") ListBox1.Items.Add("Firstname" & vbtab & "Surname" & vbtab & "Age") For counter = 0 To 4 ListBox1.Items.Add(pupil_firstnames(counter) & vbtab & pupil_surnames(counter) & vbtab & pupil_age(counter)) Next Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click 'Subrountine to find max age, using Find Max Standard Algorithm 'Declare local variables, used only in this sub routine. Dim oldest_age As Integer Dim oldest_firstname As String Dim oldest_surname As String 'Set oldest to first values in the three arrays oldest_age = pupil_age(0) oldest_firstname = pupil_firstnames(0) oldest_surname = pupil_surnames(0)
26 'check each value in arrays, if it finds an age greater than 'the current oldest then it will set that as the new Oldest_age 'also sets the current name as the oldest_name For counter = 1 To 4 If pupil_age(counter) > oldest_age Then oldest_age = pupil_age(counter) oldest_firstname = pupil_firstnames(counter) oldest_surname = pupil_surnames(counter) Next 'Displays results of Find Max in Listbox1 ListBox1.Items.Add("") ListBox1.Items.Add("Oldest pupil is:") ListBox1.Items.Add(oldest_firstname & " " & oldest_surname) ListBox1.Items.Add("Aged: ") ListBox1.Items.Add(oldest_age) End Class Testing Create the test table in MS Word. For this algorithm your test data cannot include extreme and exceptional test data as it is requires no data entry from the user. Test Data Normal Click Read CSV File Expected Outcome Data read from file. Screen Shots Click Display Data Click Find Oldest Data from file is displayed in listbox. Sue Adams is displayed as the oldest. Save as: Testing Read CSV
27 Write to CSV File Example Create the following pseudo code in MS Word. Pseudo Code 1. Initialise variables 2. Read in CSV file 3. Find Top scoring Pupil 4. Write Top Scoring Pupil data to CSV file 2.1 Open and read in CSV file 2.2 For counter is 0 to Read 1 line of CSV file 2.4 Set temporary to each field data split by comma 2.5 Set pupil firstname(counter) to temporary Set pupil surname(counter) to temporary Set pupil score(counter) to temporary Next Counter 2.9 Display all arrays in listbox 3.1 Set Top to first values of arrays 3.2 For counter is 1 to If pupil_score (counter) > top then 3.4 top score = pupil_score (counter) 3.5 top firstname = pupil_firstname (counter) 3.6 top surname = pupil_surname (counter) Next counter 3.9 Display top name and score 4.1 Initialise local variables 4.2 Set filename and location path to h:\higher computing\top Pupil.csv 4.3 Output the 3 arrays separated by a comma 4.4 Write to file
28 Implementation Using Visual Studio create the New Project: Higher Write CSV. Create the data file (CSV file), user interface and structured listing for the Higher Read CSV. Create CSV File Use software of your choice to create a CSV file of the following data. Gavin Free 5 Ray Narvaez 89 Michael Jones 75 Gus Sorola 45 Burnie Burns 79 Save the CSV file as Pupil Scores.csv in your Higher Computing folder. User Interface Structured Listing Public Class Form1 'declare global variables Dim pupil_firstnames(4) As String Dim pupil_surnames(4) As String Dim pupil_score(4) As Integer Dim top_score_firstname, top_score_surname As String Dim top_score As Integer Dim temporary(2) As String '3 temporary arrays as there are 3 fields in the CSV file Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'declare local variables Dim filename, newline As String Dim counter As Integer
29 ' path to data file filename = "h:\higher Computing\Pupil Scores.csv" 'declare entire CSV file as a variable Dim objtextfile As New System.IO.StreamReader(filename) 'separate CSV file fields into temporary() arrays 'pupil_firstnames store in temporary(0) array and so on. For counter = 0 To 4 newline = objtextfile.readline() 'this reads a complete line of data temporary = newline.split(","c) 'this splits the data up and assigns 'each piece to an element of the temp array. the data is 'split at each comma. the C indicates a single character 'being used for the split pupil_firstnames(counter) = temporary(0) pupil_surnames(counter) = temporary(1) pupil_score(counter) = temporary(2) Next 'close file link once you have completly read it. objtextfile.close() objtextfile.dispose() 'Display Success Message to user. ListBox1.Items.Add("Data from File : ") ListBox1.Items.Add(filename) ListBox1.Items.Add("Successfully read.") Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click ListBox1.Items.Add("") ListBox1.Items.Add("CSV file Contents:") ListBox1.Items.Add("") ListBox1.Items.Add("Firstname" & vbtab & "Surname" & vbtab & "Score") For counter = 0 To 4 ListBox1.Items.Add(pupil_firstnames(counter) & vbtab & pupil_surnames(counter) & vbtab & pupil_score(counter)) Next Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click top_score = pupil_score(0) top_score_firstname = pupil_firstnames(0) top_score_surname = pupil_surnames(0) For counter = 1 To 4 If pupil_score(counter) > top_score Then top_score = pupil_score(counter) top_score_firstname = pupil_firstnames(counter) top_score_surname = pupil_surnames(counter) Next ListBox1.Items.Add("") ListBox1.Items.Add("Winning pupil with highest score is:") ListBox1.Items.Add(top_score_firstname & " " & top_score_surname)
30 ListBox1.Items.Add("With a high score of: ") ListBox1.Items.Add(top_score) 'Write data to file Dim filename As String Dim outputstring As String filename = "h:\higher Computing\Top Pupil.csv" 'path to new file. Will create if it does not exist outputstring = top_score_firstname & "," & top_score_surname & "," & top_score Dim objtextfile As New System.IO.StreamWriter(filename) objtextfile.write(outputstring) 'sending top_name and top_score to file objtextfile.close() objtextfile.dispose() ListBox1.Items.Add("") ListBox1.Items.Add("Results WRITTEN to:") ListBox1.Items.Add(filename) End Class Testing Create the test table in MS Word. For this algorithm your test data cannot include extreme and exceptional test data as it is requires no data entry from the user. Test Data Normal Click Read CSV File Click Display Data Click Find Top Score Write Top Score to CSV file. Expected Outcome Data read from file. Data from file is displayed in listbox. Ray Narvaez is displayed as the top score. Result written to a file. Screen Shots Save as: Testing Write CSV
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 informationLearning 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 informationUnit 7. Lesson 7.1. Loop. For Next Statements. Introduction. Loop
Loop Unit 7 Loop Introduction So far we have seen that each instruction is executed once and once only. Some time we may require that a group of instructions be executed repeatedly, until some logical
More informationIn 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 informationMr.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 informationHigher Computing Science. Software Design and Development
Higher Computing Science Software Design and Development Programming with Visual Studio 2012 1 CONTENTS Topic 1 Topic 2 Topic 3 Topic 4 Topic 5 Topic 6 Topic 7 Topic 8 Topic 9 Getting started Strings and
More informationTo 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 informationSt. Benedict s High School. Computing Science. Software Design & Development. (Part 1 Computer Programming) National 5
Computing Science Software Design & Development (Part 1 Computer Programming) National 5 VARIABLES & DATA TYPES Variables provide temporary storage for information that will be needed while a program is
More informationVisual 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 informationRevision 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 informationVISUAL 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 informationObjectives. 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 informationIMS1906: 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 informationVARIABLES. 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 informationFOR 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 informationLearning VB.Net. Tutorial 17 Classes
Learning VB.Net Tutorial 17 Classes 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 informationPROGRAMMING 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 informationRepetition Structures
Repetition Structures There are three main structures used in programming: sequential, decision and repetition structures. Sequential structures follow one line of code after another. Decision structures
More informationLearning VB.Net. Tutorial 15 Structures
Learning VB.Net Tutorial 15 Structures 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 informationLab 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 informationLab 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 informationDownload the files from you will use these files to finish the following exercises.
Exercise 6 Download the files from http://www.peter-lo.com/teaching/x4-xt-cdp-0071-a/source6.zip, you will use these files to finish the following exercises. 1. This exercise will guide you how to create
More informationMIS 216 SPRING 2018 PROJECT 4
MIS 216 SPRING 2018 PROJECT 4 Subs / Functions Arrays / Classes 1. Start a new project a. Create a folder on your desktop name it yourinitialsproject3 as in tnjproject3. b. FILE NEW PROJECT c. Change the
More informationCheck 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 informationElse. 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 informationPrivate 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 informationUnit 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 informationS.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 informationDO 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 informationLevel 3 Computing Year 2 Lecturer: Phil Smith
Level 3 Computing Year 2 Lecturer: Phil Smith Previously We started to build a GUI program using visual studio 2010 and vb.net. We have a form designed. We have started to write the code to provided the
More informationYear 12 : Visual Basic Tutorial.
Year 12 : Visual Basic Tutorial. STUDY THIS Input and Output (Text Boxes) The three stages of a computer process Input Processing Output Data is usually input using TextBoxes. [1] Create a new Windows
More informationHigher Computing Science Software Design and Development - Programming Summary Notes
Higher Computing Science Software Design and Development - Programming Summary Notes Design notations A design notation is the method we use to write down our program design. Pseudocode is written using
More informationA 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 informationCode: 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 informationThe Big Python Guide
The Big Python Guide Big Python Guide - Page 1 Contents Input, Output and Variables........ 3 Selection (if...then)......... 4 Iteration (for loops)......... 5 Iteration (while loops)........ 6 String
More informationC4.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 informationSenior Software Engineering Project CSSP Project CEN April 5, Adam Cox Tass Oscar
Senior Software Engineering Project CSSP Project CEN 4935 April 5, 2006 Adam Cox Tass Oscar 1. Introduction One of the ways in which social worker professionals and students evaluate their clients is with
More information(Subroutines in Visual Basic)
Ch 7 Procedures (Subroutines in Visual Basic) Visual Basic Procedures Structured Programs To simplify writing complex programs, most Programmers (Designers/Developers) choose to split the problem into
More informationDeveloping Student Programming and Problem-Solving Skills With Visual Basic
t e c h n o l o g y Del Siegle, Ph.D. Developing Student Programming and Problem-Solving Skills With Visual Basic TThree decades have passed since computers were first introduced into American classrooms.
More informationVB.NET Programs. ADO.NET (insert, update, view records)
ADO.NET (insert, update, view records) VB.NET Programs Database: Student Table : Studtab (adno, name, age, place) Controls: DataGridView, Insert button, View button, Update button, TextBox1 (for Admission
More informationRunning the Altair SIMH from.net programs
Running the Altair SIMH from.net programs The Altair SIMH simulator can emulate a wide range of computers and one of its very useful features is that it can emulate a machine running 50 to 100 times faster
More informationLab Sheet 4.doc. Visual Basic. Lab Sheet 4: Non Object-Oriented Programming Practice
Visual Basic Lab Sheet 4: Non Object-Oriented Programming Practice This lab sheet builds on the basic programming you have done so far, bringing elements of file handling, data structuring and information
More informationVISUAL BASIC 2005 EXPRESS: NOW PLAYING
VISUAL BASIC 2005 EXPRESS: NOW PLAYING by Wallace Wang San Francisco ADVANCED DATA STRUCTURES: QUEUES, STACKS, AND HASH TABLES Using a Queue To provide greater flexibility in storing information, Visual
More informationLearning 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 informationVISUAL 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 informationFinal 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 informationUnit 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 informationVisual Basic
1 P a g e Visual Basic 6.0 Punjab University papers Visual Basic 6.0 2007 Question No 1(a). What is an algorithm and pseudo code? 5.0 1(b). What is OOP? Explain its importance 5.0 Question No 2(a) what
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 informationMy first game. 'function which adds objects with bug tag to bugarray array. Saturday, November 23, :06 AM
My first game Saturday, November 23, 2013 5:06 AM Public Class Form1 Dim moveright As Boolean = False Dim moveup As Boolean = False Dim moveleft As Boolean = False Dim movedown As Boolean = False Dim score
More informationMATFOR In Visual Basic
Quick Start t t MATFOR In Visual Basic ANCAD INCORPORATED TEL: +886(2) 8923-5411 FAX: +886(2) 2928-9364 support@ancad.com www.ancad.com 2 MATFOR QUICK START Information in this instruction manual is subject
More informationRemote Web Server. Develop Locally. foldername. publish project files to
Create a Class and Instantiate an Object in a Two-Tier Tier Web App By Susan Miertschin For ITEC 4339 Enterprise Applications Development 9/20/2010 1 Development Model foldername Remote Web Server Develop
More informationThe New Brew-CQ Synchronous Sockets and Threading
The New Brew-CQ Synchronous Sockets and Threading Server Topology: The Brew-CQ server is an application written in the new.net compilers from Microsoft. The language of choice is Visual Basic. The purpose
More informationReview. October 20, 2006
Review October 20, 2006 1 A Gentle Introduction to Programming A Program (aka project, application, solution) At a very general level there are 3 steps to program development Determine output Determine
More informationBSc (Hons) Computer Science with. Network Security. BSc (Hons) Business Information Systems. Examinations for 2018 / Semester 1
BSc (Hons) Computer Science with Network Security BSc (Hons) Business Information Systems Cohort: BCNS/17A/FT Examinations for 2018 / Semester 1 Resit Examinations for BIS/16B/FT, BCNS/15A/FT, BCNS/15B/FT,
More informationISM 3253 Exam I Spring 2009
ISM 3253 Exam I Spring 2009 Directions: You have exactly 75 minutes to complete this test. Time available is part of the exam conditions and all work must cease when "Stop work" is announced. Failing to
More informationDisclaimer. 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超音波モータ制御プログラムの作成 (v1.2.1)
超音波モータ制御プログラムの作成 (v1.2.1) 2008 年 11 月 28 日 Masaaki MATSUO 構成機器 モータ本体 : フコク ロータリーエンコーダー内蔵型超音波モータ USB-60E モータ制御部 : フコク 位置決制御ドライバ DCONT-3-60 (SD13) コントローラ : Interface 2 軸絶縁パルスモーションコントローラ ( 直線補間エンコーダ入力 5V)
More information'The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid("8b a5-46bb-a6a9-87b4949d1f4c")>
LAMPIRAN A : LISTING PROGRAM Imports System Imports System.Reflection Imports System.Runtime.InteropServices ' General Information about an assembly is controlled through the following ' set of attributes.
More informationFunction: function procedures and sub procedures share the same characteristics, with
Function: function procedures and sub procedures share the same characteristics, with one important difference- function procedures return a value (e.g., give a value back) to the caller, whereas sub procedures
More informationHerefordshire 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 informationChapter 8. Arrays and More Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of
Chapter 8 Arrays and More Addison Wesley is an imprint of 2011 Pearson Addison-Wesley. All rights reserved. Introduction Arrays are like groups of variables that allow you to store sets of similar data
More informationREVIEW OF CHAPTER 1 1
1 REVIEW OF CHAPTER 1 Trouble installing/accessing Visual Studio? 2 Computer a device that can perform calculations and make logical decisions much faster than humans can Computer programs a sequence of
More information1. 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 informationInteracting 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 informationGUI Design and Event- Driven Programming
4349Book.fm Page 1 Friday, December 16, 2005 1:33 AM Part 1 GUI Design and Event- Driven Programming This Section: Chapter 1: Getting Started with Visual Basic 2005 Chapter 2: Visual Basic: The Language
More information"!#... )*! "!# )+, -./ 01 $
Email engauday@hotmail.com! "!#... $ %&'... )*! "!# )+, -./ 01 $ ) 1+ 2#3./ 01 %.. 7# 89 ; )! 5/< 3! = ;, >! 5 6/.?
More informationDATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6)
Technology & Information Management Instructor: Michael Kremer, Ph.D. Database Program: Microsoft Access Series DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6) AGENDA 3. Executing VBA
More informationForm 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 informationChapter 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 informationComputers, Variables and Types. Engineering 1D04, Teaching Session 2
Computers, Variables and Types Engineering 1D04, Teaching Session 2 Typical Computer Copyright 2006 David Das, Ryan Lortie, Alan Wassyng 1 An Abstract View of Computers Copyright 2006 David Das, Ryan Lortie,
More informationก 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 informationChapter 6. Repetition Statements. Animated Version The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 6 Repetition Statements Animated Version required for reproduction or display. Chapter 6-1 Objectives After you have read and studied this chapter, you should be able to Implement repetition control
More informationVB FUNCTIONS AND OPERATORS
VB FUNCTIONS AND OPERATORS In der to compute inputs from users and generate results, we need to use various mathematical operats. In Visual Basic, other than the addition (+) and subtraction (-), the symbols
More informationSTRING Represents group of characters Each character 1 byte CIE, AB304 BOOLEAN Logical Datatype, return true or False Memory Required 1
2.2 Data representation 2.2.1 Data types A data type is a method of interpreting a pattern of bits. There are numerous different data types but here explained ones are according to CIE syllabus: Integer
More informationDisclaimer. 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 informationCOPYRIGHTED MATERIAL. Taking Web Services for a Test Drive. Chapter 1. What s a Web Service?
Chapter 1 Taking Web Services for a Test Drive What s a Web Service? Understanding Operations That Are Well Suited for Web Services Retrieving Weather Information Using a Web Service 101 Retrieving Stock
More informationUNIT 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 informationInstructor 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 informationIT3101 -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 informationDEVELOPING OBJECT ORIENTED APPLICATIONS
DEVELOPING OBJECT ORIENTED APPLICATIONS By now, everybody should be comfortable using form controls, their properties, along with methods and events of the form class. In this unit, we discuss creating
More informationConnection Example. Document ID : Connection_Example.PDF Author : Michele Harris Version : 1.1 Date :
Connection Example Document ID : Connection_Example.PDF Author : Michele Harris Version : 1.1 Date : 2009-06-19 page 1 Table of Contents Connection Example... 2 Adding the Code... 2 Quick Watch myconnection...
More informationRelational Operators. > greater than < less than >= greater than or equal to <= less than or equal to <> not equal to = equal to
Relational Operators > greater than < less than >= greater than or equal to
More informationBuilding Java Programs
Building Java Programs Chapter 5 Random Numbers reading: 5.1, 5.6 1 http://xkcd.com/221/ 2 The while loop while loop: Repeatedly executes its body as long as a logical test is true. while (test) { statement(s);
More informationSavoy ActiveX Control User Guide
Savoy ActiveX Control User Guide Jazz Soft, Inc. Revision History 1 Revision History Version Date Name Description 1.00 Jul, 31 st, 2009 Hikaru Okada Created as new document 1.00a Aug, 22 nd, 2009 Hikaru
More informationDelegates (Visual Basic)
Delegates (Visual Basic) https://msdn.microsoft.com/en-us/library/ms172879(d=printer).aspx 1 of 4 02.09.2016 18:00 Delegates (Visual Basic) Visual Studio 2015 Delegates are objects that refer to methods.
More informationWe ve covered enough material so far that we can write very sophisticated programs. Let s cover a few more examples that use arrays.
Arrays Part 2 We ve covered enough material so far that we can write very sophisticated programs. Let s cover a few more examples that use arrays. First, once in a while it may be useful to be able to
More informationVisual 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 informationSébastien Mathier wwwexcel-pratiquecom/en Variables : Variables make it possible to store all sorts of information Here's the first example : 'Display the value of the variable in a dialog box 'Declaring
More informationUnit 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 informationstatic String usersname; public static int numberofplayers; private static double velocity, time;
A class can include other things besides subroutines. In particular, it can also include variable declarations. Of course, you can declare variables inside subroutines. Those are called local variables.
More informationGetting Started with Visual Basic.NET
Visual Basic.NET Programming for Beginners This Home and Learn computer course is an introduction to Visual Basic.NET programming for beginners. This course assumes that you have no programming experience
More informationUnit 6 - Software Design and Development LESSON 3 KEY FEATURES
Unit 6 - Software Design and Development LESSON 3 KEY FEATURES Last session 1. Language generations. 2. Reasons why languages are used by organisations. 1. Proprietary or open source. 2. Features and tools.
More informationDecision 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 informationTutorial 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: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET
2006-938: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET David Hergert, Miami University American Society for Engineering Education, 2006 Page 11.371.1 Creating Web
More informationChapter 2.4: Common facilities of procedural languages
Chapter 2.4: Common facilities of procedural languages 2.4 (a) Understand and use assignment statements. Assignment An assignment is an instruction in a program that places a value into a specified variable.
More informationLab 6: Making a program persistent
Lab 6: Making a program persistent In this lab, you will cover the following topics: Using the windows registry to make parts of the user interface sticky Using serialization to save application data in
More informationApéndice E Código de software de ayuda en Visual Basic 2005 Public Class Form1
Apéndice E Código de software de ayuda en Visual Basic 2005 Public Class Form1 Dim checkcont As Integer = 0, foto = 0 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
More informationIntroduction. Getting Started with Visual Basic Steps:-
Introduction Getting Started with Visual Basic 2008 Steps:- 1. go to http://www.microsoft.com/express/download/#webinstall and download Visual Basic 2008 and save the file in a location. 2. Locate the
More information