Tuesday, February 24, 2009

1.D state.toupper() = "alaska" orelse state.toupper() = hawaii
2. C firstnametextbox.text.toupper() = "bob"
3. B false
4. B false
5. A true
6. C paul
7. B jerry
8. C paul
9. D sue
10. C either true or false
11. D all of the above
12. C paul
13. C paul
14. B jerry
15. A advance.newline
16. D string.isnullorempty(cityname)
17. C messagebox.ok
18. B randomgeneraton.next(10,55)
19. C adresslabel.text = city & ", " $ state
20. B case 1 to 5

Thursday, February 5, 2009

Data Type - determions the type of data the variable can store
Floating Point –a number that is expressed as a multiple of some power of 10
Unicode- universial coding scheme for character













































Boolean Variables- stories Boolean values true asnd false
Identifier-the descriptive name to each variable












DIM- assinginng the program what to do dim label1 as “hi”



String- group of characters in quations marks “string”
Literal Constant-item of data whose value does not chage while running the program
Literal Type Character- literal constant to assume a data type Method-specific portion of class instructions
TryParse Method- converts a string into numbers
Line Continuation Character-breaks up a long instruction in two or more smaller ones Imports System.Globalization Convert Class-imports the system.globalization namespace
Precedence Numbers—indicates the order in which the computer Operators-a symbol ^,-,/
Scope- indicates where in the code the variable can be used
Lifetime- indicates how long the variable will last foreverProcedure Scope- on that procesdure can be use the variable
Comments- green lines of text green
Module Scope- when you declare a variable Block Scope- declared in a specific type of code
Static Variable-retains its value even when the procedure in which it is declared ends
Option Explicit- can be on or off


Option Strict- it is an option that can be on or off
Pseudocode- short phases used yo describe the steps in a procedure
Empty String-a zero length string ""


Focus Method- specified control while the app is running object.focus()
Format Specifier- determins what format to run Axx

How do you name a variable and provide one example. just title it title.yellowskateboards
How do you declare a variable and provide one example. set it as a dim dim owed as interger
What is the difference between DIM and Const? a dim can be changed as an interger but a constant has to stay the same dim yellowskatebaords as interger
How do you include a mathematical expression in assignment statements? totalprice = (totalskateboards * (1 + taxrate)
How do you clear the text property when application is running? use clear nametextbox.clear()
How do you format a number for output as a string? use totalskateboards.text = convert.tostring(totalprice)