THE UNIVERSITY OF BRITISH COLUMBIA CPSC 110: MIDTERM 1 Part B May 26, Important notes about this examination
|
|
- Bertram Stone
- 5 years ago
- Views:
Transcription
1 THE UNIVERSITY OF BRITISH COLUMBIA CPSC 110: MIDTERM 1 Part B May 26, 2014 Last Name: First Name: Signature: UBC Student #: Important notes about this examination 1. This exam has two separate parts. Your time to complete the first part is 50 minutes. After that time, Part A will be collected and Part B distributed. You will then have 45 minutes to complete Part B. 2. This exam will be graded largely on how well you follow the design recipes. You have been given a copy of the Recipe Exam Sheet. Use it! 3. Put away books, papers, laptops, cell phones everything but pens, pencils, erasers and this exam. 4. Good luck! Student Conduct during Examinations 1. Each examination candidate must be prepared to produce, upon the request of the invigilator or examiner, his or her UBCcard for identification. 2. No questions will be answered in this exam. If you see text you feel is ambiguous, make a reasonable assumption, write it down, and proceed to answer the question. 3. No examination candidate shall be permitted to enter the examination room after the expiration of one half hour from the scheduled starting time, or to leave during the first half hour of the examination. Should the examination run fortyfive (45) minutes or less, no examination candidate shall be permitted to enter the examination room once the examination has begun. 4. Examination candidates must conduct themselves honestly and in accordance with established rules for a given examination, which will be articulated by the examiner or invigilator prior to the examination commencing. Should dishonest behaviour be observed by the examiner(s) or invigilator(s), pleas of accident or forgetfulness shall not be received. 5. Examination candidates suspected of any of the following, or any other similar practices, may be immediately dismissed from the examination by the examiner/invigilator, and may be subject to disciplinary action: i. speaking or communicating with other examination candidates, unless ii. iii. iv. otherwise authorized; purposely exposing written papers to the view of other examination candidates or imaging devices; purposely viewing the written papers of other examination candidates; using or having visible at the place of writing any books, papers or other memory aid devices other than those authorized by the examiner(s); and, v. using or operating electronic devices including but not limited to telephones, calculators, computers, or similar devices other than those authorized by the examiner(s) (electronic devices other than those authorized by the examiner(s) must be completely powered down if present at the place of writing). 6. Examination candidates must not destroy or damage any examination material, must hand in all examination papers, and must not take any examination material from the examination room without permission of the examiner or invigilator. 7. Notwithstanding the above, for any mode of examination that does not fall into the traditional, paper based method, examination candidates shall adhere to any special rules for conduct as established and articulated by the examiner. 8. Examination candidates must follow any additional examination rules or directions communicated by the examiner(s) or invigilator(s). Please do not write in this space: Question 6: Question 9: Question 7: Question 8:
2 Below is the beginning of a running horses world program. It is more than just the solution to problem 5 from part A. It also includes constants, complete data definitions, a main function and wish list entries for the big-bang handlers. Study it carefully before proceeding. REMEMBER: Do not worry if our solution to problem 5 is different than yours! We are not grading for whether your answer is exactly the same as ours. We are grading for whether you are working with the design recipes properly. But from this point forth it is essential that you do all your work based on the start of the program we are providing you below, do not refer back to your answers from part A. (require 2htdp/image) (require 2htdp/universe) ;; Running horses ;; ================= ;; Constants: (define WIDTH 400) (define HEIGHT 400) (define SPEED 3) (define HORSE ) (define MTS )
3 Problem 6: On the two data definitions below you should do three things: - draw appropriate reference, self-reference, natural helper and natural recursion arrows - label each arrow with R, SR, NH or NR - number each arrow with a number like 1, 2, 3 etc. to show which arrows within the type comments correspond to which arrows within the templates ;; ================= ;; Data Definitions: (define-struct horse (x y)) ;; Horse is (make-horse Integer Integer) ;; interp. a horse at position (x,y) in pixels (define H1 (make-horse )) (define H2 (make-horse 82 14)) (define (fn-for-horse h) (... (horse-x h) (horse-y h))) ;; Template rules used: ;; - compound: 2 fields ;; ListOfHorse is one of: ;; - empty ;; - (cons Horse ListOfHorse) ;; interp. a list of horses (define LOH1 empty) (define LOH2 (cons H1 (cons H2 empty))) #; (define (fn-for-loh loh) (cond [(empty? loh) (...)] [else (... (fn-for-horse (first loh)) (fn-for-loh (rest loh)))])) ;; Template rules used: ;; - one of: 2 cases ;; - atomic distinct: empty ;; - compound: (cons Horse ListOfHorse) ;; - reference: (first loh) is Horse ;; - self-reference: (rest loh) is ListOfHorse
4 Problem 7 Complete the design of the next-horses function, based on the wish-list entry below. All you need to write is examples, where you got the template and a completed function definition. You do not need to repeat the signature and purpose. If you do this properly, you will end up wishing for one additional helper function. For that helper function, you should produce a complete wish list entry, but you do not need to complete the design beyond that point. ;; ================= ;; Functions: ;; ListOfHorse -> ListOfHorse ;; start the world with (main empty) ;; <no tests for main functions> (define (main loh) (big-bang loh ; ListOfHorse (on-tick next-horses) ; ListOfHorse -> ListOfHorse (to-draw render-horses) ; ListOfHorse -> Image (on-mouse handle-mouse))) ; ListOfHorse Integer Integer MouseEvent ; -> ListOfHorse ;; ListOfHorse -> Image ;; render all horses in loh on MTS (define (render-horses loh) MTS) ; stub ;; ListOfHorse Integer Integer MouseEvent -> ListOfHorse ;; add a new horse at (x,y) when the mouse button is pressed (define (handle-mouse loh x y me) loh) ; stub ;; ListOfHorse -> ListOfHorse ;; advances all horses by SPEED (define (next-horses loh) loh) ; stub
5 Problem 8 Here is our version of render-horses. As were were designing it we ended up wishing for a helper function called place-horse. Complete the design of the place-horse function, based on the wish-list entry below. All you need to write is examples, where you got the template and a completed function definition. You do not need to repeat the signature and purpose. ;; ListOfHorse -> Image ;; render all horses in loh on MTS (check-expect (render-horses empty) MTS) (check-expect (render-horses (cons (make-horse 10 20) (cons (make-horse 87 23) empty))) (place-image HORSE (place-image HORSE MTS))) ;(define (render-horses loh) MTS) ; Took template from ListOfHorse (define (render-horses loh) (cond [(empty? loh) MTS] [else (place-horse (first loh) (render-horses (rest loh)))])) ;; Horse Image -> Image ;; place horse on img at the horse's x-coord and y-coord (define (place-horse h img) img) ; stub
6 Problem 9 We thought we completed our design of handle-mouse, but the second check-expect is failing and when we run the program and click the mouse to add a new horse we get the below error. [Note, in this case the mouse was clicked at (225,142)] Make the minimal changes necessary to make this program work properly, make the function design consistent and respect style rules and conventions. Please make your changes by editing the code below. ;; ListOfHorse Integer Integer MouseEvent -> ListOfHorse ;; handle mouse event (check-expect (handle-mouse empty "drag") empty) (check-expect (handle-mouse LOH "button-down") (cons (make-horse 77 29) LOH2)) ;(define (handle-mouse loh x y me) loh) ; Took template from MouseEvent (define (handle-mouse loh x y me) (cond [(mouse=? me "button-down") (make-horse x y)] [else loh]))
Full Name: CS Account:
THE UNIVERSITY OF BRITISH COLUMBIA CPSC 313: QUIZ 4 October 31, 2018 Full Name: CS Account: Signature: UBC Student #: Important notes about this examination 1. Write your 4 or 5 character CS account both
More informationTHE UNIVERSITY OF BRITISH COLUMBIA CPSC 121: MIDTERM 2 Group March 12, 2014
THE UNIVERSITY OF BRITISH COLUMBIA CPSC 121: MIDTERM 2 Group March 12, 2014 Important notes about this examination 1. You have 40 minutes to complete this exam. 2. No electronic aides (e.g., phones or
More informationMATH 253/101,102,103,105 Page 1 of 12 Student-No.:
MATH 253/101,102,103,105 Page 1 of 12 Student-No.: Final Examination December 16, 2015 Duration: 2.5 hours This test has 10 questions on 12 pages, for a total of 80 points. Dr. G. Slade, Dr. C. Macdonald,
More informationTHE UNIVERSITY OF BRITISH COLUMBIA CPSC 261: MIDTERM 1 February 14, 2017
THE UNIVERSITY OF BRITISH COLUMBIA CPSC 261: MIDTERM 1 February 14, 2017 Last Name: First Name: Signature: UBC Student #: Important notes about this examination 1. You have 70 minutes to write the 6 questions
More informationDo a domain analysis by hand-drawing three or more pictures of what the world program will look like at different stages when it is running.
How to Design Worlds The How to Design Worlds process provides guidance for designing interactive world programs using big-bang. While some elements of the process are tailored to big-bang, the process
More informationUNIVERSITY REGULATIONS
CPSC 221: Algorithms and Data Structures Midterm Exam, 2015 October 21 Name: Student ID: Signature: Section (circle one): MWF(101) TTh(102) You have 90 minutes to solve the 8 problems on this exam. A total
More informationUNIVERSITY REGULATIONS
CPSC 221: Algorithms and Data Structures Midterm Exam, 2013 February 15 Name: Student ID: Signature: Section (circle one): MWF(201) TTh(202) You have 60 minutes to solve the 5 problems on this exam. A
More informationCPSC 311, 2010W1 Midterm Exam #2
CPSC 311, 2010W1 Midterm Exam #2 2010/11/02 Page 1 of 18 CPSC 311, 2010W1 Midterm Exam #2 Name: Q1: 20 Student ID: Q2: 20 Signature (required; indicates agreement with rules below): Q3: 20 Q4: 20 Q5: 20
More informationCPSC 121 Sample Final Examination December 2013
CPSC 121 Sample Final Examination December 2013 Name: Student ID: Signature: You have 150 minutes to write the 11 questions on this examination. A total of 98 marks are available. Justify all of your answers.
More informationCPSC 121 Midterm 1 Friday October 14th, Signature: Section (circle one): 11:00 15:30 17:00
CPSC 121 Midterm 1 Friday October 14th, 2016 Name: Student ID: Signature: Section (circle one): 11:00 15:30 17:00 You have 70 minutes to write the 9 questions on this examination. A total of 60 marks are
More informationQuestion Marks 1 /20 2 /16 3 /7 4 /10 5 /16 6 /7 7 /24 Total /100
CSC 460/660, Midterm March 14, 2005 Name: Student ID: Signature: You have 75 minutes to write the 7 questions on this examination. A total of 100 marks is available. Justify all of your answers You may
More informationCPSC 320 Midterm 2. July 13, 2007
CPSC 0 Midterm July, 007 Name: Student ID: Signature: You have hour to write the 5 questions on this examination. A total of 0 marks are available. Justify all of your answers. Keep your answers short.
More informationMARKING KEY The University of British Columbia MARKING KEY Computer Science 260 Midterm #2 Examination 12:30 noon, Thursday, March 15, 2012
MARKING KEY The University of British Columbia MARKING KEY Computer Science 260 Midterm #2 Examination 12:30 noon, Thursday, March 15, 2012 Instructor: K. S. Booth Time: 70 minutes (one hour ten minutes)
More informationThe University of British Columbia Final Examination - December 02, 2014 Mathematics 308. Closed book examination. No calculators.
The University of British Columbia Final Examination - December 02, 2014 Mathematics 308 Closed book examination. No calculators. Time: 2.5 hours Last Name First Signature Student Number No books, notes,
More informationMARKING KEY The University of British Columbia MARKING KEY Computer Science 260 Midterm #1 Examination 12:30 noon, Tuesday, February 14, 2012
MARKING KEY The University of British Columbia MARKING KEY Computer Science 260 Midterm #1 Examination 12:30 noon, Tuesday, February 14, 2012 Instructor: K. S. Booth Time: 70 minutes (one hour ten minutes)
More informationCPSC 121 Some Sample Questions for the Final Exam Tuesday, April 15, 2014, 8:30AM
CPSC 121 Some Sample Questions for the Final Exam Tuesday, April 15, 2014, 8:30AM Name: Student ID: Signature: Section (circle one): George Steve Your signature acknowledges your understanding of and agreement
More informationQuestion Marks 1 /16 2 /13 3 /12 4 /15 5 /8 6 /15 7 /8 8 /5 9 /8 Total /100
CSC 460/660, Midterm March 22, 2006 Name: Student ID: Signature: You have 75 minutes to write the 9 questions on this examination. A total of 100 marks is available. Justify all of your answers You may
More informationCPSC 121 Midterm 1 Friday February 5th, Signature: Section (circle one): Morning Afternoon
CPSC 121 Midterm 1 Friday February 5th, 2016 Name: Student ID: Signature: Section (circle one): Morning Afternoon You have 70 minutes to write the 8 questions on this examination. A total of 60 marks are
More informationQuestion Marks 1 /12 2 /6 3 /14 4 /8 5 /5 6 /16 7 /34 8 /25 Total /120
CSC 326, Midterm October 25, 2004 Name: Student ID: Signature: You have 75 minutes to write the 8 questions on this examination. A total of 120 marks is available. Justify all of your answers You may use
More informationComputer Science 304
The University of British Columbia Computer Science 304 Final Examination Instructor: Rachel Pottinger Time: 2.5 hours Total marks: 48 Name ANSWER KEY (PRINT) (Last) (First) Signature This examination
More informationCPSC 411, 2015W Term 2 Midterm Exam Date: February 25, 2016; Instructor: Ron Garcia
CPSC 411, 2015W Term 2 Midterm Exam Date: February 25, 2016; Instructor: Ron Garcia This is a closed book exam; no notes; no calculators. Answer in the space provided. There are 8 questions on 14 pages,
More informationExpression Values Operators. (string-append a b c ) a, b, c string-append. (substring abcd 0 2) abcd, 0, 2 substring
Expressions Expression Values perators (+ 2 3 5) 2 3 5 + (* 3.1 2.5) 3.1, 2.5 * (+ (* 3 2.2) 7) 7, 6.6 *, + (string-append a b c ) a, b, c string-append (circle 20 solid red ) 20, solid, red circle (substring
More information;; ;; Section 1 ;; ;; ;; What is the value of: (+ 2 (* 3 5)) ;; What is the value of: (string-append "Roberto" " " "Luongo")
CPSC 110, Fall 2010 Practice Problems for Midterm 1 These problems are intended to provide you with practice exercises for the first midterm. Additional practice problems covering material from week 4
More informationThis examination has 11 pages. Check that you have a complete paper.
MARKING KEY The University of British Columbia MARKING KEY Computer Science 252 2nd Midterm Exam 6:30 PM, Monday, November 8, 2004 Instructors: K. Booth & N. Hutchinson Time: 90 minutes Total marks: 90
More informationQuestion Marks 1 /11 2 /4 3 /13 4 /5 5 /11 6 /14 7 /32 8 /6 9 /11 10 /10 Total /117
CSC 326, Midterm November 3, 2005 Name: Student ID: Signature: You have 75 minutes to write the 10 questions on this examination. A total of 117 marks is available. Justify all of your answers You may
More informationThe University of Oregon May 16, 2015 Oregon Invitational Mathematics Tournament:
The University of Oregon May 16, 2015 Oregon Invitational Mathematics Tournament: losed book examination Geometry Exam Time: 90 minutes Last Name First Name School Grade (please circle one): 7 8 9 10 11
More informationEXAMINATION INSTRUCTIONS
Midterm exam SAMPLE CSE115 Computer Science I Fall 2018 EXAMINATION INSTRUCTIONS This examination has 9 pages. Check that you have a complete paper. Each candidate should be prepared to produce, upon request,
More informationUNIVERSITY REGULATIONS
CPSC 101: Connecting with Computer Science Sample Final Exam, December 2012 Name: Student ID: Signature: You have 150 minutes to solve the 9 problems on this exam. A total of 100 marks is available. You
More informationCS 411 Midterm Feb 2008
CS 411 Midterm Feb 2008 Exam number: P1: / 9 P4: / 10 P2: / 4 P5: / 9 Student Name: P3: / 7 P6: / 8 P7: / 8 SUBTOTALS: / 20 / 35 Student ID number: TOTAL: / 55 READ THIS CAREFULLY BEFORE PROCEEDING DO
More informationEXAMINATION INSTRUCTIONS
EXAMINATION INSTRUCTIONS This examination has 6 pages. Check that you have a complete paper. Each candidate should be prepared to produce, upon request, his or her SUNY/UB card. This examination has 5
More informationThe University of Oregon May 16, 2015 Oregon Invitational Mathematics Tournament:
The University of Oregon May 16, 015 Oregon Invitational Mathematics Tournament: losed book examination Geometry xam Time: 90 minutes Last Name First Name School Grade (please circle one): 7 8 9 10 11
More informationCPSC 410 Advanced Software Engineering Mid-term Examination (Term I ): Solution Instructor: Gail Murphy
CPSC 410 Advanced Software Engineering Mid-term Examination (Term I 2003-2004): Solution Instructor: Gail Murphy Do NOT start until you are informed you can start! This examination has 6 questions. The
More informationEXAMINATION INSTRUCTIONS
EXAMINATION INSTRUCTIONS This examination has 6 pages. Check that you have a complete paper. Each candidate should be prepared to produce, upon request, his or her SUNY/UB card. This examination has 5
More informationCS 1101 Exam 3 A-Term 2013
NAME: CS 1101 Exam 3 A-Term 2013 Question 1: (55) Question 2: (20) Question 3: (25) TOTAL: (100) You have 50 minutes to complete this exam. You do not need to show templates, but you may receive partial
More informationEXAMINATION INSTRUCTIONS
Midterm exam CSE5/503 Computer Science I Spring 209 EXAMINATION INSTRUCTIONS This examination has 9 pages. If your copy is missing a page, let one of the course staff know. Before starting this test, students
More informationInstructions to Examination Invigilators
Instructions to Examination Invigilators APMP APMP for registered PRINCE2 Practitioners Introductory Certificate Risk Level 1 Risk Level 2 Invigilator Guidance Notes v1.3 Page 1 of 9 Introduction.....
More informationCPSC 410? Advanced Software Engineering Mid-term Examination (Term I ) SOLUTION Instructor: Gail Murphy
CPSC 410? Advanced Software Engineering Mid-term Examination (Term I 2001-2002) SOLUTION Instructor: Gail Murphy Do NOT start until you are informed you can start! This examination has 7 questions. The
More informationCMSC 131A, Midterm 1 (Practice) Fall 2017
CMSC 131A, Midterm 1 (Practice) Fall 2017 Question Points 1 10 2 10 3 10 4 20 5 10 6 20 7 20 Total: 100 This test is open-book, open-notes, but you may not use any computing device other than your brain
More informationIndustry Competency Examination Proctor Guide
Industry Competency Examination Proctor Guide TABLE OF CONTENTS INDUSTRY COMPETENCY EXAMINATION...1 INTRODUCTION...1 RECEIPT OF EXAMINATION MATERIALS...1 EXAMINATION SECURITY... 2 EXAMINATION SCHEDULE...
More informationCS 2500 Exam 1 Fall 2012
CS 2500 Exam 1 Fall 2012 Name: Student Id (if known): Section (Shivers/Vona/Razzaq/Ahmed): Write down the answers in the space provided. You may use the usual primitives and expression forms, including
More informationDepartment of Electrical Engineering and Computer Sciences Fall 2000 Instructor: Dan Garcia CS 3 Final Exam
University of California, Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences Fall 2000 Instructor: Dan Garcia 2000-12-15 CS 3 Final Exam Last name First name SID
More informationFUJAA GENERAL EXAMINATION REQUIREMENTS & PROCEDURE
FUJAA GENERAL EXAMINATION REQUIREMENTS & PROCEDURE Please read and understand the following requirements of Part/CAR 66 Examination before completing the application / registration form. Part/CAR Examinations
More informationThe University of British Columbia Computer Science 304 Practice Final Examination
The University of British Columbia Computer Science 304 Practice Final Examination Instructor: Time: 2.5 hours Total marks: 100 Name (PRINT) (Last) (First) Signature This examination has 13 pages. Check
More informationYou must include a signature, purpose, check- expects and complete function definition.
Page 1 of 12 Problem 1: Self- Referential Data Natural Numbers Given the data definition below, design a function that consumes a natural number n and produces a list of the squares of the natural numbers
More informationCMSC 131A, Midterm 1 (Practice) SOLUTION. Fall 2017
CMSC 131A, Midterm 1 (Practice) SOLUTION Fall 2017 Question Points 1 10 2 10 3 10 4 20 5 10 6 20 7 20 Total: 100 This test is open-book, open-notes, but you may not use any computing device other than
More informationEXAMINATION INSTRUCTIONS
Midterm exam CSE115/503 Computer Science I Spring 2019 EXAMINATION INSTRUCTIONS This examination has 9 pages. If your copy is missing a page, let one of the course staff know. Before starting this test,
More informationCPSC 311, 2011W1 Midterm Exam #2 2011/11/09
CPSC 311, 2011W1 Midterm Exam #2 Page 1 of 18 CPSC 311, 2011W1 Midterm Exam #2 2011/11/09 Name: Sample Solution Student ID: Signature (required; indicates agreement with rules below): Q1: 20 Q2: 20 Q3:
More informationYork University AS/AK/ITEC INTRODUCTION TO DATA STRUCTURES. Midterm Sample I. Examiner: S. Chen Duration: One Hour and 30 Minutes
York University AS/AK/ITEC 2620 3.0 INTRODUCTION TO DATA STRUCTURES Midterm Sample I Examiner: S. Chen Duration: One Hour and 30 Minutes This exam is closed textbook(s) and closed notes. Use of any electronic
More informationHow to Create Greeting Cards using LibreOffice Draw
by Len Nasman, Bristol Village Ohio Computer Club If you want to create your own greeting cards, but you do not want to spend a lot of money on special software, you are in luck. It turns out that with
More informationSt Gregory the Great Catholic School
St Gregory the Great Catholic School Absence from Exams You must attend all the exams for which you have been entered on your Candidate timetable. Misreading the timetable will NOT be accepted as a satisfactory
More informationMidterm Examination COMP 304B 2004: Object-oriented Design
Student Name: Student Number: Midterm Examination COMP 304B 2004: Object-oriented Design Examiner: Prof. Hans Vangheluwe Friday February 20 th, 2004 Invigilators: Sadaf Mustafiz, Marc Provost 14:30 15:30
More informationThe University of British Columbia
The University of British Columbia Computer Science 221: Discrete Math, Data Structures Midterm Examination, March 2, 2006. Instructor: E.M. Knorr Time: 75 minutes. Closed book. No notes. No cell phones.
More informationStructure and Interpretation of Computer Programs
CS 61A Fall 2016 Structure and Interpretation of Computer Programs Final INSTRUCTIONS You have 3 hours to complete the exam. The exam is closed book, closed notes, closed computer, closed calculator, except
More informationProject Risk Management Single Subject Certificate Level 2. Guide for candidates
Project Risk Management Single Subject Certificate Level 2 Guide for candidates Introduction. 3 Applying for an exam. 4 Completing your application form.. 4 Taking the exam 5 Exam rules 5 Exam materials...
More informationSpring CS Homework 3 p. 1. CS Homework 3
Spring 2018 - CS 111 - Homework 3 p. 1 Deadline 11:59 pm on Friday, February 9, 2018 Purpose CS 111 - Homework 3 To try out another testing function, check-within, to get more practice using the design
More informationECE 250 Data Structures and Algorithms MID-TERM EXAMINATION B /13:30-14:50 MC-4021/RCH-211
ECE 250 Data Structures and Algorithms MID-TERM EXAMINATION B 2011-02-15/13:30-14:50 MC-4021/RCH-211 Instructions: There are 63 marks. It will be marked out of 55. No aides. Turn off all electronic media
More informationGUIDELINES FOR EXAM CANDIDATES AT UNIVERSITY OF NORDLAND
GUIDELINES FOR EXAM CANDIDATES AT UNIVERSITY OF NORDLAND These guidelines are supplementary provisions to The Regulations Concerning Studies and exams at University of Nordland. Decided upon by The Board
More information2018/9 Guidelines for Electronic Exam Paper Submission
2018/9 Guidelines for Electronic Exam Paper Submission August 2018 Before submitting exams Please check that exams are as accurate as possible before submission. A checklist of common errors can be found
More informationCPSC 126 SAMPLE FINAL EXAMINATION ANSWERS April, 2003
CPSC 126 SAMPLE FINAL EXAMINATION ANSWERS April, 2003 Name: Student ID: Lab Section: You have 2 hours 45 minutes to write the 8 questions on this examination. A total of 105 marks are available. No notes,
More informationCPSC Fall L01 Final Exam
CPSC 601.36 - Fall 2009 - L01 Final Exam Copyright Jeffrey Boyd 2009 December 12, 2009 Time: 120 minutes General instructions: 1. This exam is open-book. You may use any reference material you require,
More informationModel-View-Controller Architecture
Model-View-Controller Architecture CS 5010 Program Design Paradigms Bootcamp Lesson 11.3 Mitchell Wand, 2012-2015 This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International
More informationStructure and Interpretation of Computer Programs
CS 6A Fall 206 Structure and Interpretation of Computer Programs Final Solutions INSTRUCTIONS You have hours to complete the exam. The exam is closed book, closed notes, closed computer, closed calculator,
More informationDepartment of Electrical Engineering and Computer Sciences Spring 2001 Instructor: Dan Garcia CS 3 Midterm #2. Personal Information
University of California, Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences Spring 2001 Instructor: Dan Garcia 2001-04-09 CS 3 Midterm #2 Personal Information Last
More informationREAD AND OBSERVE THE FOLLOWING RULES:
This examination has 11 pages: check that you have a complete paper. Check that you have a complete paper. Each candidate should be prepared to produce, upon request, his or her SUNY/UB card. This is a
More informationYOUR NAME PLEASE: *** SOLUTIONS ***
YOUR NAME PLEASE: *** SOLUTIONS *** Computer Science 201b SAMPLE Exam 1 SOLUTIONS February 15, 2015 Closed book and closed notes. No electronic devices. Show ALL work you want graded on the test itself.
More informationModule 5: Lists. Readings: HtDP, Sections 9, 10.
Module 5: Lists Readings: HtDP, Sections 9, 10. Lists are the main tool used in Racket to work with unbounded data. As with conditional expressions and structures, the data definition for lists leads naturally
More informationYork University. AP/ITEC Section M INTRODUCTION TO DATA STRUCTURES Winter Midterm Test
York University AP/ITEC 2620 3.0 Section M INTRODUCTION TO DATA STRUCTURES Winter 2016 Midterm Test Examiner: S. Chen Duration: One Hour and 30 Minutes This exam is closed textbook(s) and closed notes.
More informationMARKING KEY The University of British Columbia MARKING KEY Computer Science 260 Final Examination 8:30 AM, Wednesday, April 18, 2012
MARKING KEY The University of British Columbia MARKING KEY Computer Science 260 Final Examination 8:30 AM, Wednesday, April 18, 2012 Instructor: K. S. Booth Time: 150 minutes (two hours thirty minutes)
More informationSCHOOL COLLABORATION SITES Reference Guide
SCHOOL COLLABORATION SITES Reference Guide Information Technology Services SCHOOL COLLABORATION SITES Reference Guide Information Technology Services 13135 SW 26 ST Miami, FL 33176 Phone 305.995.3770 Fax
More informationCS 2150 (fall 2010) Midterm 2
Name: Userid: CS 2150 (fall 2010) Midterm 2 You MUST write your name and e-mail ID on EACH page and bubble in your userid at the bottom of EACH page, including this page. If you are still writing when
More informationAutumn 2012 October 29 th, 2012 CS106X Midterm Examination Solution
CS106X Handout 25S Autumn 2012 October 29 th, 2012 CS106X Midterm Examination Solution Thanks to TA Ben Holtz and the gaggle of CS106X section leaders, your midterms are graded and are available for pickup.
More informationCS3L Summer 2011 Exam 2 Time: up to 170 minutes (you may leave when finished; or, you must stop promptly at noon)
CS3L Summer 2011 Exam 2 Time: up to 170 minutes (you may leave when finished; or, you must stop promptly at noon) Name: Login: cs3- First names of the people to your left and right, if any: Left: Right:
More information1 of 5 5/11/2006 12:10 AM CS 61A Spring 2006 Midterm 2 solutions 1. Box and pointer. Note: Please draw actual boxes, as in the book and the lectures, not XX and X/ as in these ASCII-art solutions. Also,
More information: Intro Programming for Scientists and Engineers Final Exam
Final Exam Page 1 of 6 600.112: Intro Programming for Scientists and Engineers Final Exam Peter H. Fröhlich phf@cs.jhu.edu December 20, 2012 Time: 40 Minutes Start here: Please fill in the following important
More informationINVIGILATOR GUIDE Computer Based Exams
When Recognition Matters INVIGILATOR GUIDE Computer Based Exams www.pecb.org Prior Examination (one time setup per computer) Computer must run Windows OS! STEP 1: Go to www.pecb-examination.org/browser
More informationCSU211 Exam 2 Fall 2007
CSU211 Exam 2 Fall 2007 Name: Student Id (last 4 digits): Instructor s Name: Write down the answers in the space provided. You may use the usual primitives and expression forms, including those suggested
More informationCPSC 311: Analysis of Algorithms (Honors) Exam 1 October 11, 2002
CPSC 311: Analysis of Algorithms (Honors) Exam 1 October 11, 2002 Name: Instructions: 1. This is a closed book exam. Do not use any notes or books, other than your 8.5-by-11 inch review sheet. Do not confer
More informationCSE 131 Introduction to Computer Science Fall Exam II
CSE 131 Introduction to Computer Science Fall 2013 Given: 6 November 2013 Exam II Due: End of session This exam is closed-book, closed-notes, no electronic devices allowed. The exception is the cheat sheet
More informationMIDTERM EXAMINATION Douglas Wilhelm Harder EIT 4018 x T09:30:00P1H20M Rooms: RCH-103 and RCH-302
ECE 250 Algorithms and Data Structures MIDTERM EXAMINATION Douglas Wilhelm Harder dwharder@uwaterloo.ca EIT 4018 x37023 2013-10-23T09:30:00P1H20M Rooms: RCH-103 and RCH-302 Instructions: Read and initial
More informationIf you become unwell contact an exam supervisor immediately and ask to speak to the lecturer (Angela Finlayson).
COMP1911 Final Exam June 2018 Time allowed: 3 Hours Total number of questions: 8 Total number of marks: 60 Questions are not worth equal marks Answer all questions If you are unwell do not commence this
More informationCIS 110 Introduction to Computer Programming Summer 2014 Midterm. Name:
CIS 110 Introduction to Computer Programming Summer 2014 Midterm Name: PennKey (e.g., bhusnur4): My signature below certifies that I have complied with the University of Pennsylvania s Code of Academic
More informationCSE 341 : Programming Languages Midterm, Spring 2015
Name: CSE 341 : Programming Languages Midterm, Spring 2015 Please do not turn the page until 12:30. Rules: Closed book, closed note, except for one side of one 8.5x11in piece of paper. Please stop promptly
More informationUniversity of Toronto Department of Electrical and Computer Engineering. Midterm Examination. ECE 345 Algorithms and Data Structures Fall 2010
University of Toronto Department of Electrical and Computer Engineering Midterm Examination ECE 345 Algorithms and Data Structures Fall 2010 Print your name and ID number neatly in the space provided below;
More informationCSE341, Fall 2011, Midterm Examination October 31, 2011
CSE341, Fall 2011, Midterm Examination October 31, 2011 Please do not turn the page until the bell rings. Rules: The exam is closed-book, closed-note, except for one side of one 8.5x11in piece of paper.
More informationCS 320 Midterm Exam. Fall 2018
Name: BU ID: CS 320 Midterm Exam Fall 2018 Write here the number of the problem you are skipping: You must complete 5 of the 6 problems on this exam for full credit. Each problem is of equal weight. Please
More informationLampton School Exam Guide
Lampton School Exam Guide Before you sit your exams Exam timetable Candidate number Check: 1. Personal details (spelling of name, date of birth) are correct. 2. All of the exams are shown, remembering
More information5. PLEASE TAKE HOME the question bundle, but turn in 2 paper sheets: The scantron AND the paper where you wrote your programming question solution!
FINAL EXAM Introduction to Computer Science UA-CCI- ICSI 201--Fall13 This is a closed book and note examination, except for one 8 1/2 x 11 inch paper sheet of notes, both sides. There is no interpersonal
More informationAnimations involving numbers
136 Chapter 8 Animations involving numbers 8.1 Model and view The examples of Chapter 6 all compute the next picture in the animation from the previous picture. This turns out to be a rather restrictive
More informationInformation and Rules for Candidates taking IFE Examinations in October 2018
Information and Rules for Candidates taking IFE Examinations in October 2018 INTRODUCTION This document provides information and rules for candidates who have booked examinations in October 2018. Candidates
More informationCOS 126 Midterm 2 Programming Exam Fall 2012
NAME:!! login id:!!! Precept: COS 126 Midterm 2 Programming Exam Fall 2012 is part of your exam is like a mini-programming assignment. You will create two programs, compile them, and run them on your laptop,
More informationCIS 110 Introduction to Computer Programming Summer 2018 Midterm. Recitation ROOM :
CIS 110 Introduction to Computer Programming Summer 2018 Midterm Name: Recitation ROOM : Pennkey (e.g., paulmcb): My signature below certifies that I have complied with the University of Pennsylvania s
More informationGrade Point Scales Standard Honors AP/College A B C D F Sample file
64 Transcripts Weighted Cumulative GPA When your student works extra hard and takes honors or college courses, they deserve a little credit. The best way to reflect this is through their GPA. They deserve
More informationWorking with recursion. From definition to template. Readings: HtDP, sections 11, 12, 13 (Intermezzo 2).
Working with recursion Readings: HtDP, sections 11, 12, 13 (Intermezzo 2). We can extend the idea of a self-referential definition to defining the natural numbers, which leads to the use of recursion in
More informationIntroduction to Dreamweaver CS3
TUTORIAL 2 Introduction to Dreamweaver CS3 In Tutorial 2 you will create a sample site while you practice the following skills with Adobe Dreamweaver CS3: Creating pages based on a built-in CSS page layout
More informationCS 3114 Data Structures and Algorithms READ THIS NOW!
READ THIS NOW! Print your name in the space provided below. There are 9 short-answer questions, priced as marked. The maximum score is 100. When you have finished, sign the pledge at the bottom of this
More informationThe exam. The exam. The exam 10. Sitting a City & Guilds online examination 11. Frequently asked questions 18. Exam content 20
THE EXAM INTRODUCTION 9 The exam The exam The exam 10 Sitting a City & Guilds online examination 11 Frequently asked questions 18 Exam content 20 Tips from the examiner 25 10 EXAM SUCCESS IET WIRING REGULATIONS
More informationGuide for the IRPM Member Examination
Chartered Institute of Housing Guide for the IRPM Member Examination January 2013 1 Contents Contents... 2 1. IRPM Member Examination.3 2. Regulations in respect of administration of Member examinations...
More informationCS 61A, Fall, 2002, Midterm #2, L. Rowe. 1. (10 points, 1 point each part) Consider the following five box-and-arrow diagrams.
CS 61A, Fall, 2002, Midterm #2, L. Rowe 1. (10 points, 1 point each part) Consider the following five box-and-arrow diagrams. a) d) 3 1 2 3 1 2 e) b) 3 c) 1 2 3 1 2 1 2 For each of the following Scheme
More informationMIS Quick Guide. Admin User Interface Update Guide (v )
MIS Quick Guide Admin User Interface Update Guide (v5.2017.01) Contents [Ctrl + Click to go to page] New User Interface Updates...3 Toolbar...5 New Icons...5 Tool Icons...6 More Icon changes...6 Widgets
More informationCSE 332 Autumn 2013: Midterm Exam (closed book, closed notes, no calculators)
Name: Email address: Quiz Section: CSE 332 Autumn 2013: Midterm Exam (closed book, closed notes, no calculators) Instructions: Read the directions for each question carefully before answering. We will
More information