exam1 - CS 177 Fall 2010 Exam I - There are 25 single...

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

View Full Document Right Arrow Icon
CS 177 Fall 2010 Exam I ------------------------------------------------------------------------------ 1 There are 25 single choice questions. Each one is worth 4 points. The total score for the exam is 100. Answer the questions on the bubble sheet given. Fill in the Instructor , Course , Signature , Test , and Date blanks in the bubble sheet. For “Instructor” put your RECITATION INSTRUCTOR’S LAST NAME given in the table below . For “Course” put CS 177. For “Test/Quiz” put 01 . Fill in the bubbles that correspond to your name, section and Student ID in the bubble sheet. For your section number, use the SECTION NUMBER of your recitation section. Consult the following list: Sec Rec Time Rec Room Rec Instructor 001 WED 08:30 BRNG 1242 Kazi Mohammad 002 WED 09:30 LWSN 1106 Ruby Tahboub 003 WED 10:30 LWSN 1106 Jin Yu 004 WED 11:30 LWSN B134 Gnana Kiruba Surendra Kumar 005 WED 14:30 LWSN 1106 Uzunbaz Serkan 006 FR 07:30 LWSN B134 Ruby Tahboub 007 FR 08:30 LWSN B134 Kazi Mohammad 008 FR 11:30 CL50 129 Gnana Kiruba Surendra Kumar 009 FR 13:30 BRNG 1230 Jin Yu 010 FR 15:30 LWSN B134 Uzunbaz Serkan 011 FR 16:30 HAAS G066 Uzunbaz Serkan For your student ID, use the 10 digit ID number on your student ID card. DO NOT USE YOUR SOCIAL SECURITY NUMBER! Exams without names will be graded as zero . Only the answers on the bubble sheet will be counted. The questions will be discarded. Remember to fill in also the fields on page 2.
Background image of page 1

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

View Full DocumentRight Arrow Icon
CS 177 Fall 2010 Exam I ------------------------------------------------------------------------------ 2 Recitation Section Number________________________________ Recitation TA’s Name________________________________ Student Last Name_________________________________ Student First Name_________________________________
Background image of page 2
CS 177 Fall 2010 Exam I ------------------------------------------------------------------------------ 3 Q1. The activity of converting data or information into some symbol is called: A) Recipe B) Encoding C) Decoding D) Algorithm Q2. The Central Processing Unit (CPU) does all the following except. ... A) Fetches instructions and data from memory B) Performs computations on the data based on the instructions C) Stores large quantities of data D) Sends results to output devices Q3. Consider the following function definition: def sum(a, b): c = a + b return c print “Hello World” What is the output when you execute sum(4,5) from the command window in JES? A) 9 B) Hello World C) 9 Hello World D) There is no output
Background image of page 3

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

View Full DocumentRight Arrow Icon
CS 177 Fall 2010 Exam I ------------------------------------------------------------------------------ 4 Q4. Consider the following three commands: (i) print range(10) (ii) print range(10,0) (iii) print range(0,10,1) Which of the above functions produce the same output? A) (i) and (iii) only
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/22/2012 for the course CS 177 taught by Professor Staff during the Fall '08 term at Purdue University-West Lafayette.

Page1 / 12

exam1 - CS 177 Fall 2010 Exam I - There are 25 single...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online