Visual Basic REVIEW

advertisement
Test Review: Visual Basic
Chapter 1: Intro to Visual Basic = Objectives
•
•
•
•
•
•
•
•
•
Explain the history of programming languages
Define the terminology used in object-oriented programming
• Programming (pages 2 – 3)
• Programming languages
• Assembler
• Programs
• Interpreter
• Procedure-oriented program
• OOP
• Properties
• Methods or behaviors (page 5)
• Attributes or properties
• IDE – page 6
Explain the role of the .NET Framework class library and Common Language Runtime (CLR)
Create a Visual Basic 2005 Windows-based application
Manage the windows in the Integrated Development Environment (IDE)
Set the properties of an object
Add a control to a form
Use the Label, Button and PictureBox tools
Enter code in the Code Editor window
Chapter 2: Creating a User Interface - Objectives
•
•
•
•
•
•
Plan an application
Complete a TOE chart; page 72 - 873
Use a text box, table layout panel, and timer
Explain the difference between a
primary window and a dialog box;
pages 78 - 80
Follow the Windows standards
regarding the layout and labeling of
controls; page 81
Follow the Windows standards
regarding the use of graphics, fonts,
and color; page 81 - 85
Chapter
3:
Variables,
Constatnts,
Methods,
&
Calculations
•
•
4
Declare variables and named constants
Assign data to an existing variable
See screen print below:
•
•
•
•
•
Convert data to the
appropriate
type
using the TryParse
method and the
Convert
class
methods
Write
arithmetic
expressions
Understand
the
scope and lifetime of
variables and named
constants
Understand
the
purpose
of
the
Option
Explicit,
Option Strict, and
Imports statements
Page 153 - 156
Use a TOE chart,
pseudocode, and a
flowchart to code an
application
Chapter 4: Making Decisions
•
•
•
•
•
•
•
•
•
4
Include the selection structure in pseudocode and in a flowchart
Write an If…Then…Else statement
Write code that uses comparison operators and logical operators
Create a
variable
having blockscope
Concatenate
strings
Use the
ControlCh
ars.NewLi
ne constant
Change the
case of a
string
Determine
whether a
string
contains data
Display a message in a message box
Chapter 5: Looping or
Repeating
Program
Instructions - Objectives
•
•
•
•
•
•
•
Include the repetition structure in
pseudocode and in a flowchart
Write a For...Next statement
Calculate a periodic payment using
the Financial.Pmt method
Include a list box and a combo box
in an interface
Write a Do...Loop statement
Initialize and update counters and
accumulators
Display a dialog box using the
InputBox function
Chapter
7:
Functions
•
•
•
•
•
•
•
Sub
and
Explain the difference between a Sub procedure and a Function procedure
Create a Sub procedure
Create a procedure that receives information passed to it
Explain the difference between passing data by value and passing data by reference
Explain the purpose of the sender and e parameters
Associate a procedure with more than one object and event
Create a Function procedure
Chapter 8: Arrays
•
•
•
•
•
•
•
•
•
•
4
Declare and initialize a one-dimensional array
Store data in a one-dimensional array
Display the contents of a one-dimensional array
Code a loop using the For Each…Next statement
Access an element in a one-dimensional array
Search a one-dimensional array
Compute the average of a one-dimensional array’s contents
Find the highest entry in a one-dimensional array
Update the contents of a one-dimensional array
Sort a one-dimensional array
4
Download