{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

cs103_test2_2009f_v_01

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

Info icon This 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.
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern