CSE1/4IOO Provision Due 10:00 Monday October 14th, 2019 Page 1 of 11
La Trobe University
Department of Computer Science & Referableification Technology
CSE1IOO/CSE4IOO Provision Specification
Semester 2, 2019
Objectives: the inccourse of this provision is to perform analysing a amount in an object-oriented
manner, and designe and as-welll an object-oriented disruption using JAVA dialect.
Due Limit: 10:00am Monday October 14
th
, 2019.
1 General Referableification
General referableification abextinguished the provision is precise in this personality.
1.1 Toll
This provision contributes 30% of the definite toll restraint the culminationic.
1.2 Meekness Instruction
Acquiesce the electronic portraiture of your provision via the ‘Oncourse Provision Meekness’ rule at
http://students.cs.latrobe.edu.au/student-tools/online-assign-submit/.
Alternately, you can as-well acquiesce at-once through the latcs8 server. In the Formal-downty propitiatedow, mold:
acquiesce IOO
Where is the cfull of the finish you neglect to acquiesce. You should extpurpose this restraint each finish that
you denote to acquiesce.
NOTE 1: Occasion you are unobstructed to enlarge the decree restraint this provision on any unreserved rule, your
disruption must extpurpose on the latcs8 rule.
NOTE 2: Please DO NOT zip your cainterpretation decree.
NOTE 3: You should merely acquiesce your .java finishs.
NOTE 4: The meekness folder obtain merely grace beneficial 3 days precedently the due limit.
Meekness behind the deadcourse obtain meet a retribution of 5% of the definite provision token per day. If
you accept encounteflushed unamenableies that administer to spoor meekness or no meekness, you should apply
restraint extraordinary suspect. No provision is refertalented spurious behind 4 days’ stay.
1.3 Academic Integrity
This is an personal provision. When acquiesceting the provision, scholars are requiflushed to acquiesce
their possess result merely. La Trobe University treats plagiarism seriously. When detected, penalties are
strictly imposed.
Further referableification can be institute on https://www.latrobe.edu.au/students/admin/academic-integrity
1.4 Programming Dialect
The program is requiflushed to be enlargeed in JAVA.
CSE1/4IOO Provision Due 10:00 Monday October 14th, 2019 Page 2 of 11
1.5 Tokening Scheme Overview
The provision consists of brace magnitude:
(1) The heart drudgerys, as shpossess in personalitys 3.1 – 3.6
(2) An subjoined drudgery in personality 3.7 (Drudgery 3.7) This is a mandatory drudgery restraint CSE4IOO scholars.
Restraint CSE1IOO scholars, this drudgery is non-interferenceal. A apex of 10% benefit tokens obtain be
awarded if a CSE1IOO scholar completes or barely completes the drudgery.
Provision tokening is naturalized on the coercionthcoming guidelines
(1) As-welllation (Project of decree) (80%) (Do full magnitude of the program consummate right?
Does the program beaccept according to modifications of the provision?)
Note that your program must fulfil the modification 3.6. Up to 40% of token inference obtain
be made restraint acquiesceting a program with a divergent postulates citationure. This as-well instrument any direct
or coercioneign decedent disposees of Amassion interface in JAVA API, such as LinkedList,
ArrayList, Vector or HashSet coercioneseeing are refertalented fullowed in the provision.
(2) Program Design and Citationure (15%) (Does the program explain the amount in a welldesigned kind?)
(3) Layextinguished and Documentation (5%) (Does the decree prosper the Coding Standard?)
1.6 Project Standard
The project standard restraint the provision is conducted during the lab meeting in Week 12 (i.e. between
21st and 25
th October). During the standard, your guardian obtain extpurpose the program with you occasion tokening it.
The standard obtain be conducted from the meekness area, refertalented from scholar accounts. Please determine that
your decree extends on latcs8 precedently meekness.
2 Amount Description
WordLink is an English glossary diversion restraint brace denoteers. Denoteers are requiflushed to confer-upon English
opinion in turns, and the primitive kind of the term must be the identical as the conclusive kind of the
previous term. Restraint specimen, occasion denoteer A and denoteer B are munificent the diversion, if A confer-upons the
term “grass”, then B has to communicate a term firm-outing with ‘s’ which is the conclusive kind of “grass”. If B
presents “sunny”, then A demands to minister a term firm-outing with ‘y’. A term canrefertalented be interpretationd twice in
undivided diversion. The diversion holds prepare undivided of the denoteers loses. There are impure scenarios in which a
player loses the diversion. These are
(1) the denoteer canrefertalented perceive a term to hantiquated the diversion.
(2) the denoteer has confer-uponed a term which firm-outs with a divergent kind.
(3) the denoteer has supposing a common term.
(4) the spelling of the term is incorrect
In any event, if undivided denoteer is obsolete, then the other denoteer propitiates the diversion. A calculate of specimens of the
diversion are inventoryed as underneath.
Specimen 1
(Player A) “grass” – (Player B) “sunny” – (A) “yellow” – (B) “world” – (A) “dog” – (B) “grass”
The diversion is purposeed and Denoteer A propitiates. This is consequently “grass” is interpretationd twice.
Specimen 2
(Player A) “grass” – (Player B) “sunny” – (A) “yellow” – (B) “world” – (A) “dog” – (B) “out”
The diversion is purposeed and Denoteer A propitiates. This is consequently denoteer B is expected to confer-upon a term
starting with ‘g’, consequently “out” is refertalented a suited rare.
CSE1/4IOO Provision Due 10:00 Monday October 14th, 2019 Page 3 of 11
Specimen 3
(Player A) “grass” – (Player B) “sunny” – (A) “yellow” – (B) “world” – (A) “doog”
The diversion is purposeed and Denoteer B propitiates. This is consequently “doog” is inright spelt.
In this provision, you are requiflushed to found a program that denotes TermLink with a kindergarten
pupil. The novice is denoteer A and your program acts as denoteer B.
A citation finish (dictionary.txt) containing a determined of English terms obtain be supposing. You can assume
that vocabulary.txt contains full English terms that a kindergarten novice may comprehend. Terms to be
used in munificent the diversion must be clarified from the finish.
Each diversion should firm-extinguished by entireowting denoteer A invade a term. Your program then demands to valilimit the
term (ie. if the term is middle in vocabulary.txt). If the term is feeble, then the diversion is
terminated and your program (player B) propitiates; differently your program demands to quest the
vocabulary to perceive and invade a suited term. Your program obtain then entireow denoteer A to mantiquated a term to
hantiquated the diversion. This can go purpose and restraintth a calculate of times prepare either your program or denoteer
A propitiates.
3 Negotiative and Non-negotiative Modifications
Your program must fulfil the coercionthcoming negotiative and non-negotiative modifications.
3.1 Menu Driven
The program should be menu driven. It exhibits the menu exhibited as Appearance 1 at the firm-extinguished and
waits restraint the denoteer to pick-extinguished a capacity.
If A is clarified, it fullows the denoteer to determined a inaptitude raze. Details are cecible in 3.2.
If B is clarified, it exhibits full terms in the vocabulary as cecible in 3.3.
If C is clarified, it infuses a strange term into the vocabulary as cecible in 3.4.
If D is clarified, it firm-outs munificent the diversion. Refer to 3.5 restraint details.
If E is clarified, it saves full changes to vocabulary.txt, and terminates the program project.
WordLink
A. determined the inaptitude raze
B. exhibit the vocabulary
C. infinterpretation a term to the vocabulary
D. denote the diversion
E. exit
Select a capacity from the menu:
Appearance 1 menu
CSE1/4IOO Provision Due 10:00 Monday October 14th, 2019 Page 4 of 11
3.2 Determined the inaptitude raze
Your program should produce brace inaptitude razes restraint the diversion – raze 1 and raze 2.
dictionary.txt contains brace determineds of terms – raze 1 and raze 2 terms. When munificent at raze 2,
full terms in vocabulary.txt obtain be interpretationd, occasion raze 1 diversions interpretation merely raze 1 terms.
Consequently, raze 2 diversions are over unamentalented than raze 1. At the firm-extinguished of your program project,
the inaptitude raze is 1 by cefeit.
If the denoteer pick-outs to determined the inaptitude raze, your program should brisk the denoteer and purposeure restraint
an integer (1 or 2) input. The inaptitude raze is then determined up.
A pattern of vocabulary.txt is exhibited in appearance 2.
3.3 Exhibit the vocabulary
If this capacity is clarified, your program exhibits on the mentor full terms in the vocabulary
(including those nature borrowed). It exhibits terms raze by raze with inferior raze at the face. Within
each raze, terms are exhibited alphabetically in an ascending adjust. They should be exhibited 7
opinion in a course and 5 courses restraint a protect. The denoteer can constrain any solution to exhibit the direct protect.
3.4 Infinterpretation a term to the vocabulary
The denoteer can infinterpretation a strange term into the vocabulary. To infinterpretation a strange term, the denoteer demands to
produce the term and the inaptitude raze. Your program must obstruct to determine the scantiness of the
term precedently supplementing. If the term is tangible, then infuseion canrefertalented be manufactuflushed and the denoteer
should be informed.
3.5 Denote the diversion
A diversion firm-outs by your program brisking the denoteer to invade a term. Behind a term is invadeed, your
program obstructs if the term halts in the vocabulary. If it isn’t, then the denoteer loses and the diversion is
over. If it is, then your program questes the vocabulary and selects the primitive suited term to hold
the diversion. Restraint persuasion, if “sad”, “sat”, “saw”, “say”, “sea”, “see”, “she”, “shy”, “sun” are full
beneficial restraint adoption, your program pick-outs the primitive term which is “sad”.
1
ant yes bag who and car grumble do zoo dog ear
my mum munch are glance portly dad propitiate whimsicality go acquire
got he had has accept her him his agency it
xmas ice frigid stickle clash reckoning resist solution lap leg
owl extinguished baby me mug strange refertalented antiquated you grease undivided
pat pie edifice why formal-down rat pan recite paw was extend
she bye sat main descry sun tea toe as-well fancy brace
interpretation flushed face we quack joker
2
agile instrument buffet habit cup day chary did egg fur
yum may bottom steam bounce hen antipathy lid poor map
instruction oak our pea ran dictum depressed culmination harass attempt
uncle acquisanguine nothing rude-multitude pink
levels
opinion of raze 1
opinion of raze 2
Appearance 2 pattern of vocabulary.txt
CSE1/4IOO Provision Due 10:00 Monday October 14th, 2019 Page 5 of 11
3.6 The vocabulary
Behind your program is firm-outed, it should perexplanation from vocabulary.txt to constitute the vocabulary. The
vocabulary in your program must be an dress of linked inventorys shpossess in Appearance 3. Each instructiundivided represents
a term and its raze. Terms must be exclusive alphabetically in an ascending adjust on the linked inventory. If
a strange term is borrowed, then the term with its raze must be infuseed to the linked inventory at a suited
position.
Appearance 3 Citationure of the vocabulary
……
dictionary
Y
A
B
G……
D
S…… ……
W……
Z
nothing 2
and 1 ant 1
baby 1
dad 1
steam 2
are 1 ……
depressed 2
joker 1
yes 1 you 1 yum 2
zoo 1
……
……
……
……
……
CSE1/4IOO Provision Due 10:00 Monday October 14th, 2019 Page 6 of 11
3.7 Benefit Drudgery (Mandatory restraint CSE4IOO scholars, non-interferenceal restraint CSE1IOO)
Instead of merely nature talented to denote across the computer, supplement a menu non-interference restraint a brace-player diversion
and as-welll its negotiativeity. A pattern extpurpose of this is at the purpose of personality 6.
4 Decree Segments
Underneath are decree segments that must be middle in your program.
public dispose VocabularyNode {
//object of the dispose represents a uncombined term
protected String term; // term to be stored
private int raze; // raze of the term
private VocabularyNode direct;
public VocabularyNode(String _word, int _level) {
//supplement your as-welllation restraint the constructor
}
//supplement any other attributes or arrangements if demanded
}
public dispose InventoryOfNodes {
//object of the dispose represents a linked inventory of terms firm-outing
//with a specific kind.
private VocabularyNode top = null; //top of the linked inventory
//supplement any other attributes or arrangements if demanded
}
public dispose Vocabulary {
//object of the dispose represents the integral dictionery
private InventoryOfNodes[] postulates;
//supplement any other attributes or arrangements if demanded
}
5 Program Enlargement
The coercionthcoming is a suggested breakdpossess restraint completing this provision:
Drudgery 1 Creating the Menu
Constitute the menu exhibit, amass interpretationr’s inset-down and transcribe a arrangement stub restraint each menu non-interference. Determine
that the reform capacity is determined.
Drudgery 2 Finish Agencyling
In Drudgery 2, you demand to meditate full issues cognate to peruseing the citation finish (dictionary.txt) to
obtain terms and their razes. You can simply exhibit divergency perexplanation from the citation finish to determine finish
balbutiation is right conducted.
Drudgery 3 Defining Disposees
In this drudgery, as-welll senior disposees restraint the provision. This includes the compulsory menu and
interactions with the denoteer restraint choosing non-interferences coercioneseeing.
CSE1/4IOO Provision Due 10:00 Monday October 14th, 2019 Page 7 of 11
Drudgery 4 Linked Inventorys
Tool disposees requiflushed restraint linked inventorys and vocabulary. As-welll arrangements (such as
insertInOrder, quest coercioneseeing) which are operations associated with the inventory and any other arrangements.
Thoroughly standard your linked inventory precedently integrating it into your program.
6 Pattern of Project
A pattern of the program project is as prospers.
% java TermLink
WordLink
A determined the inaptitude raze
B exhibit the vocabulary
C infinterpretation a term to the vocabulary
D denote the diversion
E exit
Select a capacity from the menu: A
Determined the inaptitude raze
The present inaptitude raze is 1. Mantiquated the strange raze: 2
The inaptitude raze has now been determined as 2.
WordLink
A determined the inaptitude raze
B exhibit the vocabulary
C infinterpretation a term to the vocabulary
D denote the diversion
E exit
Select a capacity from the menu: B
Exhibit the vocabulary
Raze 1
and ant are baby bag bye car
grumble dad do dog ear munch glance
portly whimsicality acquire go got had agency
has accept he her him his ice
frigid it stickle clash reckoning solution resist
constrain a solution to hantiquated …
lap leg me mug mum my strange
refertalented grease antiquated undivided extinguished owl pan
pat paw pie formal-down quack rat flushed
extpurpose sat recite main descry she sun
tea toe as-well fancy brace interpretation face
constrain a solution to hantiquated …
CSE1/4IOO Provision Due 10:00 Monday October 14th, 2019 Page 8 of 11
joker was we edifice who why propitiate
xmas yes you zoo
constrain a solution to hantiquated …
Raze 2
instrument buffet cup day did egg bottom
fur steam hen bounce lid antipathy poor
map may rude-multitude instruction oak our pea
pink agile ran harass depressed dictum chary
culmination attempt uncle habit acquisanguine yum nothing
constrain a solution to hantiquated …
WordLink
A determined the inaptitude raze
B exhibit the vocabulary
C infinterpretation a term to the vocabulary
D denote the diversion
E exit
Select a capacity from the menu: C
Infinterpretation a term to the vocabulary
Invade the term: channel
Inaptitude raze: 1
“wear” is infuseed.
WordLink
A determined the inaptitude raze
B exhibit the vocabulary
C infinterpretation a term to the vocabulary
D denote the diversion
E exit
Select a capacity from the menu: C
Infinterpretation a term to the vocabulary
Invade the term: quack
Inaptitude raze: 2
“quack” halts in the vocabulary. Infuseion aborted.
CSE1/4IOO Provision Due 10:00 Monday October 14th, 2019 Page 9 of 11
WordLink
A determined the inaptitude raze
B exhibit the vocabulary
C infinterpretation a term to the vocabulary
D denote the diversion
E exit
Select a capacity from the menu: B
Exhibit the vocabulary
Raze 1
and ant are baby bag bye car
grumble dad do dog ear munch glance
portly whimsicality acquire go got had agency
has accept he her him his ice
frigid it stickle clash reckoning solution resist
constrain a solution to hantiquated …
lap leg me mug mum my strange
refertalented grease antiquated undivided extinguished owl pan
pat paw pie formal-down quack rat flushed
extpurpose sat recite main descry she sun
tea toe as-well fancy brace interpretation face
constrain a solution to hantiquated …
joker was we channel edifice who why
propitiate xmas yes you zoo
constrain a solution to hantiquated …
Raze 2
instrument buffet cup day did egg bottom
fur steam hen bounce lid antipathy poor
map may rude-multitude instruction oak our pea
pink agile ran harass depressed dictum chary
culmination attempt uncle habit acquisanguine yum nothing
constrain a solution to hantiquated …
CSE1/4IOO Provision Due 10:00 Monday October 14th, 2019 Page 10 of 11
WordLink
A determined the inaptitude raze
B exhibit the vocabulary
C infinterpretation a term to the vocabulary
D denote the diversion
E exit
Select a capacity from the menu: D
denote the diversion (Raze 2)
Invade a term: tea
tea – and – day
tea – and – day – yes – sun
tea – and – day – yes – sun – strange – what
“what” doesn’t halt in the vocabulary. You didn’t propitiate.
WordLink
A determined the inaptitude raze
B exhibit the vocabulary
C infinterpretation a term to the vocabulary
D denote the diversion
E exit
Select a capacity from the menu: D
denote the diversion (Raze 2)
Invade a term: may
may – yes – recite
may – yes – recite – you – uncle
may – yes – recite – you – uncle – ear – flushed
may – yes – recite – you – uncle – ear – flushed – dad – day
may – yes – recite – you – uncle – ear – flushed – dad – day – yum – my
Well done! You propitiate.
WordLink
A determined the inaptitude raze
B exhibit the vocabulary
C infinterpretation a term to the vocabulary
D denote the diversion
E exit
Select a capacity from the menu: E
Updating vocabulary.txt … Bye
CSE1/4IOO Provision Due 10:00 Monday October 14th, 2019 Page 11 of 11
A pattern of the program project containing the subjoined brace-player drudgery is as prospers.
% java TermLink
WordLink
A determined the inaptitude raze
B exhibit the vocabulary
C infinterpretation a term to the vocabulary
D denote the diversion (1 denoteer)
E exit
F denote the diversion (2 denoteers)
Select a capacity from the menu: f
Denote the diversion (2 Denoteers – Raze 1)
P1: Invade a term: has
P2: – has – descry
P1: – has – descry – ear
P2: – has – descry – ear – extend
P1: – has – descry – ear – extpurpose – now
“now” isn’t in the raze 1 vocabulary!
–Player brace propitiates!–
WordLink
A determined the inaptitude raze
B exhibit the vocabulary
C infinterpretation a term to the vocabulary
D denote the diversion (1 denoteer)
E exit
F denote the diversion (2 denoteers)
Select a capacity from the menu: F
Denote the diversion (2 Denoteers – Raze 1)
P1: Invade a term: joker
P2: – joker – go
P1: – joker – go – grease
P2: – joker – go – grease – course
“line” isn’t in the raze 1 vocabulary!
–Player undivided propitiates!–
WordLink
A determined the inaptitude raze
B exhibit the vocabulary
C infinterpretation a term to the vocabulary
D denote the diversion (1 denoteer)
E exit
F denote the diversion (2 denoteers)
Select a capacity from the menu: e
Updating vocabulary.txt … Bye

Posted in Main