Welcome to CodeWarmers!

Slides:



Advertisements
Similar presentations
LYNBROOK COMPUTER SCIENCE CLUB MONDAY, OCTOBER 26, 2009 POWERPOINT CREATED BY: RITIK MALHOTRA PRESENTATION BY: KARTHIK VISWANATHAN Intro to USACO.
Advertisements

Welcome to C++ Programming Workshop at The University of Texas at Dallas Presented by John Cole July 8-12, 2013.
Welcome to Java Programming. Why do I want to take this course? I want to major in EE/CSE. ECE122 is a requirement. Java is hot in Job market. It is useful.
Introduction to Computer Programming in C
Copyright 2008 by Pearson Education Building Java Programs Chapter 6 Lecture 6-1: File Input with Scanner reading: , 5.3 self-check: Ch. 6 #1-6.
Local Programming Contest Overview John Paxton October 25, 2006.
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Introduction to Java Lab CS110A – Lab Section 004 Instructor: Duo Wei.
Distributed Systems Tutorial 1 - Getting Started with Visual C#.NET.
18 File handling1June File handling CE : Fundamental Programming Techniques.
Unit2: Object-oriented programming Getting started with Java Jin Sa.
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
Computer Science - I Course Introduction Computer Science Department Boston College Hao Jiang.
Writing algorithms using the while-statement. Previously discussed Syntax of while-statement:
The break and continue statements. Introduction There are 2 special statements that can affect the execution of loop statements (such as a while-statement)
Programming Contest problems Dr. Jeyakesavan Veerasamy CS faculty, The University of Texas at Dallas Website:
CSE 131 Computer Science 1 Module 1: (basics of Java)
Shorthand operators.
CS 101 Introduction to Programming Dr. Basit Qureshi Assistant Professor College of Computer and Information Sciences Prince Sultan University.
Introduction to Java Programming with JBuilder 4
Teach.NET Workshop Series Track 4: AP Computer Science with.NET and J#
Moooooo Or: How I learned to stop worrying and love USACO.
Programming Concept Chapter I Introduction to Java Programming.
How to Run a Java Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
How to Run a Java Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Input & Output In Java. Input & Output It is very complicated for a computer to show how information is processed. Although a computer is very good at.
 JAVA Compilation and Interpretation  JAVA Platform Independence  Building First JAVA Program  Escapes Sequences  Display text with printf  Data.
Game Programming in Java Dr. Jeyakesavan Veerasamy CS faculty, The University of Texas at Dallas Website:
BUILDING JAVA PROGRAMS CHAPTER 6 File Processing.
C++ Introduction : C++ compilation. Visual Studio 2008 : Creating Command-Line Program.
20 Oct - Overview Homework #1 Group-Id rule Notes on Java text file input/output –Scanner class –Printf (like C)
Working with arrays (we will use an array of double as example)
Preliminaries CS 310: Object-oriented Programming Java API.
CS Software Studio Java Lab 1 Meng-Ting Wang PLLAB, Computer Science Department, National Tsing-Hua University.
Mixing integer and floating point numbers in an arithmetic operation.
CSC1401 Strings (text). Learning Goals Working with Strings as a data type (a class) Input and output of Strings String operations.
The SECOND Meeting Or: How I learned exciting new things in CS Club.
CS 4244: Internet Programming Network Programming in Java 1.0.
Week 14 - Monday.  What did we talk about last time?  Inheritance.
Using the while-statement to process data files. General procedure to access a data file General procedure in computer programming to read data from a.
CS7 Recitation Cem Akkaya. Outline  Homework-0 in detail  Useful links and tools  Setting up your java environment.
The assignment expressions. The assignment operator in an assignment statement We have seen the assignment statement: Effect: var = expr; Stores the value.
BHCSI Programming Contests. Three contests Mock Contest #1  Friday, July 16 th  2:15 – 4:45pm UCF High School Online Contest  Thursday, July 22 nd.
Introduction to array: why use arrays ?. Motivational example Problem: Write a program that reads in and stores away 5 double numbers After reading in.
The SECOND Meeting Or: How I learned exciting new things in CS Club.
Lecture1 Instructor: Amal Hussain ALshardy. Introduce students to the basics of writing software programs including variables, types, arrays, control.
Time to apply stuff… Faculty of Mathematics and Physics Charles University in Prague 5 th October 2015 Workshop 1 – Java Wrestling.
Computer Science A 1. Course plan Introduction to programming Basic concepts of typical programming languages. Tools: compiler, editor, integrated editor,
Programming Fundamentals I Java Programming Spring 2009 XuanTung Hoang Lab 01.
File Input & Output Sections Outcomes  Know the difference between files and streams  Use a Scanner to read from a file  add “throws” annotations.
Computer Science I Lab 1 ISMAIL ABUMUHFOUZ | CS 180.
Introduction to Java Programming, 4E Y. Daniel Liang.
CS 201 Lecture 1 (b) Using an IDE Tarik Booker CS 201: Introduction to Programming California State University, Los Angeles.
Programming Competitions. USA Computing Olympiad ace.delos.com/usacogate You need to create an account (use KITE address) to gain access. Solution.
Software Development Packages
Richard P. Simpson Midwestern State University
Building Java Programs
Week 14 - Wednesday CS 121.
Comp Sci 200 Programming I Jim Williams, PhD.
Something about Java Introduction to Problem Solving and Programming 1.
How to Run a Java Program
Computer Programming 1 introduction to JAVA Lecture 1 Instructor: Ruba A. Salamah Islamic University of Gaza.
File Handling in Java January 19
Building a program (Java libraries) - an example
CSC1401 Input and Output (with Files)
Building Java Programs
Building Java Programs
Computer Terms Review from what language did C++ originate?
F II 2. Simple Java Programs Objectives
How to Run a Java Program
Presentation transcript:

Welcome to CodeWarmers! Jey Veerasamy & John Cole CS faculty, UT Dallas

Pre-requisites Participants should be comfortable with the basics of programming in Java/C++. Those basic concepts are decisions, loops, functions/methods, and arrays. If you are new to programming, you should complete CS1336 Programming Fundamentals course in UT Dallas, or CSK12OutreachUTD workshops OR300 Java/OR301 C++ first.

Logistics You should bring a laptop with WiFi access to the session. Each session will have ~1 hour of lecture followed by ~2 hours of hands-on problem-solving. You should have a working compiler & IDE environment for C++ / Java. If you have one already, you can skip the next 2 slides.

Java compiler & IDE Compiler: Java Platform (JDK) 7u11 www.oracle.com/technetwork/java/javase/downloads Compiler: Java Platform (JDK) 7u11 Simple IDE: jGRASP www.jgrasp.org (or) Complex IDE & bundle: JDK 7 + NetBeans www.eclipse.org/downloads/ Eclipse IDE for Java Developers

C++ compiler & IDE MS Visual Studio / Visual C++ Express (or) codeblocks-12.11mingw-setup.exe from www.codeblocks.org/downloads/26 NetBeans C/C++ bundle from netbeans.org/downloads/ Google for “Configuring the NetBeans for C++” and follow steps to install a C++ compiler. www.eclipse.org/downloads/ Eclipse IDE for C/C++ Developers

IOI/USACO International Olympiad in Informatics USA Computing Olympiad (USACO) feeds to it Information & competitions: www.usaco.org USACO training site: ace.delos.com/usacogate We need to create accounts in both sites.

ACM ICPC ACM International C Information: icpc.baylor.edu ACM programming competitions training site: uva.onlinejudge.org

A few other competition sites www.codechef.com www.topcoder.com www.spoj.com projecteuler.net Lot more at en.wikipedia.org/wiki/Category:Programming_contests

USACO competitions Individual competitor Uses input files & output files (NO standard input/output) Upload and submit the source file for assessment Typically 10 testcases For each case, result can be YES, NO, or Time-over Need to get OK for all testcases Helps you by pointing out invalid output & showing the correct output

ICPC competitions team based (each team has 3 college students) Uses input files & output files (NO standard input/output) Varying # of testcases Upload and submit the source file for judging 3 indications: Success, Wrong answer, or Time Exceeded No information on test input/output provided for wrong answers

Start-up code for C++ /* ID: jeyak71 Needed for USACO training site PROG: beads LANG: C++ */ #include <iostream> #include <fstream> #include <string> using namespace std; int main() { ofstream fout ("beads.out"); ifstream fin ("beads.in"); … fout.close(); }

Start-up code for Java /* ID: jeyak71 Needed for USACO training site PROG: beads LANG: JAVA */ import java.util.*; import java.io.*; class beads { public static void main(String[] args) throws Exception { Scanner input = new Scanner(new File("beads.in")); PrintWriter output = new PrintWriter("beads.out"); … output.close(); }

Problem set for Session #1 USACO training site: Your Ride is Here USACO site Nov 2012 contest: Find the Cow! USACO site Dec 2012 contest: Meet and Greet USACO training site: Friday the Thirteenth USACO training site: Broken Necklace