CS123 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Spring 2012.

Slides:



Advertisements
Similar presentations
CS123 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Spring 2012.
Advertisements

CS122 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Winter 2010.
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note-taking materials. Today’s daily quiz will be given at the.
COMS W1004 Introduction to Computer Science June 25, 2008.
CS123 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Spring 2010.
NRS 122 Concepts of Mental Health Nursing Orientation for Fall 2012 Semester.
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University October 6-10, 2008 ©By the author. All rights reserved.
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University January 5-9, 2009 ©By the author. All rights reserved.
1. Please double click on the highlighted lab option for proper log in Successfully logged in Total time earned for the current semester will be displayed.
CS 122 Engineering Computation Lab Lab 2 Dan De Sousa and Tim Cheeseman Department of Computer Science Drexel University April 2009 ©By the author. All.
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Fall 2012 ©By the author. All rights reserved. Permission.
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2009 ©By the author. All rights reserved. Permission.
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Fall 2009 ©By the author. All rights reserved. Permission.
CS122 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Spring 2011.
CS122 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Spring 2011.
CS 121 Engineering Computation Lab Lab 4 Department of Computer Science Drexel University Summer 2009 ©By the author. All rights reserved. Permission is.
CSE 1340 Introduction to Computing Concepts Class 1 ~ Intro.
CS123 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Spring 2010.
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Fall 2009 ©By the author. All rights reserved. Permission.
CSE 113 Introduction to Computer Programming Lecture slides for Week 12 Monday, November 14 th, 2011 Instructor: Scott Settembre.
ECO 111 Fall 2010 Instructor - David C. Hills, MAT Instructor - David C. Hills, MAT.
CS 122 / CS123 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Summer 2011 ©By the author. All rights reserved.
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Summer, 2009 ©By the author. All rights reserved.
CS 121 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Fall 2009 ©By the author. All rights reserved. Permission.
CS 123 Engineering Computation Lab Lab 2 Dan De Sousa and Bruce Char Department of Computer Science Drexel University April 2009 ©By the author. All rights.
CS122 Instructor Assignments Winter, 2010 Term. Overview Some changes in assignments due to schedule considerations Some new initiatives / revised strategies.
Calculus I – Course Syllabus Class Periods: 1:00pm-1:50am MTWF Classroom: Thompson Hall 315 Instructor: Mei Q. Chen, Thompson Hall 230
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Fall 2010 ©By the author. All rights reserved. Permission.
CS122/CS123 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Summer 2011.
CS122 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Winter 2012.
CS 123 Lab 4 Instructor: Mark Boady Course Designer: Professor Bruce Char Department of Computer Science Drexel University Spring 2013.
CS122 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Spring 2011.
CS122 / CS123 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Summer 2011 ©By the author. All rights reserved.
CS 121 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Fall 2011 ©By the author. All rights reserved. Permission.
CS123 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Spring 2010.
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2010 ©By the author. All rights reserved. Permission.
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2012 ©By the author. All rights reserved. Permission.
CS123 Engineering Computation Lab Lab 1 Section Instructor: Mark Boady Content By: Bruce Char Department of Computer.
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Fall 2011 ©By the author. All rights reserved. Permission.
CS 121 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Fall 2011 ©By the author. All rights reserved. Permission.
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Winter, 2011 ©By the author. All rights reserved.
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Fall 2012 ©By the author. All rights reserved. Permission.
Summer Institute 2007 Facilitators: Brian Cafarella and Eric Kraus Building 11, Room
CS 122 Engineering Computation Lab Lab 4 Dan De Sousa and Bruce Char Department of Computer Science Drexel University Summer 2009 ©By the author. All rights.
CS123 Engineering Computation Lab Lab 2 Instructor: Mark Boady Content By: Bruce Char Department of Computer Science Drexel University.
CS122 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Winter 2013.
CS 121 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Fall 2010 ©By the author. All rights reserved. Permission.
CS123 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Spring 2011.
CSE 1340 Introduction to Computing Concepts Class 1 ~ Intro.
CS 121 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Winter, 2011 ©By the author. All rights reserved.
CS122 – Quiz 2 Winter, 2013 Quiz Hints. Quiz 2 Hints Question 1 – working with the “if” statement  First, we did not fully explain the structure of the.
CS122 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Winter 2012.
CS122 Engineering Computation Lab Lab 3 Bruce Char Department of Computer Science Drexel University Winter 2010.
CS122 – Quiz 1 Winter, 2013 Quiz Hints. Quiz 1 Hints Question 1 – Understanding procs  First, we did not fully explain the structure of the Maple proc,
CS123 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Spring 2013.
1. Please double click on the highlighted LAB OPTION for proper log in Successfully logged in Total time earned for the current semester will be displayed.
CS122 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Winter 2011.
CS122 Engineering Computation Lab Lab 1 Bruce Char Department of Computer Science Drexel University Winter 2012.
CS 122 Engineering Computation Lab Lab1 Bruce Char Department of Computer Science Drexel University Summer 2009 ©By the author. All rights reserved. Permission.
CS 122/CS123 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Summer 2011 ©By the author. All rights reserved.
Teachers: If you hand back Test 4 today, tell your class you will review it with them in class on Thursday when you do the review lecture on Chapters 6,
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note-taking materials.
CS122 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Winter 2013.
CS 121 Engineering Computation Lab Lab 2 Bruce Char Department of Computer Science Drexel University Fall 2011 ©By the author. All rights reserved. Permission.
Grade Scale Quiz 3 Results: Average class score after partial credit: XX.X% Commonly missed questions: # ____________________ We will be going over some.
CS122 Engineering Computation Lab Lab 4
CS 121 Engineering Computation Lab Lab 3
CS123 Engineering Computation Lab Lab 4
CS122 Engineering Computation Lab Lab 3
CS 121 Engineering Computation Lab Lab 3
Presentation transcript:

CS123 Engineering Computation Lab Lab 4 Bruce Char Department of Computer Science Drexel University Spring 2012

Administrative Notes Please contact your instructor immediately if you are eligible for extended time for the Proficiency Exam Please also review your bbVista Lab and Quiz grades and report any discrepancies to your instructor As with cs121 and cs122, there will be an opportunity to earn a 2% bonus for submitting a student evaluation. Details to follow! Lab 4 completion sessions along with the makeup lab will be moved to Tuesday, 5/29 due to the Memorial Day holiday on 5/28 –Rooms to be determined

Proficiency Exam Preview Same logistics as in cs121 and cs122 –Proctored format –Two quizzes (25 and 70 minutes) –Sign-in and score verification –No access to bbVista – will have access to all course site materials To be conducted during week of June 4th (week 10) in class for your regularly scheduled lab session Practice – week of May 28 (week 9) –All 4 quizzes and quizlets taken throughout the term will be re-posted on Tuesday, 5/29 – note that quiz 4 will take place during week 9 –A special quiz containing some problems not included in regular quizzes will also be issued – these questions are candidates for inclusion –Full quiz week (9) CLC coverage – Monday through Friday Graduating seniors are NOT exempt from the proficiency exam!!

Lab 4 Overview Based on materials from Chapter 19 readings and Lab 4 description –Chapter 19 – general high level overview of the Computation lab sequence –Lab 4 – development of a game using another API

Lab 4 Overview Lab 4 outline – 3 parts –Part 0 – practice with the game API’s functions –Part 1 – create an animation of the game –Part 2 – create a user interface to control the game settings

Lab 4 Maple Concepts Discussion of the Game A take-off of the popular “Angry Birds” game Numerous concepts from previous labs utilized –CS121 – Lab 4 – use of disk plot feature to draw the bouncing ball –CS122 – Labs 1 and 2 – use of a “home grown” API to develop the basic scenario –CS122 – Lab 3 – use of DrawBox logic to define the lower left corner of the target –CS122 – Lab 4 – the bouncing ball script will simulate the toss of a ball to a target Will also create an animation similar to the way we constructed one in CS122 – Lab 4 –CS123 – Lab 3 – construction of a user interface using Maple’s GUI (components) feature

Lab 4 Maple Concepts: Discussion Game API – 3 key functions available –createTarget(x,y,w,h) Creates a target area consisting of 2x2 squares –x, y represent the coordinates of the lower left corner of the target area –w, h represent the target area’s width and height –drawBoard(T) Takes the list of target coordinates (T) and creates a plot structure of the target area for display –detectHits(x,y,radius,T) Performs collision detection (number of squares in the target area that have been knocked over) –x, y = coordinates of the center of the ball (disk object) –radius = radius of the ball –T = target list as created by createTarget function

Lab 4 Maple Concepts: Discussion Flow of lab –1 st copy the zipped file from the course site (to the desktop or downloads folder) and then extract (MAC may automatically extract for you) Same as in CS122 – labs 1 and 2 – Car Simulation API –Part 0 – open starter script (Lab4Part0.mw) and follow instructions from lab description –Parts 1and 2 – open starter script (Lab4Parts1and2.mw) and follow instructions from lab description

Anatomy of an animation (from Lab 4 – CS122) # 1 st, create a table variable to store frames –frames := table(); # Within loop, populate table with individual frames –frames[i] := plot([xp],[yp],style=point, color=“Green”); # this plot is of a single point (xp,yp) # after all frames are populated, run an animation # insequence=true causes the animation to take place –display(convert(frames,list), insequence=true,scaling=constrained);

Quiz Week (9) Activities Quiz 4 will be released on Friday (5/25) at 6 PM –Deadline: Thursday (5/31) at 4:30 PM –Makeup quiz – from Friday (6/1) at 9 AM through Sunday (6/3) at 11:00 PM 30% penalty No Pre-lab quizlet Be sure to visit the CLC for quiz assistance Practice week for Proficiency Exam –Will be posting practice quizzes on Tuesday, 5/29 –Exam to be conducted during week of June 4 (week 10 - final week of regular classes)