eecs280f13_MidtermExam

Circleallthatapplyifany a t i g p r y i t u y i t

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: t; n m hl(h< u){ sm+nm u u; } b) w i e f > n m hl(h> u){ sm+ u; u =nm } d) w i e s m + u ) { hl(u =nm f >nm h> u; } EECS 280 Fall 2013 5/19 uniqname: _________________________ Use the following code for question 1H: vi ernuaeit ) oddfaglt(n*p { p+ +; cu <* <"" ot< p< ; } vi lm( odfup) { ita]={1 2 3 4 5; n [ 1,2,3,4,5} it a2; n*r=& dfaglt() ernuaer; r+ +; cu <* <"" ot< r< ; } 1H) (2 Points) What prints out when we call flump()? Write your answer in the box. EECS 280 Fall 2013 6/19 uniqname: _________________________ Use the following code for question 1I: cntitNMM_NS=1; os n U_YIT 0 src hn tutTig { itm_nsNMM_NS; n yit[U_YIT] } ; vi o(hn*tigpr odfoTig hn_t) { cu <XXX <ed; ot< XXX< nl } 1I) (2 Points) What should replace "XXXXXX" to make the statement print out only the last number in the "my_ints" array? (Circle all that apply, if any.) a) * t i g p r > y i t U _ Y I T ) (hn_t...
View Full Document

This test prep was uploaded on 03/10/2014 for the course EECS 280 taught by Professor Noble during the Winter '08 term at University of Michigan.

Ask a homework question - tutors are online