Visual Basic Set 2
In this section you will learn
Introduction:
The previous section gave you an overview of the Visual Basic programming environment, and introduced a few samples of VB programming code. This section will give a more detailed examination of how Visual Basic code works.
- Visual Basic programming syntax, structure, and naming conventions
- Use of the Code window
Introduction:
The previous section gave you an overview of the Visual Basic programming environment, and introduced a few samples of VB programming code. This section will give a more detailed examination of how Visual Basic code works.
Visual Basic Lessons With Activities:
(These lessons, and the Activities to the right, should be completed before attempting the VB assignments below) VB Lesson 2.1: VB Structure & Syntax VB Lesson 2.2: VB Program Planning (Guessing Game) VB Lesson 2.3: Understanding Variables VB Lesson 2.4: Understanding Operators VB Lesson 2.5: Program Control - If, Then Blocks VB Lesson 2.6: Looping VB Lesson 2.7: Arrays |
Visual Basic Activities:
(to be completed in addition to any on the left. If there are no links below, the activities are based on the lessons to the left) Activity 2.1: Create the Cashalator Activity 2.2: Create the Guessing Game Activity 2.3a: Create a Rounding Program Activity 2.3b: Concatenation Activity 2.3c: Sales Tax Calculator Activity 2.4: Temperature Converter (Click here for Help) Activity 2.5: Potato Calculator (use VB Lesson 2.5 on the left) Activity 2.6: Knight's Salary (from VB Lesson 2.6) Activity 2.7: Cut the Deck (from VB Lesson 2.7) Activity 2.8: Multidimensional Arrays |
Assignments:
VB Assignment 2.1 - Types of Procedures VB Assignment 2.2 - Spelling Program VB Assignment 2.3 - Hypotenuse Calculator (I might share a hint) VB Assignment 2.4 - Alarm VB Assignment 2.5 - Ralph & Nardine VB Assignment 2.6 - Secret Password (I might share a hint) VB Assignment 2.7 - Cut The Deck, Enhanced (I might share a hint) VB Assignment 2.8 - Heart Rate Program |
Quizzes:
Quiz 2.1/2.2 - VB Structure & Planning Quiz 2.3 - Variables Quiz 2.4 - Operators Quiz 2.7 - Arrays |
Unit 2 Final Assignments (All to be submitted through Google Classroom)
F 2.1 - Input/Output Control
- Sample Program
F 2.2 - Seating Plan Assignment
- Sample program for the Array
F 2.3 - Array of Months
- Sample Program
F 2.2 - Seating Plan Assignment
- Sample program for the Array
F 2.3 - Array of Months