{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Exam2_08.1 - d all of the above e none of the above 3 void...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ENGR 112 TEST 2 Name:__________________ March 24, 2008 Lab Time:_______________ Section:_________________ Aggie Code of Honor: "An Aggie does not lie, cheat, or steal, or tolerate those who do." Each question has one best answer. Mark your answers on the Scantron provided. Each question is worth 2 points. 1. On a graphical window 800 wide by 600 high the lower right-hand corner is at coordinates a. (600, 0) b. (0, 800) c. (799, 599) d. (599, 799) e. none of the above 2. The code in Graph.h a. gives us access to our graphics library facilities b. calls FLTK routines c. must be compiled and linked with our graphics programs
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: d. all of the above e. none of the above 3. void f(int x); tells us a. f returns an object of type void b. f returns an object of type int c. f returns an object of type x d. f does not return a value e. none of the above 4. User-defined types a. are indicated by class or struct b. are not allowed in C++ c. can only be declared in a header file d. can only be defined in a header file e. none of the above 5. Arguments to a function may be a. by value b. by reference c. by const reference d. any of the above e. none of the above...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online