Workshop

   

The Workshop is designed to help you anticipate possible questions, review what you've learned, and get you thinking about how to put your knowledge into practice. The answers to the quiz are in Appendix A,"Answers to Quizzes/Exercises."

Quiz

1:

To get only the remainder of a division operation, you use which operator?

2:

Which operation is performed first in the following expression ”the addition or the multiplication?

graphics/13equ05.gif


3:

Does this expression evaluate to true or to false?

 ((true  true) && false) == !true 
4:

Which Boolean operator performs a logical negation?

5:

The process of appending one string to another is called?

6:

What property can be used to return the month of a given date?

Exercises

  1. Create a project that has a single text box on a form. Assume the user enters a first name, a middle initial, and a last name into the text box. Parse the contents into three variables ”one for each part of the name.

  2. Create a project that has a single text box on a form. Assume the user enters a valid birthday into the text box. Use the date functions as necessary to tell the user the number of the month in which they were born.


   
Top


Sams Teach Yourself C# in 24 Hours
Sams Teach Yourself Visual Basic 2010 in 24 Hours Complete Starter Kit (Sams Teach Yourself -- Hours)
ISBN: 0672331136
EAN: 2147483647
Year: 2002
Pages: 253
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net