 |
 |
 |
 |
 |
CS 101: Introduction to
Programming
|
 |
|
 |
 |
If you plan to take CS 101 online, make sure your computer meets the
installation
requirements for Visual Basic Express.
Course Syllabus
-
Introduction to Visual Basic
- Constants (Boolean, Integer, Long, Single, Double, Currency,
Date, String, Variant)
- Public and Private
- Declaring variables (names, types, public/private, default
values)
- Assignment statement
- Arithmetic expressions
- MsgBox function
- InputBox function
- Logical Operators
- Comparison operators
- if...then... else... end if
- if...then...end if
- Select case statement
-
Loops in Visual Basic
- Do While condition... loop
- Do ... loop until condition
- For var = start To end{Step increment} ... Next var
- For Each element In group ... next element
- DoEvents
- Nested loops
- Testing for sentinel values
-
Testing and debugging your Code
- Using the Debug window
- Stepping through a program
- Using the Calls dialog box to trace procedure calls
-
Subroutines and Functions
- Subroutines and functions without parameters
- Value parameters
- Name parameters
- Built-in procedures
-
Arrays
- Declaring one dimensional arrays
- Assigning values to an array
- Passing arrays to procedures
- Sequential search
- Sorting algorithm
-
Dialog boxes
- Built-in dialog boxes
- Custom dialog boxes
-
Algorithms
- Sequential Search
- Finding minimum/maximum
- Bubble Sort
- Binary Search (optional)
- Selection Sort (optional)
-
Visual Basic and Access databases
- Active X controls
- Records in database tables
- Reports from database tables
Note
Five to seven Visual Basic assignments will be given during the
semester.
|
|
|
 |