Wednesday, February 25, 2009

KURL

1. Dim item As Integer _ Dim price As Decimal

2. Dim height As Decimal _ Dim weight As Integer

3. MiamiLabel.Text = String. City

4. totalSales.Text = sales1 + sales2

5. Dim salary As Decimal _ (salary * 1.5D)

6. Term = ToString. employeeName

9. Dim isConverted As Boolean _ isConverted = Integer.TryParse(unitsLabel.Text

15. a special type of procedure-level variable that retains its value even when the procedure ends.

Pg. 260

7. If carTextBox.Text = String.”grand Am” Then display.String.”Pontiac”

8. If units < messagelabel =" String. “Entry Error” _ Else Display.String. “Valid Number”

9. If quantity < text =" “Reorder”" text =" “OK”

13. Dim hours As Integer

Dim hourRate As Integer

Dim gross As integer

Gross = (hours * hourRate * 1.5D)

Tuesday, February 24, 2009

Questions

1. B. sales > 500D OrElse <800D
2. C. firstNameTextBox.Text.ToUpper( ) = “BOB”
3. B. False
4. A. True
5. A. True
6. C . Paul
7. B. Jerry
8. D. Paul
9. D. Sue
10. A. only the true path
11. C. Case 1 To 4
12. C. paul
13. C. Paul
14. D. Sue
15. A. Advance.NewLine
16. C. string.IsEmptyOrNull(cityName)
17. D. MessageResult.OK
18. B. randomGenerator
19. D. addressLabel.Text = “city,” & “state”
20. A. Case 1, 2, 3, 4, And 5

Questions

1. B. sales > 500D OrElse <800D
2. C. firstNameTextBox.Text.ToUpper( ) = “BOB”
3. B. False
4. A. True
5. A. True
6. C . Paul
7. B. Jerry
8. D. Paul
9. D. Sue
10. A. only the true path
11. C. Case 1 To 4
12. C. paul
13. C. Paul
14. D. Sue
15. A. Advance.NewLine
16. C. string.IsEmptyOrNull(cityName)
17. D. MessageResult.OK
18. B. randomGenerator
19. D. addressLabel.Text = “city,” & “state”
20. A. Case 1, 2, 3, 4, And 5

Friday, February 6, 2009

Vocab

Data Type - Determines the type of data the variable can store,


Boolean Variables - Memory locations where programmers can temporarily store data while an application is running


String - A group of characters enclosed in quotation mark


Method - Specific portion of the class instructions, and its purpose to perform a task for the class.


Imports System.Globalization - Imports the syste.globalization namespace, which contains the definitions for numbersyles and numberformatinfo.currentinfo values.


Operators - Operators have the same precedence number


Procedure Scope - Only that procedure can use the variable


Block Scope - Declares a procedure that can use a block level variable.


Option Strict - Ensures that the options are set to On.


Focus Method - To move the focus to a specific control while the application is running

.

Floating Point - A number that is expressed as a multiple of 10.


Identifier - The name of a object


Literal Constant - Item of data wholse value does not change while the application is running.


Try Parse Method - Can be used to convert a string to that numeric data type.


Convert Class - Indicates how long the variable remains in the computer’s internal memory.


Scope - Indicates how long the variable remains in the computer’s internal memory.


Comments - Used to internally document the procedure


Static Variable - A procedure-level variable that retains its value even when the procedure in which it is declared ends.


Pseudocode - Uses short phrases to describe the steps a procedure needs to take to accomplish its goal.


Format Specifier - The form Axx where A is an alphabetic character called the format specifier.


Unicode - The universal coding scheme for characters.


DIM - indicates that you can select only one of the keywords appearing within the braces.


Literal Type Character - Forces a literal constant to assume a data type other than the one its form indicates.


Line Continuation Character - Breaks up an instruction into two or more physical linesi the Code Editor window.


Precedence Numbers - Indicates the order in which the computer performs the operation in an expression.


Lifetime - indicates how long the variable remains in the computer’s internal memory.


Module Scope - Is within a module – level variable.


Option Explicit - Ensures that the options are set to On.


Empty String - Also calles a zero-length string