Overview
This introductory 5-day, lecture and laboratory course teaches people with little or no programming experience how to program with the Visual Basic programming language. Topics include introductory object-oriented programming, algorithmic thinking, problem solving, control statements, primitive types, operators, keyboard input, screen output, methods (user-defined and API), arrays and strings. The course offers extensive laboratory experience. Solutions are provided for laboratory exercises. The course includes approximately 60% lecture and 40% laboratory exercises. After taking this course, students will be prepared to take VB102—Introduction to Visual Basic for Non-Programmers: Part 2.
Our introductory classes emphasize achieving program clarity through the proven software-development techniques. Nonprogrammers learn skills that underlie good programming through dozens of complete, working programs—we call this the live-code approach. This hands-on approach rapidly builds the confidence of new programmers, because all programming concepts are presented in the context in which they will be used.
Prerequisites
- Little or no previous programming experience
- General familiarity with your operating system environment
- Ability to create and edit text files
Introduction
Introduction to the Visual Studio Express IDE
- Covered in the context of all the examples presented
Introduction to Visual Basic Programming
- Displaying a Line of Text
- Creating Your First Program in Visual Basic Express
- Displaying a Single Line of Text with Multiple Statements
- Adding Integers
- Decision Making: Equality and Relational Operators
- Using a Message Dialog to Display a Message
Introduction to Classes and Objects
- Classes, Objects, Methods and Instance Variables
- Declaring a Class with a Method and Instantiating an Object of a Class
- Declaring a Method with a Parameter
- Instance Variables and Properties
- Value Types and Reference Types
- Initializing Objects with Constructors
- Validating Data with Set Accessors in Properties
Control Statements: Part 1
- Algorithms
- Pseudocode
- Control Structures
- If…Then Selection Statement
- If…Then…Else Selection Statement
- While Repetition Statement
- Do While…Loop Repetition Statement
- Do Until…Loop Repetition Statement
- Compound Assignment Operators
- Formulating Algorithms: Counter-Controlled Repetition
- Formulating Algorithms: Sentinel-Controlled Repetition
- Formulating Algorithms: Nested Control Statements
- Formulating Algorithms: Nested Repetition Statements
- Visual Basic Programming in a Windows Forms Application
Control Statements: Part 2
- Essentials of Counter-Controlled Repetition
- For…Next Repetition Statement
- Examples Using the For…Next Statement
- GradeBook Case Study: Select…Case Multiple-Selection Statement
- Do…Loop While Repetition Statement
- Do…Loop Until Repetition Statement
- Using Exit in Repetition Statements
- Using Continue in Repetition Statements
- Logical Operators
Methods: A Deeper Look
- Modules, Classes and Methods
- Subroutines: Methods That Do Not Return a Value
- Functions: Methods That Return a Value
- Shared Methods and Class Math
- GradeBook Case Study: Declaring Methods with Multiple Parameters
- Notes on Declaring and Using Methods
- Method Call Stack and Activation Records
- Implicit Argument Conversions
- Option Strict and Data-Type Conversions
- Value Types and Reference Types
- Framework Class Library Namespaces
- Passing Arguments: Pass-by-Value vs. Pass-by-Reference
- Scope of Declarations
- Case Study: Random-Number Generation
- Case Study: A Game of Chance
- Method Overloading
- Optional Parameters
Arrays
- Declaring and Allocating Arrays
- Examples Using Arrays
- Allocating an Array
- Initializing the Values in an Array
- Summing the Elements of an Array
- Using Arrays to Analyze Survey Results
- Using Bar Charts to Display Array Data Graphically
- Using the Elements of an Array as Counters
- Case Study: Card Shuffling and Dealing Simulation
- Passing an Array to a Method
- For Each…Next Repetition Statement
- GradeBook Case Study: Using an Array to Store Grades
- Sorting an Array with Method Sort of Class Array
- Searching Arrays
- Rectangular Arrays
- GradeBook Case Study: Using a Rectangular Array
- Variable-Length Parameter Lists
- Jagged Arrays
- Changing the Size of an Array at Execution Time: Using the ReDim Statement
- Passing Arrays: ByVal vs. ByRef
Price
- $12,995 lecture fee for up to 20 students maximum. Add $1,000 for international or custom classes.
- Client purchases the books, at its own expense, directly from Pearson (the publisher) at the discounted Deitel rate.
- Instructor Travel Reimbursement (if travel is required).
Courses in the Visual Basic Curriculum
