CS1371_Fall_2009_PracticeTest3_Solutions - CS1371 Computing...

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

View Full Document Right Arrow Icon
CS1371 – Computing for Engineers Practice Test 3 Fall 2009 Page 1 of 5 Georgia Institute of Technology College of Computing CS1371 Computing for Engineers Practice Test 3 - Fall Semester 2009 Multiple Choice 1. Which of the following is necessary for a function to be recursive? I. Must have a condition in which a clone of the function is not called II. Must use iteration III. Must call a clone of itself A. I only B. III only C. I, II, and III D. II and III only E. I and III only
Background image of page 1

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

View Full DocumentRight Arrow Icon
Fall 2009 Page 2 of 5 Bodies of Rotation 1. Given: u = linspace(10,20,30); v = sin(u); plot(u,v) Then, the line is rotated around some axis to produce the following figure. If u is mapped to the X-Axis and v is mapped to the Z-Axis, around which axis is the line rotated? x-axis What graphing command was used to produce this figure? surf th = linspace(0,2*pi); [uu tth] = meshgrid(u,th); vv = meshgrid(v,th); rr = vv; xx = uu; yy = rr.*cos(tth); zz = rr.*sin(tth); surf(xx,yy,zz) shading interp xlabel(‘Something’) ylabel(‘Something’) zlabel(‘Something’)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/21/2011 for the course CS 1371 taught by Professor Stallworth during the Fall '08 term at Georgia Tech.

Page1 / 5

CS1371_Fall_2009_PracticeTest3_Solutions - CS1371 Computing...

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

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