This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: INFS 310: Midterm Sample Examination page 1 of 4 GEORGE MASON UNIVERSITY INFS 310 Name _____________________________________ Professor R. Baum Total No. Points: 200 MIDTERM EXAMINATION CLOSED BOOK Answer question (1) (all parts) on your SCAN-TRON form. Answer the remaining questions on this examination copy.  (1) Please select the best answer, and mark the corresponding answer on the SCAN-TRON sheet. Make sure the number of the response corresponds to the question number. Use a #2 pencil if ink is used, the SCAN-TRON will not be graded. Please put your name on the SCAN-TRON form. If any corrections are made, be certain the erasure is complete. NOTE: each question is worth 3 points. TRUE-FALSE If your answer is true, shade T on the SCAN-TRON sheet; if FALSE, shade F. (1) Visual Basic uses pass-by-reference as the default method for parameter passing. (F) (2) Pass-by-value is more efficient to use than pass-by-reference. (F) (3) A variable in VB contains no specific value until it is assigned a value. (F) (4) The VB declaration Dim str(6) As String specifies that str is a string of 6 characters. (F) (5) It is possible that the body of a pretest is not executed when the pretest itself is executed. (T) (6) In VB, the result of the calculation 8/4 *2 is 1. In VB, the result of the calculation 8/4 *2 is 1....
View Full Document
- Spring '11