Shared Flashcard Set

Details

VB Quiz 2
N/A
16
Computer Science
Undergraduate 1
03/06/2013

Additional Computer Science Flashcards

 


 

Cards

Term
lblAddress.Text = strAddress.TrimEnd()
Definition
How to format a label when assigning a string to it
Term
Nested if
Definition
What is an if statement inside of another if statement called
Term
strLastName = txtLastName.Text.ToUpper()
Definition
How ToUpper() works with strings
Term
ToUpper
Definition
How to convert a copy to all uppercase letters
Term
Items.Clear
Definition
What method erases all items in a ListBox
Term
Insert Method
Definition
Add items to a listbox manually.
Term
ScrollAlwaysVisible
Definition
How to make a scrollbar appear in a ListBox at runtime
Term
Items
Definition
What property is used to store ListBox entries
Term
(0)
Definition
Index of the first item in a listbox
Term
Do While loop
Definition
Type of loop which repeats as long as the condition remains true
Term
strUserInput = InputBox("Enter your First Name", "Enter Name")
Definition
The syntax for correctly displaying an InputBox
Term
 Dim intCount As Integer = 3
Do
intCount += 6
Loop While intCount < 20
Definition
Given four (4) chunks of code and procedures in those chunks which one will accurately keep track of the count
Term
 Sub GetInput(ByRef intNumber As Integer)
intNumber = CInt(InputBox(“Enter an Integer”))
End Sub
Definition
Which one correctly assigns the InputBox value to an integer
and returns the integer ByRef
Term
Function Average(ByVal intX As Integer, ByVal IntY as Integer, _
ByVal intZ As Integer) As Single

Return (intX + intY + intZ) / 3
End Function
Definition
A correct Function
Term
Public
Definition
If a procedure doesn’t have an access specifier, what’s the default
Term
Input box, text box
Definition
What controls and methods provide a simple way to get input from the user
Supporting users have an ad free experience!