icon picker
about this document

First draft of materials for Software Development in Higher Computing Science (Java)

Higher Java Project Workspace


Standard Algorithms

count occurrences
find maximum / minimum
linear search

Other Constructs

substring

Data Structure

parallel arrays

File handling

open
read
write
close
text files
CSV files
Here are the projects
1
group
task
constructs
developer skill
revision
3
n5 traverse array
working with arrays
using index
traverse array with for loop
n5 runTotal
traverse array
running total for array
average
calendarGraph
traverse array
introducing idea of parallel arrays
introducing substring
3
Count
parallel arrays
2
solar system min-max
string and integer parallel arrays,
standard algorithms
euro population
stored values
parallel arrays
count occurrences
find max and find min
substring
assume coder has completed previous projects using the features below
2
Count
Scottish Councils
3
council names
text file : open, read, close
store data into parallel arrays,
use standard algorithms
council voters
File handling
open a file
read numbers from a text file
close a file
standard algorithms
What is the largest number of voters?
Count how many councils have more than 100000 voters
council csv data
open csv file,
read and store text and number values into parallel arrays,
close file
3
Count
fifa 2019
3

fifa task

file handling

open CSV file, 📂
read and store text and number values into parallel arrays,
close file

standard algorithms

Count occurrences ➕
find max ⬆️
re-use code
follow design
fifa demo
open csv file,
read and store text and number values into parallel arrays,
close file
fifa write to file
open csv file,
write values to a file,
close file
3
Count
letter frequency
1

letter frequency

file handling

open CSV file,
read and store text and number values into parallel arrays,
close file

standard algorithms

use count, find max
write selected data to a new file
this task assumes the developer is already familiar with the constructs described below, minimal support
developers should re-use previous code to complete this project
read requirements
1
Count
modular
4

modular calendar

modular version of calendar task does not use files (to provide a simpler project) uses two classes

modular solar

modular design

dataflow
parameter passing
function and procedure

file handling

read file
write file

data structure

parallel arrays

standard algorithm

find min
count occurrences

modular fifa

modular design

dataflow
parameter passing
function and procedure

file handling

read file
write file

data structure

parallel arrays

standard algorithm

find max
100 common words
file handling
parallel arrays
standard algorithms
modular design
challenge task
4
Count
object + record
4
solar object
compare parallel arrays and array of objects
no file handling (focus on data structure)
create class to define record format
create an object array to implement array of records
display individual records (objects) from array
traverse array to display values from all objects
fifa object
File handling
open a file
read numbers from a text file
close a file
Write to a afile
standard algorithms
Find max
Count
data structure
record (object)
array of records (object array)
the project has part developed code
read the code used so far
implement the remaining requirements
council object

data structure

create a class to implement a record structure
create a top level algorithm including an array of records (object array)

file handling

open file
read a file
store values into an array of records
close file

standard algorithms

find max
letter frequency object

data structure

create a class to implement a record structure
create a top level algorithm including an array of records (object array)

file handling

open file
read a file
store values into an array of records
close file
write values from an array of records to file

standard algorithms

display the letter which appears most frequently
display the number of letters which appear with a frequency of more than 5.00
save the consonants into a new file including the letter and the frequency
4
Count
20
Count
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.