Title: Lesson 4 Review
1 2Jeopardy Game Rules
- Click on any question you wish to answer but
answer each question only once. - If you answer correctly, add the money amount to
your total winnings. You may want to write the
amount on paper as you go. - If you miss a question, you do not have to
subtract the amount from your total. - You can play by yourself or take turns with a
friend. - To stop the game, right click and choose End
Game.
3VB Code
VB Terms
Operators in VB
Other VB Stuff
100
100
100
100
200
200
200
200
300
300
300
300
400
400
400
400
500
500
500
500
4VB Terms
VB Code
Operators in VB
Other VB Stuff
100
100
100
100
200
200
200
200
300
300
300
300
400
400
400
400
500
500
500
500
5VB Terms 100
- The text after the apostrophe in the VB code
window is referred to as
6VB Terms 200
The underscore ( _ ) in the example below is
referred to as Example Calculate Total
Expenses lblTotalExp.CaptionVal(txtRent.Text)Val
(txtPayroll.Text) _ Val(txtUtil.Text)Val(txtSupp
.Text)Val(txtOther.Text).
7VB Terms 300
- Fields placed on dialog boxes and in other
windows that allow the user to enter a number.
8VB Terms 400
- Symbols that perform specific operations in VB
statements.
9VB Terms 500
- The process of removing the fractional portion
of a number.
10VB Terms 100-Answer
11VB Terms 200-Answer
What is a line continuation character?
12VB Terms 300-Answer
13VB Terms 400-Answer
14VB Terms 500-Answer
15VB Code 100
- The code to exit a program.
16VB Code 200
- After the code below is executed, what would be
displayed in the caption property of the label
named Total? - lblTotal.Caption 6 5
17VB Code 300
- This function is used in code to convert numeric
text into a numeric value.
18VB Code 400
- Which of the following lines of code
- below would have an integer displayed
- as the answer?
- txtSales.Text / txtExp.Text 100
- imgSun.Visible True
- Val(txtRent.Text) / Val(lblTotalExp.Caption)
100 - Fix(Val(txtRent.Text) / Val(lblTotalExp.Caption)
100)
19VB Code 500
- Which line of code below will calculate the
- result of adding values in two textboxes, named
- Number 1 and Number 2, and display the result
- in a label named Answer?
- txtAnswer.Text Val(lblNumber1.Caption)
Val(lblNumber2.Caption) - lblAnswer Val(lblNumber1) Val(lblNumber2)
- lblAnswer.Caption Val(txtNumber1.Text)
Val(txtNumer2.Text) - lblAnswer.Caption Val(txtNumber1.Text)
Val(txtNumber2.Text)
20VB Code 100-Answer
-
- What is the end statement?
21VB Code 200-Answer
22VB Code 300-Answer
- What is the Val function?
23VB Code 400-Answer
- What is
- D. Fix(Val(txtRent.Text) / Val(lblTotalExp.Captio
n) 100)
24VB Code 500-Answer
- What is
- D. lblAnswer.CaptionVal(txtNumber1.Text)Val(txtN
umber2.Text)
25Operators in VB 100
- The multiplication operator is represented by
this character.
26Operators in VB - 200
- To change a positive number to negative you would
us this operator.
27Operators in VB - 300
The name of this operator
28Operators in VB 400
- The operator returns the remainder of integer
division.
29Operators in VB 500
This operator is represented by a backward ( \ )
slash.
30Operators in VB 100-Answer
31Operators in VB 200-Answer
- What is the subtraction/ unary minus operator
(-)?
32Operators in VB 300-Answer
- What is the assignment operator?
33Operators in VB 400-Answer
- What is the modulus (MOD) operator?
34Menus in VB 500-Answer
- What is integer division?
35Other VB Stuff 100
- The object naming prefix for a textbox.
36Other VB Stuff 200
This is another name for a whole number.
Daily Double
37Other VB Stuff 300
- This function removes the fractional part of a
number.
38Other VB Stuff 400
- Another name for hard-coded values.
39Other VB Stuff 500
- This is what BASIC stands for.
40Other VB Stuff 100-Answer
41Other VB Stuff 200-Answer
42Other VB Stuff 300-Answer
- What is the Fix function?
43Other VB Stuff 400-Answer
44Other VB Stuff 500-Answer
- What is Beginners All-Purpose Symbolic
Instruction Code?
45Final Jeopardy
- Get ready for the Final Jeopardy Round!
46Final Jeopardy
- Write the code to multiply two values in two
textboxes named Number1 and Number2 and display
the result in a label named Total.
47Final Jeopardy-Answer
- What is
- lblTotal.Caption Val(txtNumber1.Text) _
- Val(txtNumber2.Text)
48Study for the Lesson 4 Test!Thanks for
playing Jeopardy!