|
|
Monday, September
11, 2006 |
|
Test
1 -- Elements of Syntax |
Material Covered:
You will be asked to recognize the
following elements of Java syntax in some Java code:
- C style comments
- C++ style comments
- keyword
- import statement
- directory path
- class definition
- identifier
- class name
- object name
- variable name
- data type
- return type
- method definition
- method name
- method call
- function definition
- function name
- function call
- formal parameter
- formal parameter list
- block
- object declaration
- variable declaration
- object initialization
- variable initialization
- function call
- method call
- function argument
- method argument
- String literal
- numeric literal
- character literal
- boolean literal
- intrinsic data type
- assignment statement
- expression
- operand
- operator
- String concatenation operator
Questions:
18 fill-in-the-blank questions or
multiple-fill-in-the-blank questions. The answers
will be solely from the above list, exactly as written. You will have
access to the above list during the test. If there are multiple correct
answers, you will get full credit for any of the correct answers. If there
are multiple blanks, however, you must have a correct answer in each blank.
Multiple-fill-in-the-blank-questions will only be used if there are three or
more possible correct answers, and the multiple blanks will test if you know
those multiple answers.
Environment:
-
Taken on Angel at the end of a regular
class.
-
About 30 minutes, from 11:50 to 12:20 (a
little extra time if you need it).
-
Closed book, closed notes, closed computer,
closed e-mail, closed sign language,,,
Practice
Questions:
I have
posted a two question practice test on Angel. The twelve questions on Quiz
1 will be exactly like these practice questions.
Date:
Monday,
September 11th from 11:50 to 12:30 (a little extra time if you need it)
Grading:
-
8 points - 1 point for each 2 correct
answers. You can miss 2 questions and still get full credit for this test.
-
Since Angel will only allow 1 point per
question minimum, you will receive a raw score for the test from Angel.
-
I will convert the raw score to the final
score by counting the number of correct answers, up to 10, and divide by two.
Fractions will be rounded down
-
0 or 1 correct - 0 points
-
2 or 3 correct - 1 point
-
4 or 5 correct - 2 points
-
6 or 7 correct - 3 points
-
8 or 9 correct - 4 points
-
10 or 11 correct - 5 points
-
12 or 13 correct - 6 points
-
14 or 15 correct - 7 points
-
16, 17, or 18 correct - 8 points