120 likes | 132 Views
Sept 18 th , 2019. Tables and Compound Data. Agenda. Preliminaries (8:30-8:35) Introduction to Exam 1 (8:35-8:45) Quiz Topics for Friday (8:45-8:50) Heterogeneous Lists (8:50-9:00) Lab Time (9:00-9:45) Wrap up (9:45-9:50). Preliminaries (8:30-8:35). Peer support events?
E N D
Sept 18th, 2019 Tables and Compound Data
Agenda • Preliminaries (8:30-8:35) • Introduction to Exam 1 (8:35-8:45) • Quiz Topics for Friday (8:45-8:50) • Heterogeneous Lists (8:50-9:00) • Lab Time (9:00-9:45) • Wrap up (9:45-9:50)
Preliminaries (8:30-8:35) • Peer support events? • Women's soccer today at 4:30pm • Upcoming Work: • Monday’s Lab writeup • Reading for Friday • Exam 1 due 10:30pm Tuesday, read the exam and exam procedures ASAP, you should begin early! • Quiz on Friday still
Introduction to Exam 1 (8:35-8:45) • How to start the exam: • Download the starter code, you must write your solutions in the exam1.rkt file linked on the exam page! • Generate a Random ID: Open DrRacket and run (random 1000000). The six-digit result is your random ID. Replace 000000 in the exam file with this ID • Read the exam carefully, look at every problem, they are not in order of difficulty and you need not start with the first problem. Read the exam procedures carefully as well!
Introduction to Exam 1 (8:35-8:45) • Exam Tips: • Save often, DrRacket has been known to crash when the user is especially stressed. • Ask me for help, don’t struggle for hours, I can give hints! You cannot ask mentors, tutors, students or anyone else for help on exams • Show at least three examples, the starter code has space for you to show examples of your code running. You must show at least three examples to receive full credit. • Start early and don’t panic. You can complete this exam if you work diligently. You’ll be much more productive if you work for short periods over the full week.
Introduction to Exam 1 (8:35-8:45) • “There is more to life than computer science” • If you have worked more than five hours on this exam and you are not finished, you can get a minimum of 70% by: • You must have completed both the exam prologue and exam epilogue • You must show evidence of serious effort on at least four exam problems • You must provide a time log for each problem on the exam, and the log should represent total time of at least five hours
Introduction to Exam 1 (8:35-8:45) • We’ll do the cover sheet together in class next week • On it you will write and need to sign: • “I have neither received nor given inappropriate assistant on this examination” • “I am not aware of any other students who have given or received inappropriate assistance on this examination” • If either of those are not true, you should talk to me as soon as you can. You won’t be required to reveal the particulars of the dishonesty, but I want to know if it happens
Formatting • Which is easier to read: • (define average (lambda (numbers) (/ (reduce + numbers) (length numbers)))) • (define average (lambda (numbers) (/ (reduce + numbers) (length numbers))))
Quiz Topics for Friday (8:45-8:50) • Documentation • Write and/or critique documentation in 6P style • Testing • Write and/or critique test cases for Scheme code
Heterogeneous Lists (8:50-9:00) • Think-pair-share: What is the result of each of the following • (cons 1 (list 2 3 4)) • '(1 2 3 4) • (cdr (iota 5)) • '(1 2 3 4) • (cons 3 null) • '(3) • (cadr (list “a” “b” “c” “d”)) • "b"
Lab Time (9:00-9:45) • Person closest to back of the room starts typing
Wrap up (9:45-9:50) • Lab write up: Exercise 5 (all parts) • Upcoming work reminders: • Monday’s Lab writeup at 10:30pm • Today’s lab writeup Friday at 10:30pm • Reading for Friday • Exam 1 due 10:30pm Tuesday, read the exam and exam procedures ASAP, you should begin early! • Quiz on Friday still