A 3 b 2 c 1 d none of these

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: print(‘yes’) is executed, how many times will ‘yes’ be printed? a) 3 b) 2 c) 1 d) none of these (2) Given: turtle1 = [[‘pos’, 0, 0], [‘heading’, 90] [‘color’, ‘yellow’]] When the statement turtle1[0] is executed, what will be the result? a) [‘pos’, 0, 0] b) [‘heading’, 90] c) [‘color’, ‘yellow’] d) none of these When the statement turtle1[2][1] is executed, what will be the result...
View Full Document

This note was uploaded on 02/12/2014 for the course CIS 122 taught by Professor Staff during the Spring '08 term at University of Oregon.

Ask a homework question - tutors are online