CSC 115 Program #8
Fall 2013
Due: December 2
Creating a Dictionary
The file wordlist.txt contains a list of words, one word per line. Write a program that inputs the words, sorts them into alphabetical order, and writes them to an output file called dictionary.txt.
The input file contains an arbitrary number of words up to a maximum of 1000. There is no sentinel at the end of the data. Your program must include:
- A function to input a list of words from a file.
- A function to sort a list of words into alphabetical order.
- A function to output a list words to a file.
Instructions for Turning in Your Project
I will not grade your project, and you will receive a score of 0, if you do not comply with these instructions. You must turn in all materials by the date and time listed at the beginning of this handout. Your submission is not complete—and I will not grade it—until you have turned in all the required materials. Anything that is not turned in by the deadline will be marked at least one day late and will receive a grading penalty as specified in the syllabus.
Turn in these things:
·
Turn in a printed, completed copy of the project form. There is a blank project form in the CSC115 Handouts
folder on the server.
· Turn in a printed copy of your source-code file.
· In your CSC115 TurnIn
folder on the server, create a folder called Project #8. Place a copy of your source-code file in the Project #8 folder. Do not place anything else in the project folder other than the source-code file for this project.
I used an on-line word list generator to produce this list. It
contains precisely 1000 entries, including 99 cases of duplicates
and one case of triplicates.
rebreed
pendulum
jargoneer
climatical
nonsustaining
swayable
photovoltaic
nonsubmergible
habitat
dodecagonal
piperine
carburize
halide
unsparred
banner
dutiability
floor
marry
phagocytosed
jurisprudent
mortification
resew
reaccommodated
jabot
butting
overargued
delphi
amphigouri
arranged
comatula
mortuaries
untransmissive
capacitive
indiscernibleness
hebron
remillable
ampholytic
underdistinction
septempartite
talismanic
neglectingly
hyperflexible
roddy
nearly
unknit
cloggy
astern
uproot
nonpendant
strangulating
murine
bramley
denitrificator
drivelingly
lunarian
angles
essie
unepauleted
pleasurable
piston
sir
itchy
badman
nevada
uncontended
indictably
lublin
trite
barnaul
santee
hypocritical
knight
danish
tuxedo
gregorian
insobriety
statement
oxidize
untiled
preagitating
communal
upperclassman
relaxant
conception
fastigiated
unbridgeable
saithe
mazard
shunt
cudahy
perth
unamputated
telephonic
ascetic
starnose
revoice
dewless
outfigured
nonwalking
surreptitious
superdeclamatory
valency
nonteleological
clunk
kleptomania
retentive
excusable
nookeries
sigmate
polarograph
ivanhoe
unenjoyable
rewarn
overwrite
tolan
pales
pension
coactively
grangerized
elfland
interdepartmental
undemocratization
taoistic
freshness
pyraechmes
polyploidy
decalog
heterotaxic
aerostatic
uneloped
expunger
exarch
nestle
durzi
windhoek
mystagogue
narcosis
resulphurizing
legateship
subaeration
pompeiian
landlubberly
sculpturing
grande
perkiest
cockneylike
colleted
swatting
nondisqualifying
interpolate
cycler
lustihood
disincentive
cissing
rabbanim
affable
needlewomen
dobbin
lateritious
tetchiest
undersoil
blackacre
incompletion
clubbiest
paragogic
uncaptious
nonproportionate
gemmation
nonretaliation
pilgrim
orach
pressurization
dolomitic
kiddie
roundheaded
intercollegiate
metamathematical
japygid
outsay
mumblingly
undeclined
cacaos
unscoffing
foetus
chappie
pruritic
fumatorium
kabalevsky
augusta
quartic
larkingly
homeomorphism
bothnia
counterbracing
homophony
gorgeable
nonrequisition
unridiculed
heirless
buster
accede
brachydome
stamnos
vaticanus
nephrectomise
undefensed
fecundate
heyduc
platinize
brig
exopathic
ozs
associate
pneumograph
whare
asarum
ceremoniously
ozonizing
cubically
boater
harvester
dishabituating
underhangman
theophany
toddler
cellarage
below
dorcas
republican
trephined
philabeg
morgue
overdedicating
bernhardt
ethine
blacksmith
haring
luteotropin
champollion
scabrousness
aflutter
repulsive
depolariser
untriable
phylogenesis
cashable
sooner
heterotypic
chanceful
brow
subtenancy
draconically
cassowary
immemorially
isopedine
inaugurating
paraesthesia
dorsiventrally
macedonian
prosurrender
furness
correctly
amalekite
irklion
comparability
tambora
benediction
mbujimayi
lixivium
pyelitis
hollandale
marciano
chronometric
flummery
subconnectedly
drearisome
menfolks
rehem
superacromial
oasis
scrambler
theophobia
coleus
imbarkment
doff
gastrocnemii
unsimpering
euhemerism
mundugumor
constructive
nontax
organisation
happier
baber
matopos
compassionateness
dali
environmentally
acetate
volans
mispunctuation
walker
roseless
galvanically
remap
propone
phlogosis
bonnie
unflamboyant
arroyo
cyclothymia
decencies
baronetize
intermediation
telepathically
miserly
carotinoid
pythoness
unsunken
nonego
pedagoguish
gesellschaften
eclamptic
layard
prestandard
protradition
cuamuchil
nontaxonomic
interjectory
proportionated
distributiveness
aubusson
glycol
asbestoid
saw
peristaltic
grainy
flaherty
protectress
dextrorotary
respondent
polonizing
unoscillating
pott
dragger
gab
plantable
schiller
fiddlewood
doweled
badalona
amerindian
makings
orbicularis
cit
sweetweed
grapeshot
nifty
vibrating
fief
tummeler
unboasted
naething
clove
cromwellian
pyuria
unmedical
keene
dramatize
fogdog
restaging
semihistoric
hematoma
gospodin
blackrag
promptbook
iodized
eris
pigsticker
naphthalize
photometer
carriole
polymerizing
hermaphroditus
unmetered
brainlike
reestimation
unconcludable
hypoglossis
firehouse
hymnal
ectropionizing
guib
somersetshire
untrailing
waders
efrem
supersedable
dissimilarly
interesterification
sparseness
energetics
nida
branniest
ophitic
pantomimic
dehumanize
amandine
encephalitis
superscientific
peridermal
elongation
hottest
rodlike
carisa
epidaurus
irgunist
clubber
unchivalry
supersession
tourney
imprudency
alexia
inlet
firmness
unsoiling
unfagoted
nereid
preacquaintance
scripture
tamboura
waves
angiotonase
soak
spelean
pisco
pilcher
successfulness
naphthalize
refederate
doper
cogway
nor
solar
welter
comether
fortas
vocationally
overmagnify
babbler
sterilely
denim
raucously
thankful
jaur
dionysiacally
peritonealized
walach
leda
removed
triseptate
immoralism
inappetency
mathematically
fustigator
gueux
pseudobiological
chordamesodermic
euphemizer
willow
sexagesimal
rhea
pretranslate
flaking
crowing
rubricate
abruptly
waive
trudi
seminomad
subscript
pelham
burmite
locrus
nonloyal
presidentship
dimout
jesselton
hennepin
amos
reannexation
disputableness
misunderstand
daffodil
stevedore
quarrelled
preble
ideologize
lazurite
reseparated
bunchiest
terrorizer
blockaderunning
blanket
sulphonium
stampedingly
sem
issuer
bastion
dendrite
hemorrhaging
unaccumulated
shochetim
germane
steel
nonfatality
inseparably
saddlebill
musher
outblaze
drilling
interdome
baculite
interjectural
tetrode
supercurious
reseason
safari
smokelessly
anchesmius
babirussa
shoemaking
shrubbier
splendiferous
gesticulatory
exogamy
lobito
unsquashed
mounter
disyllabizing
crustier
precentorial
underdevelope
camus
gratitude
phenformin
naivet
anodically
abatis
brawnier
rodent
parley
lucien
lignitic
interknitting
jezreelite
idle
trammelling
genomic
pipefitting
unplied
inessive
chilblain
rhombi
hecatonstylon
agincourt
spinier
boardman
uncumbered
overtreatment
verismo
presession
engraftation
superlunary
tierced
mecometer
epimerising
republicanizer
babirusa
sile
gyrose
blazingly
icel
odiously
obelised
mobilisation
cicatrix
cinematography
thenceforwards
zizith
estating
backdrop
witty
hounding
ungeodetic
wuhan
rubbly
mekn
gordon
renlistment
sparseness
energetics
nida
branniest
ophitic
pantomimic
dehumanize
amandine
encephalitis
superscientific
peridermal
elongation
hottest
rodlike
carisa
epidaurus
irgunist
clubber
unchivalry
supersession
tourney
imprudency
alexia
inlet
firmness
unsoiling
unfagoted
nereid
preacquaintance
scripture
tamboura
waves
angiotonase
soak
spelean
pisco
pilcher
successfulness
naphthalize
refederate
doper
cogway
nor
solar
welter
comether
fortas
vocationally
overmagnify
babbler
sterilely
denim
raucously
thankful
jaur
dionysiacally
peritonealized
walach
leda
removed
triseptate
immoralism
inappetency
mathematically
fustigator
gueux
pseudobiological
chordamesodermic
euphemizer
willow
sexagesimal
rhea
pretranslate
flaking
crowing
rubricate
abruptly
waive
trudi
seminomad
subscript
pelham
burmite
locrus
nonloyal
presidentship
dimout
jesselton
hennepin
amos
reannexation
disputableness
misunderstand
daffodil
stevedore
quarrelled
preble
ideologize
lazurite
reseparated
overemulating
lactogenic
maungy
unadaptable
esterifying
unmixed
member
indurate
angelic
bourgeois
hemic
lancing
superincomprehensibleness
recelebrating
fulmination
abeokuta
rainwater
liam
plumaged
frenetic
titer
luteotropic
chihli
nonpneumatically
agung
commager
zephyrinus
traject
ratbaggery
nonflagellate
rheumatic
piccadilly
preimportant
declining
chewable
furious
unparolable
bedight
fluoridizing
brachycranic
sheepishness
flinthead
petit
platonic
noosing
lychnoscope
unoutworn
adamic
lemonish
ashtabula
handbell
beside
merca
simultaneous
crabs
nerves
cottonpicking
delegating
longer
clearwater
familiarity
compulsion
panicle
paramecium
occam
colter
emmetropic
sphygmomanometer
tachometer
allottable
ageusia
unupbraiding
lamellibranch
undergod
shrieval
aelbert
greatheartedly
sizzlingly
overnormalized
remaster
grinding
unpassed
originator
aerocar
drizzle
boorishly
mishnah
blissless
cramped
ilithyia
sirocco
hernias
willet
acestoma
phthalin
nicknack
reenergizing
polypeptide
episternum
preincluding
undergovernor
install
osmometer
polystyrene
zygomata
stalagmite
beeswax
pedodontist
daedalid
mideastern
ecsc
dia
glancingly
horripilated
tetrabasic
decentralized
wynd
homelessly
subdenticulated
salesclerk
noninflammatory
initial
leukocytotic
setaria
aplite
odysseus
cheekbone
supernormally
lath
judy
carnegie
bestial
sulphureous
unrendered
arquebusier
clianthus
morsel
interfused
demobbing
toenail
bradykinin
emotionalized
novaculite
crapulousness
antilepton
psyche
eulogia
devolatilising
rue
bunchily
divined
juster
noncommiserative
treacherousness
vestigially
humpless
grover
paraglossae
dissertate
agastya
scarabaeus
roughrider
boredom
upset
proxies
reembodied
jow
jauntiest
epigrammatised
tarriance
hemocyte
insentience
prodded
proturan
haemus
subzonary
perquisite
pelopia
achondritic
narratively
stumming
ornamentality
abduction
herophile
inconsiderately
thickness
castigating
predwell
groves
plasticly
faveolate
autostability
austereness
chresard
sit
groundplot
dimmest
pseudoheroic
oversensible
demphasis
excludable
pride
hypsilantis
gains
kluck
disaster
unfraternized
unlabialising
meshed
busheler
aiglet
medicochirurgical
regradated
heartsomeness
semifused
ritardando
stably
kroeber
capers
positivistic
ridging
densimetric
butane
interwhiff
uncircumcised
restricted
wilkie
unpredestined
optimal
tear
evangelicalism
unbroadcast
hugli
wavy
syntonise
tunableness
campagna
intuitionally
evaluable
unidealised
shimmery
warhol
hercyna
deprave
undisprovable
menaechmi
dissociable
decontamination
antimedievalist
postappendicular
habitualness
reannounce
reflex
hypnotistic
reoutlining
dinnerware
asthmatically
subprehensile
hecatonchires
subglumaceous
giglot
makkah
calida
definably
irreligiosity
bonaparte
precontrive
settledly
teddy
orchestration
prevention
negotiator
finder
seafarer
sob
catechumenism
hyperostosis
harpsichord
generation
anathematization
kahlil
indecisiveness
astragalar
websterite
eclogues
reassurance
christmas
curacy
judie
prechill
blackhander
judiciously
outtongued
orthoscopic
strikebreaking
serotonin
paiker
zoophile
resonation
nonarguable