cs103_test2_2009f_v_01

cs103_test2_2009f_v_01 - CS 103 Test 2 Fall 2009 Enter your...

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

View Full Document Right Arrow Icon
CS 103 Test 2 Fall 2009 Enter your answers into the M-files provided. Suppress all printing to the Command Window. Problem 1. (15 points) A. Polymorphism is 1. Dependence of the behavior of a function on the type of its input arguments 2. Dependence of the behavior of a function on the number of its input arguments 3. Dependence of the behavior of a function on the number of its output arguments 4. All of the above. B. In the format string of a call of the function fprintf , some characters are not printed. Examples include 1. Escape characters 2. Conversion characters 3. Format specifiers 4. All of the above C. Which of the following calls of built-in Matlab functions causes a red line to be printed? 1. plot(x,y) 2. plot(x,y,’r’) 3. plot_color(x,y,1) 4. None of the above D. Which of the following functions is used to determine the maximum level of error propagation in the solution of Ax = b ? 1. error 2. determ 3. cond 4. None of the above E. The built-in function eye returns 1. a matrix of all zeros except for the center element, which equals 1.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/12/2009 for the course CS CS 103 taught by Professor Fitzpatrick during the Spring '09 term at Vanderbilt.

Ask a homework question - tutors are online