Troy High/CSU DH Programming Contest Troy/CSU DH.

Slides:



Advertisements
Similar presentations
Basics of Recursion Programming with Recursion
Advertisements

Chapter 4 Loops Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved
Electronic Lesson Plan (Introduction to Photo Composition)
Slides prepared by Rose Williams, Binghamton University ICS201 Lecture 4 : Polymorphism King Fahd University of Petroleum & Minerals College of Computer.
Eiffel: Analysis, Design and Programming Bertrand Meyer (Nadia Polikarpova) Chair of Software Engineering.
ACM Programming Team Bill Punch. ACM Programming Contest One of the premier programming competitions. Held every year since 1977 MSU was the winner that.
CS 206 Introduction to Computer Science II 09 / 05 / 2008 Instructor: Michael Eckmann.
Columbus State Community College
A8 – Control Structures if, if-else, switch Control of flow in Java Any sort of complex program must have some ability to control flow.
Arrays.
Use the substitution method
Building Java Programs Chapter 13
Introduction to Recursion and Recursive Algorithms
Method Parameters and Overloading. Topics The run-time stack Pass-by-value Pass-by-reference Method overloading Stub and driver methods.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Chapter 3 Loops.
Programmer-defined classes Part 2. Topics Returning objects from methods The this keyword Overloading methods Class methods Packaging classes Javadoc.
1 Working with References. 2 References Every object variable is a reference to an object Also true when an object is passed as an argument When the object.
Written by: Dr. JJ Shepherd
Chapter 10 Introduction to Arrays
Games and Simulations O-O Programming in Java The Walker School
Chapter 6: Arrays Java Software Solutions for AP* Computer Science
Peaster Elementary. STAAR – What is it? State’s student testing program for Mathematics, Reading, Writing, and Science Emphasizes “readiness” standards,
CS 206 Introduction to Computer Science II 01 / 21 / 2009 Instructor: Michael Eckmann.
Local Programming Contest Overview John Paxton October 25, 2006.
Cse321, Programming Languages and Compilers 1 6/19/2015 Lecture #18, March 14, 2007 Syntax directed translations, Meanings of programs, Rules for writing.
Slides prepared by Rose Williams, Binghamton University Chapter 5 Defining Classes II.
AP Computer Science.  Not necessary but good programming practice in Java  When you override a super class method notation.
CS 206 Introduction to Computer Science II 01 / 23 / 2009 Instructor: Michael Eckmann.
CS 106 Introduction to Computer Science I 03 / 17 / 2008 Instructor: Michael Eckmann.
CS0007: Introduction to Computer Programming Introduction to Arrays.
11 July 2009 Capital Conference 1UIL CS Contest Preparation Computer Science Contest Preparation and Problem Solving Dr. Shyamal Mitra Contest Director.
2007 – 2008 Student Activity Conference 1CS Intro and Update Computer Science Contest Introduction Dr. Shyamal Mitra Contest Director For new coaches and.
CS0007: Introduction to Computer Programming File IO and Recursion.
Lynbrook Computer Science Monday, December 7 th, 2009.
Operator Precedence First the contents of all parentheses are evaluated beginning with the innermost set of parenthesis. Second all multiplications, divisions,
CS 106 Introduction to Computer Science I 03 / 19 / 2007 Instructor: Michael Eckmann.
ICS 102 Computer Programming University of Hail College of Computer Science & Engineering Computer Science and Software Engineering Department.
CS 106 Introduction to Computer Science I 04 / 20 / 2007 Instructor: Michael Eckmann.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Arrays and ArrayLists in Java L. Kedigh. Array Characteristics List of values. A list of values where every member is of the same type. Each member in.
Arrays An array is a data structure that consists of an ordered collection of similar items (where “similar items” means items of the same type.) An array.
CS 206 Introduction to Computer Science II 09 / 10 / 2009 Instructor: Michael Eckmann.
SIX STANDARDS RELATED TO TEACHER EFFECTIVENESS STANDARDS 1-5 FROM OBSERVATIONS AND EVIDENCE STANDARD 6 AS A MEASURE OF STUDENT GROWTH WITH A TEACHER AND.
Copyright © 2012 Pearson Education, Inc. Chapter 6 More Conditionals and Loops Java Software Solutions Foundations of Program Design Seventh Edition John.
CompSci Arrays  Aggregate data type  Deal with items of same type  Lists of words  Numbers  Analogies  Mailboxes in post office  CD racks.
Java Basics.  To checkout, use: svn co scb07f12/UTORid  Before starting coding always use: svn update.
Generic Types  Recent release of Java added generics  Include type parameters in class definition  Like methods, parameters can change each time 
1 CS 177 Week 12 Recitation Slides Running Time and Performance.
AP Computer Science edition Review 1 ArrayListsWhile loopsString MethodsMethodsErrors
Classroom Rules. Q: What do I consider being on time? A: Being on time means that you are in your seat when the bell rings and working on your daily journal.
Chapter 5 Objects and Classes Inheritance. Solution Assignments 3 & 4 Review in class…..
90-723: Data Structures and Algorithms for Information Processing Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 1: Introduction Data.
2006 – 2007 Student Activity Conference 1CS Intro and Update Computer Science Contest Introduction Mike Scott Contest Director For new coaches and contestants.
Problem of the Day How can you make 16 right angles using 4 matchsticks WITHOUT breaking any of them?
2013 – 2014 Student Activity Conference 1CS Intro and Update Computer Science Contest Introduction Dr. Shyamal Mitra Contest Director For new coaches and.
Hoogle Neil Mitchell. Haskell Types 101 isURI :: String -> Bool (||) :: Bool -> Bool -> Bool or :: [Bool] -> Bool id :: a ->
Written by: Dr. JJ Shepherd
Typecasting References Computer Science 3 Gerb Reference: Objective: Understand how to use the Object class in Java in the context of ArrayLists.
CPSC 233 Tutorial 5 February 2 th /3 th, Java Loop Statements A portion of a program that repeats a statement or a group of statements is called.
CMSC 104, Section 301, Fall Lecture 18, 11/11/02 Functions, Part 1 of 3 Topics Using Predefined Functions Programmer-Defined Functions Using Input.
CS 116 Object Oriented Programming II Lecture 13 Acknowledgement: Contains materials provided by George Koutsogiannakis and Matt Bauer.
Forage Kaylee Snyder Intro to Ag Science Teaching Kaylee Snyder Intro to Ag Science Teaching.
1 Project 12: Cars from File. This is an extension of Project 11, Car Class You may use the posted solution for Project 11 as a starting point for this.
AP Java Elevens Lab.
CSE 116/504 – Intro. To Computer Science for Majors II
Andy Wang Operating Systems COP 4610 / CGS 5765
Data Structures and Algorithms for Information Processing
Vocabulary Algorithm - A precise sequence of instructions for processes that can be executed by a computer Low level programming language: A programming.
Classes CS 21a: Introduction to Computing I
Presentation transcript:

Troy High/CSU DH Programming Contest Troy/CSU DH

Rules Have Fun Five person teams Two computers per team Results are based on passing test data. No prewritten code should be used. Access to a Java API is recommend –internet access should not be presumed bring lots of scratch paper –none available HAVE FUN !!!!

Contest Timeline Times Activities 7:30 Check in – register – set up computers 9:00 Contest Prompts issued electronically 9:15 Questions about prompts answered 11:30 Team files submitted for scoring 12:00 Lunch 1:00 Awards Timeline estimates and subject to change

Contest Guidelines All Programs shall be written in Java 1.5 (Tiger). Problem statements will be consistent with the Advance Placement Computer Science A (AP SC A) Curriculum. Teams are warned to avoid Java 1.4 code that does not compile in Java 1.5. One example of such code is the: Integer.compareTo(Object obj)

Contest Guidelines All programs will be auto-tested (JUnit) using Jam Tester. (More information can be found at Each problem will come with a folder –The folder will contain partially/fully defined classes and a JUnit Testing file.

More on JUnit See for more information on JUnit with the following disclaimers: –Java 1.5 is now being used –The constructor may have any primitive or class item as a parameter (not restricted to String) –Your class may or may not instance variable –The name of the methods may vary and the return type may also vary (primitives or class) The spirit of is still be adhered to.

More on Programming Testing Each problem will require method(s) to be implemented. These methods will be tested by the JUnit file using the JamTester tool. –Helper methods are allowed. –A sample test is given in the JUnit file. More test methods may be created, –The original file must compile without error for a solution to be tested.

How Solutions are Tested For each problem, a sample test method has been given in the accompanying JUnit file. The final test has 9 additional test methods (a total of 10) that will be graded by JamTester. A perfect score would be a score of 100! *Subject to change without prior notification

Testing Process Each team will be given: –A packet containing a hard copy of: Each programming problem. The JUnit file with one test method for each programming problem. Each class used by each programming problem. –a CD A folder containing an electronic copy (word) of each programming problem.. A folder containing an electronic copy: –The JUnit file used to test each programming problem. –Each class used by each programming problem.

Scoring, Winning, and …. Total score (test methods passed) is used to determine team score. High Score wins – Ties – see next slide

Tie Breaker??? Ties are broken in the following manner: 1.Each problem will be assigned a ranking, and high score on each individual problem will be used until one team is eliminated. 2.If all scores are equal, then each problem will be checked in reverse order starting at the top of each problem. The first team to miss a problem that another team does NOT is eliminated. 3.Once a team is eliminated from the tie, go back to tie breaker (1) and repeat until only one team is left. 4.Pray we never get this far! - Judges will decide?

Testable Material Topics consistent with the AP CS A course including (but not limited to) array, ArrayList, String and recursion. –While knowledge of AP CS AB curriculum and Data Structures such Map and Sets is not require, it may simplify some solutions. Ability to read and use an API. Ability to convert between ALL number bases.