![]() |
![]() |
![]() |
|
|
QUIZ 5
AIM - To Show understanding of Input and message Box. |
|
|
The answers to your questions will form the last file name in the URL. You need to click onto the radio buttons. If you have difficulty with any of the answers don't be disheartened, go back a few steps and re-read the last lesson. Only when you understand the vocabulary of programming will you have a solid foundation to build on. You have ONE try for each question. Question 1 The basic order of a computer program is? Process, Input and Output Purpose, Data Entry and Output Output, Input and Process
Input, Process and Output Question 2 An Input box will ALWAYS need? A Name A Variable To get the user's name To get the user's favourite colour
A new End statement Question 3 To store text the variable type I require is? Long Boolean Byte String
Integer Question 4 The code to display a price stored in the variable albumCost in a message box is? albumCost= "The cost is " & Cost msgbox "The cost is $" & (albumCost) albumCost= InputBox("Please enter tha album cost.") msgbox (The cost is) & "AlbumCost" MessageBox="(albumCost)" Question 5 Only one of the variable names below can be used to store a cost in a VB6 program, which one? 666Costings Cost# %Cost Cost of product
Cost Good Work - Can YOU Solve This? OK if you have 5 correct answers you have learnt well and are ready for the next level. Before you click the button write down the variable declaration to store the name of a book. The next page will give you the answer - try it yourself -NOW you'll learn more by having a go before you see the answer!!
Getting to the Next Lesson When you have 5 correct answers click the button. If you don't have the correct answers you will be taken back to the previous lesson. HINT
|
||
![]() |
||