Problem Solving and Programming 1 (group C)

Resources for PSP1 are now on Blackboard:

This document shortcut: goo.gl/iEEdt7 linked from cit.karlgrabe.com/psp1

Lecture Support

Approximate Schedule of assessments

• Assessment 1        Week 5                Lab Exam 1 hour, input/output        10%
• Assessment 2 Week 9                Lab Exam 1 hour, selection                10%
• Multiple Choice Week 11                Lab                                        10%
• Project Week8 spec,12 due                Individual program, outside of lab        20%
• Final Exam week 13                        Lab Exam fri 9th Dec                        50%

Module Descriptor: Problem Solving and Programming 1

From the module descriptor::

Module Content & Assessment

 Indicative Content Fundamental Programming ConceptsStudents will learn the fundamental programming concepts that apply to all programming languages: data types, variables, constants, operators, expressions, sequential statements, input and output, selection statements, and repetition statements. Students will apply these fundamental programming concepts to the design of algorithmic solutions to defined problem statements and implement these solutions in HLL such as Java. Designing and documenting solutions using standard techniquesStudents will use standard documentation techniques such as flowcharts or pseudocode to document algorithmic solutions to defined problem statements. Implementing solutions in high level languageStudents will implement algorithmic solutions to defined problem statements in a high level programming language such as Java, using an appropriate development environment. Students will learn how to identify and eliminate syntax and logical errors. TestingTest plans will be designed and implemented at every stage of development process i.e. during design, incremental development and delivery stages, to ensure that the solution produced solves the defined problem.

Pokemon Go - A Java Program (= Application, App on a mobile device) on Android

It uses lots of items from our module indicative content e.g.:

• Data Types
• Variables
• Selections statements
• etc.

The game might use this Java code on Android phones in the left screenshot:

float pokeStopDistance;  // a variable store pokeStop distance

pokeStopDistance = getPokeStopDistance; // get distance, GPS etc

// for more than 20 meters we are too far

if (pokeStopDistance > 20)

println (“This PokeStop is too far away”);

This Document: goo.gl/iEEdt7