VB Vocab Words

A/ Use the following heading in the top-left corner of the page:

John Doe
Visual Basic
Period 1
Unit 2

B/ Use copy and paste to copy the words in each list below into your Word document. You must use the font Calibri or Cambria and the font size of 10. Be sure to number each vocab word starting with the number 1.

C/ Type the vocab word followed by a hyphen and then two or more complete sentences that explain the use of the vocab term or that illustrates the meaning of the word. For example, the sentence         A Button is an example of an object.          and                  An object is an item that can be placed on a form.

D/ Make the vocab word bold where it appears in each of the sentences. Do not use a pronoun like the word "it" or "this". In other words, you must type the word (or a variation) in each sentence.

E/ Do not copy or plagiarize the teacher's lecture notes or any other website. Explain the vocab word in your own words. The definitions must be created without help or collaboration from other students.

F/ Retype and fully answer one of the essay questions in paragraph form after your vocab word entries. The paragraph should include a topic sentence, transitions, and a conclusion.

If you are asked to submit the actual file to the instructor, it must be named in the pdf format with the name VocabUnit1VBJohnDoe.pdf and the appropriate unit number and name.


---------------  Example -------------------------------

John Doe
Visual Basic
Period 1
Unit 2

1. CPU - A computer's CPU drives the main operations of the computer. The acronym CPU stands for central processing unit.
2. RAM - The RAM is the primary storage of the computer. The acronym RAM stands for random access memory.
3. ROM - The ROM cannot be overwritten or replaced since it is read only. ROM stands for read only memory.
4. bit - A bit is a binary digit (0 and 1) that computers use to represent decimal numbers. There are only two possible bit 
values, 0 and 1. 5. byte - A byte is made up of 8 bits. An example of a byte is 1011 1110.

The following definitions are incorrect.


1. CPU - It is part of a computer.
2. RAM - stands for random access memory. RAM is the memory in a computer.
3. ROM - The ROM cannot be overwritten since it is raed only. ROM stands for read only memory.
In #1, the word "It" is used in one of the sentences instead of the vocab term itself. Also, there is only one complete sentence instead of two.
In #2, the vocab term "RAM" isn't used in the first sentence. The first sentence is not a complete sentence since it doesn't have a subject.
In #3, the word "read" is misspelled as "raed". Also, ROM isn't bold in the second sentence.

-------------------------------------------------------------

Unit 1


1. object
2. property
3. method
4. interface
5. design time
6. run time 
7. bug
8. compile error
9. ENIAC
10. empty string

Unit 2


1. declaration statement
2. data type
3. Double data type
4. Integer data type
5. overflow
6. scope 
7. local variable
8. module variable  
9. Val
10. Str

Unit 3



1. PictureBox
2. difference between gif & jpg graphic file type
3. FromArgb
4. DrawLine
5. DrawRectangle

Choose an essay.
A. Describe the use of a PictureBox in Visual Basic. What are the features and limitations of this object?
B. What is a graphic file type? List some examples and any differences between them (having to do with Visual Basic or not.)
C. Describe how the method DrawRectangle is used. Be sure to explain the parameters that are used in the parentheses of a call statement.

Unit 4



1. For loop
2. loop iteration
3. infinite loop
4. body of a loop 
5. loop variable
6. tracing a loop 
7. fencepost error 
8. counter statement
9. compound operator 
10. to increment

Choose an essay.
A. Why are loops useful in computer programming?
B. Fully explain the fencepost error.

Unit 5


1. If statement 
2. relational operator
3. logical operator
4. truth table
5. control expression
6. nested If statement
7. Mod
8. Exit For

Choose an essay.
A. Explain a truth table by using real-life examples like "If you eat your asparagus and your broccoli, then your strict parent allows you to have dessert."
B. Explain how Mod can be used to determine if a number is a factor of another number. Be sure to give examples as well.

Unit 6


1. collision detection
2. MouseDown method
3. KeyDown method

Choose an essay.
A. Explain how collision detection is used with If statements to detect if a PictureBox crosses a horizontal or vertical line on a VB Form.
B. Explain how the KeyDown method can be used to make a VB program interactive. Illustrate your answer with an example (perhaps something similar to how your phone detects "touches" on its screen.)

Unit 7


1. Timer object 
2. Interval property of a Timer 
3. Enabled property of a Timer
4. PlaySound
5. wav format for audio files
6. mp3 format for audio files

Choose an essay.
A. Explain how a Timer can be used to make an enemy PictureBox move around the screen during an interactive VB program.
B. Explain the steps that a VB programmer must do to use sound effects in a VB program.

Unit 8


1. Rnd method 
2. Math.Pow
3. Math.Max
4. Math.Floor
5. call statement
6. function header
7. return type
8. parameter
9. passing a parameter 
10. reusability of functions

Choose an essay.
A. Explain the differences and similarities between a VB Function and a VB method (i.e. Private Function vs Private Sub).
B. Explain how the Rnd method can be used to generate pseudorandom whole numbers between 1 and 6 to simulate the roll of a die.

Unit 10


1. splash screen
2. While loop 3. infinite loop 4. flag variable 5. sentinel value 6. Exit While 7. array 8. Length method of an array 9. subscript 10. sequential search 11. binary search

Choose an essay.
A. Explain the differences between sequential and binary searches.
B. Give and explain an example of real word data (e.g. a roster of students taking a class) that would be stored in an array variable in VB. C. Explain how to make use of multiple Forms in a VB program.

Unit 11


1. string
2. leading space
3. null string
4. concatenation
5. Length method of a String
6. ToString method
7. Compare method
8. Trim method
9. Substring method
10. IndexOf method

Choose an essay.
A. Explain how String methods are used to manipulate words and phrases in VB.
B. Explain why the position of the last letter in a String such as "Wyomissing" (g is in position 9) is one less than what is considered to be the length of the string (10).