ENGR 126 Spring 2007 Exam 3 Solution

ENGR 126 Spring 2007 Exam 3 Solution - ENGR 126 Engineering...

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

View Full Document Right Arrow Icon
Engineering Problem Solving and Computer Tools Exam 3, page 1 of 2 Last, First PUID DivSec, Seat Assignment Problem # 1 (6 points, answer two of three) a) _ cp /fairway/References/Brown_R.doc /fairway/E126fall05/sample.doc b) _ cp . ./References/Brown_R.doc sample.doc _______________ c) _ cp Brown_R.doc . ./E126fall05/sample.doc ___________________ Problem # 2 (16 points) You will not necessarily use all the output lines provided. 1) __ k___j____kk____a ________ 2) _ _1___5____3_____ 5_______ 3) __ 1___3____3_____5 _______ 4) __ 1___1____3_____5 _______ 5) __ 3___5____5_____5 _______ 6) __ 3___3____5_____5 _______ 7) __ 3___1____5_____3 _______ 8) __ 5___5____5_____10 ______ 9) __ 5___3____5_____10 ______ 10) __ 5___1____5_____9 _______ 11) _________________________________________________________ Problem # 3 (12 points) Output from two loops LOOP 1 LOOP 2 Problem # 4 (6points) Translate a vector operation into an equivalent for loop. 9
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 09/14/2009 for the course ENGR 126 taught by Professor Oakes during the Fall '08 term at Purdue University-West Lafayette.

Page1 / 2

ENGR 126 Spring 2007 Exam 3 Solution - ENGR 126 Engineering...

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