# Algorithms and programming teaching resources: Java

Resources and ideas for computing, algorithms and programming, java, written by teachers to support teaching and learning

#### List of programming techniques

List of all the programming techniques required for GCSE and A Level Computing; what do the students need to learn or show as part of the evidence in controlled assessments or Computing courseworks

#### Applab math app support document

This document can be used by teachers to teach children how to build a simple random math question app using applab: https://code.org/educate/applabThe document can also be used by children as a support document while building the app.The presentation contains 23 slides that step both teachers and children through the process of designing screens, adding and naming elements, creating variables, creating functions, using mathematical operators and programming the app. The document aims to describe how variables and functions work using simple analogies that children can relate to. It also aims to describe how each line of code works within the app.Curriculum objectives:Design, write and debug programs that accomplish specific goals, including controlling or simulating physical systems; solve problems by decomposing them into smaller parts.Use sequence, selection, and repetition in programs; work with variables and various forms of input and output.Use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs.Select, use and combine a variety of software (including internet services) on a range of digital devices to design and create a range of programs, systems and content that accomplish given goals, including collecting, analysing, evaluating and presenting data and information.

#### GCSE or A Level: Programming techniques

Programming techniques- some interesting questions and answers; Can be used for A Levels or GCSE classes as a test or homework

#### AQA A2 ICT INFO3 June 2010 Pre-release Analysis

This document contains some notes on possible questions and areas to revise for the INFO3 Pre-release work.

#### IGCSE / O LEVEL COMPUTER SCIENCE PAPER 2

Revision worksheets suitable for IGCSE (0478) AND O-LEVEL( 2210) COMPUTER SCIENCE PAPER 2. INCLUDE TOPICS- DATABASE AND PSEUDOCODE .

#### Learn JAVA programming

Introduction to Java: Specifically defining Java Methods, Strings, Integers,Variables, and Data Types. This exceptionally comprehensive and highly detailed pdf provides not only the curriculum but additional assessment resources as well. This Introduction to Java is for students 11-15 and those without programming experience.

#### ICT and Computer Science Word Wall/ Display

Key terminology display for ICT/Computing

#### WORKSHEET TO DESIGN ALGORITHM USING PSEUDOCODE OR TO DRAW A FLOWCHART

Algorithm using pseudocode or draw flowchart .Suitable for beginners in programming to get basic understanding of sequence ,control flow programming basics etc.Can be used as an assignment , home work or class work .

#### PSEUDOCODE

INCLUDES HANDOUT, BUILD UP EXERCISE TO WRITE PSEUDOCODE , ASSIGNMENTS , HOMEWORK TASK ,COMMON PRE-RELEASE BASED QUESTIONS ETC .SUITABLE FOR IGCSE / O -LEVEL COMPUTER SCIENCE PAPER 2.

#### Adrift with Java: Learning Java Coding Basics in Space!

&quot;Now it's time to leave the capsule if you dare&quot;This is Major Tom to Ground ControlI'm stepping through the doorAnd I'm floating in a most peculiar way.&quot;-Space Oddity by David BowieOne may find it odd that I teach small coding lessons in my Language Arts classes. However, I look at these activities, in the same manner I do with any form of writing or communication. When I teach my students to write, I don't do it, because I expect them to all become published authors. I teach them to write, because it's an integral form of communication. I look at coding in the same manner. The children today really should have some experience with coding. It's a form of communication that is more prevalent in society each and every day. Therefore, Wake Up Sunshine, is proud to bring you Adrift with Java: Learning Java Coding Basics in Space! With this simple and affordable guide, the students will be presented the very basics of Java coding language. The students will then watch various video clips of my play through of the phenomenal video game, Adrft, by 505 Games. Overall, I do one activity as a mini-lesson each day throughout the guide. I follow the provided routine below when working with the guide:Introduce the basics of Java Language.Complete one activity per day →-Data Type 1: int (pp. 8 - 10)-Data Type 2: Boolean (pp. 11 - 13)-Data Type 3: char (pp. 14 - 16)-Variables (pp. 17 - 19)-Whitespace (pp. 20 - 23)-Comments (pp. 24 - 27)-Math +, -, *, / (pp. 28 - 32)-Math % (pp. 33 - 37)-Relational Operators (pp. 38 - 42)-Equality Operators (pp. 43 - 46)Spot Check Assessment 1Part 1 Assessment-Boolean Operators &amp;&amp; (pp. 51 - 54)-Boolean Operators || (pp. 55 - 58)-Boolean Operators ! (pp. 59 - 62)-Boolean Operators &amp;&amp; || ! (pp. 63 - 66)-Conditional Expressions “if” (pp. 67 - 70)-Conditional Expressions “if/else) (pp. 71 - 74)Spot Check Assessment 2Part 2 AssessmentNote: I suggest that the teacher completes some of these activities as a practice run through, before implementing in class. This is not a simple copy/handout and expecting the students to know it all. As noted by Benjamin Franklin, &quot;By failing to prepare, you are preparing to fail.&quot; By practicing a little, the educator will feel much more prepared to let their students give these activities a try.Keep in mind, the goal is not necessarily to get every coding challenge correct . . . you may not. Regardless, the students are exercising their brains, and thereby reaping the benefits.Total Pages: 79

#### 2.2 Programming techniques for Python - GCSE Computer Science OCR 9-1 Programming with Python

Covers 2.2 Programming techniques from the specification.Created for use with Python version 3.x.Full resources for the following:Learners will study the following:• how to identify and use variables, operators, inputs, outputs and assignments• how to understand and use the three basic programming constructs used to control the flow of aprogram: Sequence; Selection; Iteration• how to understand and use suitable loops including count and condition controlled loops• how to use different types of data, including Boolean, string, integer and real, appropriately insolutions to problems• how to understand and use basic string manipulation• how to understand and use basic file handling operations: -open -read -write -close• how to define and use arrays (or equivalent) as appropriate when solving problems• how to understand and use functions/sub programs to create structured code.

#### Selection - GCSE Computer Science OCR 9-1 Programming with Python

A complete bundle for OCR 9-1, introducing selection in Python. Has both theory and practical lessons; could be spread over two, three or four lessons as suitable for your context.

#### Selection theory for GCSE Computer Science

Teaches students about selection. The full lesson includes booklet and homework.This resource is not based on any particular programming language, so is applicable for any particular language you choose.

#### Introduction - GCSE Computer Science OCR 9-1 Programming with Python

A complete bundle for OCR 9-1, introducing Python. Has both theory and practical lessons; could be spread over one, two or three lessons as suitable for your context.

#### Variables theory for GCSE Computer Science

Teach students about variables. They study assignments and make sure that the variables are printed to the screen, using a variety of paradigms. This resource is not based on any particular programming language, so is applicable for any particular language you choose.

#### Introduction to programming theory for GCSE Computer Science

Teach students about programming . They study basic strings and how computers store and manipulate data.This resource is not based on any particular programming language, so is applicable for any particular language you choose.

#### Variables - GCSE Computer Science OCR 9-1 Programming with Python

A complete bundle for OCR 9-1 teaching variables with Python. Has both theory and practical lessons; could be spread over one, two or three lessons as suitable for your context.

#### JavaMan_WorkBooks

Learn Java programming with JavaManIntroduction to Java: Specifically defining Java Methods, Strings, Integers,Variables, and Data Types. This exceptionally comprehensive and highly detailed pdf provides not only the curriculum but additional assessment resources as well. This Introduction to Java is for students 11-15 and those without programming experience.

#### Features of programming

A PowerPoint that is to be printed and laminated, with the features of programming, match the features together as a game or puzzle or Q&A activity Works well and is well received by the classes

#### ICT Level 1 Functional Skills Learning Resources

A complete learning challenge developed by guroo and made available free of charge on TES Connect and www.guroo.info. You spot an advert for auditions for a talent show called 'Sing To WIn', loosely based on X Factor. Learning tasks include writing an email, putting details of the time and date in your diary, using a train timetable and following instructions on an interactive map. The resources include an introduction video, downloadable worksheet, solutions and lesson plans and flash based interactive tasks. A practical, real life learning challenge that students enjoy written especially to help teachers and students practice to develop mastery in functional skills.

#### Agile Software Development Pictures

Various pictures relating to agile software development

#### The ASCII Alphanumeric Code

PowerPoint file with What is ASCII, Why do we use ASCII, How do we use ASCII, sections. Then activity involving decoding ASCII to find the answers to jokes! Also includes short wordpad activity to illustrate how characters are stored, and notes on parity bits. Final activity is to add even parity to each byte used in previous activity. All instructions/notes are in the file!

#### Programming control structures and languages

A detailed powerpoint about the control structures used in software development, a bit old but it is still used for general principles

#### Systems Life Cycle game

A simple activity where the learner puts the tiles in the right order, this can be printed and laminated to allow more than one use.

#### AQA GCSE 9-1 Computer Science 8520: Programming Techniques Checklist

A checklist for programming techniques for the NEA for students to use and evaluate against their code(s)

#### Boolean Algebra 1

A lesson on simplifying Boolean expressions using truth tables and the Boolean theorems. Answers and teacher notes can be found in the notes section of the PPT - you will obviously want to remove these before making the PPT available to students.

#### Algorithms

This is a simple powerpoint you priont and cut out, the learners can then plan algorithms without wasting paper, once they have completed the algorithm they ten copy it to paper, or visio.

#### Java Helpsheets (Good Wall Displays)

Teaching Java to students can be tricky as there is a lot of syntax to take in. I created a number of these helpsheets which cover basic topics with simple explanations and examples of use. These are ideal for wall displays; I have these printed A3 around my classroom as they are very useful for students and also nice and colourful. They are also provided digitally for students to download and keep for themselves.As always with all my resources, please leave some feedback to help me make better resources and so others can find them!

#### Programming Exercises

Exercises for programming grouped by topics - numberwork, characters and strings, selection, iteration, arrays, subroutines and text files.

#### Arrays

A lesson on arrays developed for my Year 12 AS Computing class (following the AQA specification, using Pascal)