Programming Midterm Review

Slides:



Advertisements
Similar presentations
Algorithm Design Techniques
Advertisements

Analysis & Design of Algorithms (CSCE 321)
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2009 Lecture 1 Introduction/Overview Text: Chapters 1, 2 Th. 9/3/2009.
About the Course Lecture 0: Sep 2 AB C. Plan  Course Information and Arrangement  Course Requirement  Topics and objectives of this course.
Lecture 33 CSE 331 Nov 20, Homeworks Submit HW 9 by 1:10PM HW 8 solutions at the end of the lecture.
Chapter 10: Algorithm Design Techniques
Midterm Exam Two Tuesday, November 25 st In class cumulative.
CSE 326: Data Structures Sorting Ben Lerner Summer 2007.
EE 220 (Data Structures and Analysis of Algorithms) Instructor: Saswati Sarkar T.A. Prasanna Chaporkar, Programming.
CENG 213 Data Structures Department of Computer Engineering Middle East Technical University Fall 2014 CENG 213 Data Structures 1.
Melanie Formosa Jennifer McLaughlin Stephanie Keiles.
Mr. Kahl’s Students.  That each one of you will be graduated from a university by June of  That each one of you is accepted for admission to a.
Instructor: Dr. Sahar Shabanah Fall Lectures ST, 9:30 pm-11:00 pm Text book: M. T. Goodrich and R. Tamassia, “Data Structures and Algorithms in.
About the Course Lecture 0: Sep 10 AB C. Plan  Course Information and Arrangement  Course Requirement  Topics and objectives of this course.
A Taxonomy of Algorithms used in the ACM Programming Competition Douglas Hobson Supervisor: A.J. Ebden.
1 CS 233 Data Structures and Algorithms 황승원 Fall 2010 CSE, POSTECH.
Write the equation of the line…. Write the equation of the line… Through (4, 5) and (6, 9)
Intro to Computer Algorithms Lecture 11 Phillip G. Bradford Computer Science University of Alabama.
Sorting Sanghyun Park Fall 2002 CSE, POSTECH. Sorts To Consider Selection sort Bubble sort Insertion sort Merge sort Quick sort Why do we care about sorting?
10/20/20151 CS 3343: Analysis of Algorithms Review for final.
For Wednesday No reading No homework There will be homework for Friday, as well the program being due – plan ahead.
No tests are dropped No tests are given over No extra time is given Calculators can be used Partial Credit is given Non – calculator No partial credit/multiple.
Algorithm Design Methods (II) Fall 2003 CSE, POSTECH.
Lecture 6 Complex Sorting 1. Announcements Homework 3 due Monday No participation this week Test is on Thursday Part of Wednesday will be review I will.
Game Programming II 5 Weeks Programme. Content Lab Assessment 2 Lab Assessment 3 Project I Submission Project II Announcement and Submission Final Exam.
Lecture 8 CSE 331. Main Steps in Algorithm Design Problem Statement Algorithm Problem Definition “Implementation” Analysis n! Correctness+Runtime Analysis.
CSE 340: Review (at last!) Measuring The Complexity Complexity is a function of the size of the input O() Ω() Θ() Complexity Analysis “same order” Order.
CMPT 238 Data Structures Instructor: Tina Tian. General Information Office: RLC 203A Office Hour: Tue and Fri 12:30 - 2:00PM.
CSE 250 – Data Structures. Today’s Goals  First review the easy, simple sorting algorithms  Compare while inserting value into place in the vector 
COMP9024: Data Structures and Algorithms Course Outline Hui Wu Session 1, 2016
UOP SCI 228 Entire Course With Final Exam Check this A+ tutorial guideline at For more classes.
RAIK 283 Data Structures and Algorithms
Lecture 2 Sorting.
Briefing Session— LAW4004 Contract Law
CS101 Computer Programming I
COMP9024: Data Structures and Algorithms
Data Structures and Algorithms
CVHS Math Teacher Special Education
Subject Name: Design and Analysis of Algorithm Subject Code: 10CS43
CENG 213 Data Structures Nihan Kesim Çiçekli
6.1.6 Least Common Multiple (LCM)
CMPT 238 Data Structures Instructor: Tina Tian.
Welcome to IRSC’s LIVE Virtual Lesson on:
Lecture 17 CSE 331 Oct 3, 2014.
CS 3343: Analysis of Algorithms
Rising 9th grade parent night
CS 3343: Analysis of Algorithms
CS 3343: Analysis of Algorithms
CS 3343: Analysis of Algorithms
Makeup work will not be accepted after you take the midterm exam!
Lecture 17 CSE 331 Oct 7, 2016.
CS 3343: Analysis of Algorithms
General physics L01_mechanics.ppt
CS 3343: Analysis of Algorithms
Sorting and recurrence analysis techniques
CSE 2010: Algorithms and Data Structures
Lecture 27 CSE 331 Oct 31, 2014.
RONALD HUI TAK SUN SECONDARY SCHOOL
RONALD HUI TAK SUN SECONDARY SCHOOL
Lecture 11 CSE 331 Sep 23, 2011.
Dynamic Programming II DP over Intervals
Ronald Hui Tak Sun Secondary School
Ronald Hui Tak Sun Secondary School
Ronald Hui Tak Sun Secondary School
Name ________________________________________________
Donghui Zhang, Tian Xia Northeastern University
CS Computer Science II: Data Structures and Abstraction Fall 2009
Social Studies.
CMPT 238 Data Structures Instructor: Tina Tian.
Lecture 27 CSE 331 Nov 1, 2013.
Presentation transcript:

Programming Midterm Review CSCI2100B Data Structure

Background CUHK has a strong tradition in ACM ICPC Excellent Tutors 8th in the world in 2000 8th in the world in 2011 Many regional and world final appearances Excellent Tutors 6 weeks to set the questions Weeks for the preparation of the system 1 day to copy the hard disks Additional hours

Exam Statistics Number of Participants: 78 All participants solved at least 1 problem!!! One participant solved all 7 problems!!! Average number of solved problems: 2.15 Average time (penalty): 183 Total attempts per participant: 7.9

Exam Statistics Number of solved problems: 7 – 1 participant 5 – 1 participant (1 non-CSE major) 4 – 2 participants (1 non-CSE major) 3 – 13 participants (1 non-CSE major) 2 – 48 participants (6 non-CSE major) 1 – 13 participants (2 non-CSE major)

Exam Statistics Acceptance rate for each Problem: A – 77/134 (57.46%) D – 4/25 (16.00%) E – 16/48 (33.33%) F – 2/40 (5.00%) G – 1/2 (50.00%) This is interesting. According to this statistics, the order of problem should be: A B E D F C G

Prize Championship: 1st Runner-up: 2nd Runner-up Honorable Mention: CHAN, Pak Hay (1155029810) 1st Runner-up: LAM, Ka Ho (1155031192) 2nd Runner-up YU, Chun Lung (1155029407) Honorable Mention: PANG Yui Tik (1155030526) WAN, Ka Ki (1155030851)

Prize Best Female Coder: Honorable Mention: CHU, Wing Yin (1155030760) DERMAWAN, Teresa (1009637094)

Prize Best Non-CSE Coder: Honorable Mention: Most Effective Coder: LAM, Ka Ho (1155031192) Honorable Mention: PANG, Yui Tik (1155030526) Most Effective Coder:

Miscellaneous Extra credit problem Looking for summer interns Internet/Web development Mobile development

Problem Review

A – String Revision http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3323

B – Intersection of Two Arrays http://www.geeksforgeeks.org/union-and-intersection-of-two-sorted-arrays-2/ Best solution: O(m+n) m – the length of array A n – the length of array B

C – Stone Piles http://acm.timus.ru/problem.aspx?num=1005 Brute force can satisfy the time limit

D – Prime Palindromes USACO 1.5.2 USACO Training Program curriculum is one of the best paths to learn data structures and algorithms.

E – Train Re-arrangement II Adapted from homework Algorithm is the same, only need to change stack functions to queue functions

F – Fruit Merge II Adapted from homework Use two queues, one for original fruit piles, the other for newly combined fruit piles Every time, choose two smallest numbers from the two queues

G – Counting Factor Trees http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3405 Dynamic Programming