Secondary School Programming Competition (SSPC) Guide

School of Computer Science

University of Windsor

Dr. Ziad Kobti
School of Computer Science
University of Windsor
Office: LT5101 email: kobti@uwindsor.ca
Phone: (519)253-3000 ext 3792

NAMEDOWNLOADVIEWDESCRIPTION
Example 1 – I/O With Integers
Download the Java fileView Java fileThis program shows you how to create a Java application that will use a for statement to create a loop to count from 1 until n, where n is a user-inputted integer. The sum of all numbers will be calculated.
Example 2 – I/O With DoublesDownload the Java fileView Java fileThis program shows you how to create a Java application that will read in from the keyboard and output to the screen values of type double. Using the math library, we will calculate the length of a square and the area of a circle.
Example 3 – Algorithms With IntegersDownload the Java fileView Java fileThis program demonstrates how to create a Java application that, using user input, illustrates the multiple approaches to the same solution. Some are easier than others.
Example 4 – Loops Using “For”
Download Java fileView Java fileThis program will utilize the same algorithm as Example 4, employing a while statement to iterate through the numbers.
Example 5 – Loops Using “While”Download the Java fileView Java fileThis program shows you how to create a Java application that uses a String Tokenizer to parse a line and then use the information gathered. Try and Catch blocks are introduced.
Example 6 – String I/O and ParsingDownload the Java fileView Java fileThis program demonstrates how to create a Java application that uses a String Tokenizer to parse a line and then utilize the gathered information. Try and Catch blocks are introduced.
Example 7 – Strings and LoopsDownload the Java fileView Java fileThis program will demonstrate how to create a Java application that runs repeatedly until the user chooses to quit. Input will be given in strings and converted and processed as integers.
AllDownload all files
Workshop I GuideDownload the Workshop Guide
Open Kattis TutorialOpen Kattis TutorialKattis tutorial and submission help

Scroll to Top