exam2_SP10_3014

exam2_SP10_3014 - COP 3014 Exam 2 Spring 2010 Page 1 COP...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
COP 3014 Exam 2 Spring 2010 Page 1 COP 3014 Exam 2 Instructor: A.F. Tyson Spring Term 2010 April 2010 INSTRUCTIONS - READ CAREFULLY! All answers must be written on the scantron sheets provided by the teaching staff at the exam. Use a #2 pencil to fill in your answer sheet. Erase all changes clearly. Fill in the following information fields on your answer sheet, as follows: Instructor: A. Tyson Course: COP 3014 Section: leave blank Form: leave blank Date: enter current date Name: Print your FULL name in the boxes, last name first, then after that your first name , and fill in the bubbles below to code your full name into the test. Provide your name as it is stored in FSU Registrar's office records (i.e. no nicknames and no middle name instead of first name!) Special Coding Section: print your exam number in the boxes and fill in the bubbles to code it into the test (exam number is in upper right corner of exam paper front page) Identification Number: print the last 4 digits of your FSUSN in the boxes and fill in the bubbles to code it into the test Make absolutely sure your full name is correct both where it is written and in the bubbles which you fill in, because your name identifies your exam and your grade. No devices, papers or books of any kind are allowed in the exam room, with the exception of exactly one 8 1/2 x 11" crib sheet. If you are seen with anything other than a pencil, an eraser, a ruler, and this crib sheet, you will be required to leave and your exam grade will be a zero. Turn in your scantron sheet and your exam paper to the teaching staff when you are finished. Show the teaching staff your FSU ID when you turn in your exam materials and be sure that your exam number is recorded on the class roster. This exam contains 20 pages. There are 50 questions. Each question is worth 2 points, for a point total of 100.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
COP 3014 Exam 2 Spring 2010 Page 2 For Reference Use: C++ Precedence Rules (partial) :: Scope resolution operator Highest precedence . Dot operator -> member selection [] Array indexing () Function call ++ Postfix increment operator (placed after the variable) -- Postfix decrement operator static_cast ++ Prefix increment operator (placed before the variable) -- Prefix decrement operator ! Not - Unary minus + Unary plus * dereference & address of ~ complement new delete delete[] sizeof (type) older form of type cast .* member selection: object.*pointer_to_member ->* member selection: pointer->*pointer_to_member * Multiply / Divide % Remainder (modulo) + Addition - Subtraction << Insertion operator (output) >> Extraction operator (input) <, <= Less than, less than or equal >, >= Greater than, greater than or equal == Equal != Not equal && And || Or = Assignment +=, -= Add and assign, subtract and assign *= Multiply and assign Lowest precedence /=, %= Divide and assign, modulo and assign ?: conditional operator throw throw exception , comma operator
Background image of page 2
COP 3014 Exam 2 Spring 2010 Page 3 TRUE/FALSE: GENERAL. Answer the following questions with
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 21

exam2_SP10_3014 - COP 3014 Exam 2 Spring 2010 Page 1 COP...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online