{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

t2vD - ret = 0 else switch vec(1 case'a'e'i'o'u ret = 1...

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

View Full Document Right Arrow Icon
CS1371 – Test 2 Version D Solutions October 24th, 2007 CS 1371 Computing for Engineers Test 2 Version D Solutions – Fall Semester 2007 Problem 1 – Structure Arrays [50 Points] 1. varA = B. {‘Name’;’Type’;’Position’} 2. varB = C. 1 3. varC = D. 0 4. varD = C. ’TaylorTashardPhilipTravis’ 5. varE = A. [13 22 100] 6. varF = C. ’QBRBLBK’ 7. varG = D. Error Problem 2 – File I/O [50 Points] 1. varA = C. ‘Dave’ 2. varB = B. 13 3. varC = A. 2 4. varD = A. 0 5. varE = B. 1 6. varF = A. 0 Problem 3 – Recursion [50 Points] A. function ret = rec_Vowels(vec) if length(vec)==0
Image of page 1

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

View Full Document Right Arrow Icon