Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS 101 Test 2 Study Guide Acronyms RAD - Rapid Application Development IDE - Integrated Development Environment GUI - Graphical User Interface VB - Visual.

Similar presentations


Presentation on theme: "CS 101 Test 2 Study Guide Acronyms RAD - Rapid Application Development IDE - Integrated Development Environment GUI - Graphical User Interface VB - Visual."— Presentation transcript:

1 CS 101 Test 2 Study Guide Acronyms RAD - Rapid Application Development IDE - Integrated Development Environment GUI - Graphical User Interface VB - Visual Basic ASCII - American Standard Code for Information Interchange If … Then …. Else Structures If testscore > 90 then grade = “A” else grade = “less than A” end if If condition then true statements else false statements end if Equivalent Example (Nesting vs. Simple) If grade > 90 then grade = “A” elseif grade > 80 then grade = “B” elseif grade > 70 then grade = “C” elseif grade >60 then grade = “D” else grade = “F” end if grade = “F” if grade > 60 then grade = “D” if grade > 70 then grade = “C” if grade > 80 then grade = “B” if grade > 90 then grade = “A” IDE Windows Solution Explorer Designer (Form window with component tray) Toolbox Properties Debug

2 CS 101 Test 2 Study Guide Control (s)PropertyMeaning AllTabindexthe order of this control when tabbing Label,Textboxtexttext shown in box Label,Textboxforecolor,backcolorcolor of text and backgrond Label,TextboxVisibleCan be seen by user Label,TextboxEnabledProperties can be changed Radio Button, Checkbox CheckedIf true, then user selected this control Radio Button, Checkbox Textthe text next to the control square of cirle ListboxSelectedValuethe text of the item that the user selected ListboxSelectedIndexthe position of the user selection in the listbox, starting from zero Adding to a listbox: mylistbox.items.add “choice 1” Removing from listbox: mylistbox.items.remove “bad choice”.Focus method moves the cursor to a control, like txtbox1.focus

3 CS 101 Test 2 Study Guide Difference between combo box and listbox - can add a new value to the combo box Difference between check box and radio button - only one radio button can be selected Difference between inputbox and msgbox - inputbox receives a user input value (string) Solutions contain many projects. Projects contain many forms. Events are raised when the user clicks or activates a control Rnd function returns a decimal number between zero and one. A timer object has an interval property in milliseconds (thousandths of a second) and tick event, each time the interval is reached. Dim statement - gives the name of a variable and its data format Dim intcount as integer Dim dblsum as double Dim strname as String Dim bolflag as boolean (true or false values)


Download ppt "CS 101 Test 2 Study Guide Acronyms RAD - Rapid Application Development IDE - Integrated Development Environment GUI - Graphical User Interface VB - Visual."

Similar presentations


Ads by Google