Lab #3, CS 112 Please sign your name at the back Quiz 2 (15 minutes) (longer multiple choice, no coding)
Schedule Review Quiz 1 coding, Project 1 Project 2 Quiz 2
Quiz1 coding Most of you get 5/5 Well prepared for future quiz coding Average 4.48; median 5.00 Spend more time, if you fail to get 5/5 Well prepared for future quiz coding Not revealed until your lab Usually come from one exercise of the chapter on schedule For homework, try to write python code
Project 1 From the 1/7 students I graded Average: 26.73; median: 29.00 “Project Grader” entry in BB Read project instructions carefully About ¼ miss this “Creating project1 directory” It is usually better to follow the steps in project instruction Make it easier to give you points
Project 1
Schedule Review Quiz 1 coding, Project 1 Project 2 How to read project instructions Quiz 2
Project 2 Projects are considerably harder than exercises for each chapter Do not wait for last moment Test case due Friday 2/13 at 4:55pm Code due Friday 2/20 at 4:55pm Find office hour: Piazza – Resource – Staff
Project 2 instruction Half of questions come from not carefully reading instruction Read project 2 instruction before start
Project 2 instruction Understand CS’s way of telling storing Use example(test case) to help reading For each function What is the input? What is the expected output? Why this output for its input? (understanding) How to get its output for this input? (solution process)
checkTile(tile, number) checkTile(5,"four") True What is the input? tile = 5 number = “four” What is the output True
checkTile(tile, number) checkTile(5,"four") True Why this output for its input? (understanding) How to get its output for this input? (solution) checkTile(7,"four") = False 1 2 3 4 5 6 7 8 9 10 11 12
isEmptyOnThree(tile, width) isEmptyOnThree(8,3) True Why this output for its input? (understanding) How to get its output for this input? (solution) 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
Create “DriverJava.java”
Before coding project For basic skill like using CMD/terminal, running python, Marmoset/VPN problem Project 1 instruction Lab1 slides Quiz1 instruction
Schedule Review Quiz 1 coding, Project 1 Project 2 Quiz 2
Quiz 2 Longer multiple choice: 15 minutes Password: No coding Office hour, right afterwards Monday 16:30-18:30, ENGR 5321