Cases – Pemrograman Visual Matakuliah : T0063

advertisement
Matakuliah
Tahun
: T0063 – Pemrograman Visual
: 2009
Cases
Cases
1. Explain the difference between pseudocode and
actual program code (ch1 #2)
2. Create a visual basic.net project that has a form
with a text box control, a button control and a
label control. The text box control should accept
user entry. Write code that allows user to click a
button to copy the text in the text box and place
in the text property of a label control.
Bina Nusantara University
2
Cases (cont …)
Don’t forget to name all of the controls
with their proper prefixes.(ch2 #1)
3. Create a visual basic.net project that compares two
string values entered by the user. The form should
have two text boxes with corresponding labels
captioned ‘String 1’ and ‘String 2’, and a button
captioned ‘compare strings’.
Bina Nusantara University
3
Cases (cont …)
At run time , the user should first enter values into the
text boxes, and then click the button. The button’s event
procedure should then compare the two values in the
text boxes and accordingly display either the message
‘string 1 is less’ or the message ‘string 2 is less’. (ch4 #3)
Bina Nusantara University
4
Download