Quiz4 Questions - EGR 113: Computer Aided Engineering Quiz...

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

View Full Document Right Arrow Icon
EGR 113: Computer Aided Engineering Quiz #4 1. x = [6, 3, 9] y = [14, 2, 9] z = (x ==y) = 001 2. x = [6, 3, 9] y = [14, 2, 9] z = (x ~= y) = 110 3. x = [6, 3, 9] y = [14, 2, 9] = 000 4. x = [6, 3, 9] y = [14, 2, 9] z = (x==y) | (x~=y) = 111 5. x = [6, 3, 9] y = [14, 2, 9] z = find([x y] == 2) = 5 6. Match the term with its definition. 1) algorithm-ordered sequence of precisely defined instructions that preform some task 2) sequence operation-instructions are executed in order 3) conditional operation-control structures that first ask a question then act depending on answer 4) iterative operations- control structures 5) structured programming-technique for designing programs in which a heirarchy of modules is used 6) spaghetti code – composed of a complex tangle of branches 7) top down design- high level that branches to more detail 8) modules-facilitates revision of code 9) structure chart- a display of program 10) flowchart – a display of program paths 11) comments – documents the code
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 04/18/2008 for the course ENGR 103 taught by Professor Leigh during the Spring '08 term at Alfred University.

Page1 / 3

Quiz4 Questions - EGR 113: Computer Aided Engineering Quiz...

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