Q_midterm2_f07 - Warning Concerning Copyright Restrictions...

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

View Full Document Right Arrow Icon
Warning Concerning Copyright Restrictions The Copyright law of the United States (Title 17, United States Code) governs the making of photocopies or other reproductions of copyright material. Under certain conditions specified in the law, libraries and archives are authorized to furnish a photocopy or other reproduction. One of these specified conditions is that the photocopy or reproduction not be "used for any purposes other than private study, scholarship, or research." If a user makes a request for, or later uses, a photocopy or reproduction for purposes in excess of "fair use," that user may be liable for copyright infringement.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Midterm 2 CS105 FALL 2007 1 October 30, 2007 DO NOT START UNTIL INSTRUCTED TO DO SO. YOU WILL LOSE POINTS IF YOU START WORKING ON THE TEST BEFORE WE TELL YOU TO. Do not leave this blank—fill it in now: Name: Discussion Section: TA: FORM B On the scantron: Use only a #2 pencil; otherwise, your exam won’t be graded. Bubble in the Form Letter above!!! Also, bubble in your name, and most importantly, your NetID. Write your TA’s name in the instructor slot and your section number in the section slot. Your section number is in the table provided at the bottom of this page. About the test: The exam consists of 20 pages . Check that your copy is complete, and ask for a replacement if it is not. Make sure you look at all the pages. You will have 1 hour to FILL IN THE SCANTRON for the exam. You may not use any books, notes, or other references for this exam. NO QUESTIONS WILL BE ANSWERED DURING THE EXAM. At the end of the exam, stop writing and put down your pencil when time is called. Hand in both the scantron and all the pages of the exam booklet. NO CALCULATORS OR ELECTRONIC DEVICES OF ANY KIND ARE ALLOWED. TURN OFF CELL PHONES AND PAGERS. IF A CELL PHONE RINGS, DO NOT ANSWER IT!! Discussion section numbers and TA names Time Wednesday Thursday Friday 9:00 am 104 – Mitya 114 – Kim 10:00 am 105 – Mitya 115 – Kim 11:00 am 106 – Muyuan 116 – Ganesh 12:00 pm 107 – Muyuan 117 – Ganesh 1:00 pm 108 – Bedoor 118 – Kumaresh 2:00 pm 109 – Bedoor 119 – Kumaresh 3:00 pm 101 – Ayesha 110 – Wen-Ting 120 – Abner 4:00 pm 102 – Dongyun 111 – Wen-Ting 121 – Abner 5:00 pm 103 – Dongyun 112 – Sonia 6:00 pm 113 – Sonia
Background image of page 2
Midterm 2 CS105 FALL 2007 2 Special Instructions As always, choose the most correct answer of the choices given. When you find variables in code fragments, assume that they have been properly declared. VBA Use the following code segment for the next TWO questions: If strLocation = "Coffee House" Then If strCup = "Empty" And Not (intMoney = 0) Then MsgBox "Moe, give me another Coffee" ElseIf strCup = "Full" Then MsgBox "I better finish my drink" Else MsgBox "Well, time to go back home" Exit Sub End If MsgBox "YES!" Else MsgBox "Honey, I am going to Moe's" End If 1. In the above code fragment, if strLocation = "Coffee House", strCup = "Full", and
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/08/2010 for the course CS 105 taught by Professor Gambill during the Spring '08 term at University of Illinois at Urbana–Champaign.

Page1 / 21

Q_midterm2_f07 - Warning Concerning Copyright Restrictions...

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

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