mt2_spr10_Form_A - Midterm 2 CS105 Spring 2010 April 6th,...

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

View Full Document Right Arrow Icon
Midterm 2 CS105 Spring 2010 April 6 th , 2010 DO NOT START UNTIL INSTRUCTED TO DO SO. YOU WILL LOSE POINTS IF YOU START WORKING ON THE TEST BEFORE WE TELL YOU. THIS IS A 60 MINUTE EXAM. Do not leave this blank—fill it in now: Name: Discussion Section: TA: FORM A On the scantron: Use only a #2 pencil; otherwise, your exam won't be graded. Bubble in the Form Letter above!!! Bubble in your name and your NetID !!! Write your TA's name (of the section you attend) 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 17 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 60 minutes 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 name of the TA whose lab you attend: Time Wednesday Thursday Friday 9:00 am 105 – Ankeeth 113 – Damion 10:00 am 106 – Ankeeth 114 – Damion 11:00 am 107 – Aditya 115 – Yi-Shuan 12:00 pm 108 – Aditya 116 – Yi-Shuan 1:00 pm 109 – Chaitanya 117 – Ankit 2:00 pm 101 – Minas 110 – Chris 118 – Ankit 3:00 pm 102 – Minas 111 – Chris 119 – Chaitanya 4:00 pm 103 – Boonrod 112 – Bhagath 5:00 pm 104 – Onur NOTES: 1. Always choose one answer, the most correct choice of the answers offered. 2. For all questions with code fragments, the line numbers on the left are NOT part of the code. 3. Assume that any variables shown have been declared according to the course convention .
Background image of page 1

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

View Full DocumentRight Arrow Icon
CS105 Spring 2010 VBA 1. What is the result of executing the code shown below? ActiveCell.Interior.Color = ActiveCell.Font.Color a. It changes the font color of the currently selected cell to be identical to its current background color. b. It changes the border color of the currently selected cell to be identical to its current font color. c. It changes t he background color of the currently selected cell to be identical to its current font color. d. It will generate an error. Use the following code fragment for the NEXT question. Private Sub cmdRent_Click() Dim vntTerm as Variant vntTerm = "Summer" MsgBox IsValidTerm(vntTerm) End Sub Function IsValidTerm(vntTerm As Variant) As Boolean If vntTerm = "Summer" Or vntTerm = "Winter" _ Or vntTerm = "Fall" Or vntTerm = "Spring" Then IsValidTerm = True Else IsValidTerm = False End If End Function 2. What will be the prompt of the Message Box after the button cmdRent is clicked? a.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/15/2011 for the course CEE 105 taught by Professor Tom during the Spring '11 term at University of Illinois, Urbana Champaign.

Page1 / 17

mt2_spr10_Form_A - Midterm 2 CS105 Spring 2010 April 6th,...

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

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