CS 1371 stuff Gatech - CS1371 Computing for Engineers...

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

View Full Document Right Arrow Icon
CS1371 – Computing for Engineers Practice Test 1 Fall 2009 Page 1 of 4 Georgia Institute of Technology College of Computing CS1371 Computing for Engineers Practice Test 1 - Fall Semester 2009 Multiple Choice 1. Which one of the following statements is *false* about function headers? A. An equal sign (=) is only required if there is output B. Multiple inputs must be separated by commas C. Multiple outputs must be in parenthesis and multiple inputs must be in square brackets D. The function must have a name E. Outputs are not required 2. Given: str = 'I love CS' Which one of the following will result in an error? A. str(end) = 5; B. str = str + 2; C. str(str=='CS') = []; D. str = [str str(5:1)]; E. None of the above 3. Which one of the following produces an error in MATLAB? A. vec = linspace(0, -10, 1) B. vec = [true false 5 true true] C. vec = 10:1 D. vec(1:3) = 4:6 E. None of the above. 4.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
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 Institute of Technology.

Page1 / 4

CS 1371 stuff Gatech - CS1371 Computing for Engineers...

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

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