To get only the remainder of a division operation, you use which operator?
2.
Which operation is performed first in the following expressionthe addition or the multiplication? x = 6 + 5 * 4
3.
Which Boolean operator performs a logical negation?
4.
The process of appending one string to another is called?
5.
What property can be used to return the month of a given date?
Answers
1.
The (%) operator.
2.
5 * 4 is performed first.
3.
The Not operator (!).
4.
Concatenation
5.
Month
Exercises
1.
Create a project that has a single text box on a form. Assume that the user enters a first name, a middle initial, and a last name into the text box. Parse the contents into three variablesone for each part of the name.
2.
Create a project that has a single text box on a form. Assume that the user enters a valid birthday into the text box. Use the date functions to tell the user exactly how many days old he or she is.