finish part1
This commit is contained in:
parent
58bf8f6afa
commit
51ce1f0352
8 changed files with 206 additions and 52 deletions
|
@ -1,25 +1,40 @@
|
|||
New Zealand's capital, Wellington, has been ranked one of the least affordable cities in the world for buying a property. The picture is also grim for renters, with a 12% rise in prices in the past year. That, along with increases in petrol and food prices, has led many to consider moving to nearby Australia - where they have the right to live and work.
|
||||
|
||||
Chris, a builder, his partner Harmony and their four daughters recently left Wellington to start a new life in the Australian city of Brisbane. Despite owning their home and earning reasonable salaries, they were still struggling.
|
||||
|
||||
"We have four kids, so it was expensive. We'd notice Australians saying you know the cost of living is going up - but that was the cost five years ago in New Zealand," says Chris.
|
||||
|
||||
Leaving New Zealand and the rest of her family was a difficult decision for Harmony. But she says the move was necessary for the children.
|
||||
|
||||
"You can't make a living in New Zealand. There is no living. You just go backwards. You don't get a choice if you want to live, you have to move, or New Zealand has to change. I want a future for my children and there is none in New Zealand," she says.
|
||||
|
||||
The New Zealand government has tried to increase some short-term measures like fuel subsidies and halving the cost of public transport - but for many, it's not enough.
|
||||
|
||||
In Brescia, Italy, steel runs through the veins of the community. In the past 15 years the industry has endured the financial crash and the Covid-19 pandemic. Now, with the war in Ukraine and Covid lockdowns in China, trade is being disrupted further.
|
||||
|
||||
Mirella and Lucas met at a cast iron foundry in Brescia. Their two steady wages are up against rising food, petrol and energy costs.
|
||||
|
||||
"With regard to electricity, we have recently suffered like everyone else. Our bill has doubled - even though we are never at home", says Mirella. "We are tightening our belts. Instead of saving a lot, you'll save less," says Lucas.
|
||||
|
||||
Orders at this cast iron foundry continue. But a crucial source of raw materials from the south-eastern Ukrainian city of Mariupol are in now short supply, after Russian troops occupied the region.
|
||||
|
||||
Mark Impraim owns a catering business in Ghana - one of the most expensive countries to live in, in Africa. He shops for ingredients for one of his most popular dishes - jollof rice - at a local market. But prices have doubled in recent months.
|
||||
|
||||
Mark looks at a bucket of tomatoes, dismayed at the price tag. "[This box of tomatoes] used to be 20 cedis. Now it's going for 40," he says. "I should double the price of the food I serve, but that would scare away customers. I try to find a way around it by decreasing the quantity."
|
||||
|
||||
Among other rising costs eating into Mark's weekly budget is a supply of drinking water. Sachets of water have increased in price twice in four months, due to the devaluation of the cedi. Water suppliers say passing the costs on to customers is unavoidable.
|
||||
New Zealand's capital, Wellington, has been ranked one of the least affordable
|
||||
cities in the world for buying a property. The picture is also grim for renters,
|
||||
with a 12% rise in prices in the past year. That, along with increases in petrol
|
||||
and food prices, has led many to consider moving to nearby Australia -
|
||||
where they have the right to live and work.
|
||||
Chris, a builder, his partner Harmony and their four daughters recently left
|
||||
Wellington to start a new life in the Australian city of Brisbane.
|
||||
Despite owning their home and earning reasonable salaries, they were still struggling.
|
||||
"We have four kids, so it was expensive. We'd notice Australians saying you know the
|
||||
cost of living is going up - but that was the cost five years ago in New Zealand,"
|
||||
says Chris. Leaving New Zealand and the rest of her family was a
|
||||
difficult decision for Harmony. But she says the move was necessary for the children.
|
||||
"You can't make a living in New Zealand. There is no living. You just go backwards.
|
||||
You don't get a choice if you want to live, you have to move, or
|
||||
New Zealand has to change. I want a future for my children and there
|
||||
is none in New Zealand," she says. The New Zealand government has tried
|
||||
to increase some short-term measures like fuel subsidies and halving the cost
|
||||
of public transport - but for many, it's not enough.
|
||||
In Brescia, Italy, steel runs through the veins of the community.
|
||||
In the past 15 years the industry has endured the financial crash and
|
||||
the Covid-19 pandemic. Now, with the war in Ukraine and Covid lockdowns in China,
|
||||
trade is being disrupted further. Mirella and Lucas met at a cast iron
|
||||
foundry in Brescia. Their two steady wages are up against rising food, petrol
|
||||
and energy costs. "With regard to electricity, we have recently suffered
|
||||
like everyone else. Our bill has doubled - even though we are never at home",
|
||||
says Mirella. "We are tightening our belts. Instead of saving a lot,
|
||||
you'll save less," says Lucas. Orders at this cast iron foundry continue.
|
||||
But a crucial source of raw materials from the south-eastern Ukrainian city of
|
||||
Mariupol are in now short supply, after Russian troops occupied the region.
|
||||
Mark Impraim owns a catering business in Ghana - one of the most expensive
|
||||
countries to live in, in Africa. He shops for ingredients for one of his most
|
||||
popular dishes -jollof rice - at a local market. But prices have doubled
|
||||
in recent months. Mark looks at a bucket of tomatoes, dismayed at the price tag.
|
||||
"[This box of tomatoes] used to be 20 cedis. Now it's going for 40," he says.
|
||||
"I should double the price of the food I serve, but that would scare away customers.
|
||||
I try to find a way around it by decreasing the quantity."
|
||||
Among other rising costs eating into Mark's weekly budget is a supply
|
||||
of drinking water. Sachets of water have increased in price twice in four months,
|
||||
due to the devaluation of the cedi.
|
||||
Water suppliers say passing the costs on to customers is unavoidable.
|
|
@ -1,25 +1,40 @@
|
|||
Fsi Dxhtntv'w eugmlox, Axstvtyxqh, yek pqig yiaqwh qhv sx hti elifz sjhiihspxi vpbvkk mp nyi ocdpw mwe hmckhx e hfatxybl. Zzi rctxmfq ml htfu yvkg wsj fqrmlzf, caxj u 12% imks ur iyqpkk mp nyi hoex rlie. Zzev, ucsfu immo qaijicmvw ab bimywy gfh hifh hfugxz, pny dif grrq ha ghuavjwv oimmfu fs gliehq Ewmkvszue - pomek llgs yens flx yqtnl xq fzzw ozh pvzx.
|
||||
|
||||
Izvkm, r fmwxhxy, pvy hetneij Vmvfvvl gfh vbvmj tayk kihmzxglj vwqqrmsg ykxx Yycpabsxhu bb yletn r rwk xmyl qa zzi Cojxjoxmtu kvzq sh Vimkpmrx. Kmfvaxg inrabs xalqe ngqg ueh wodrbuo ekswqhrfds eeehzvkk, xjyp awfq wmpty ylvwaxpabs.
|
||||
|
||||
"Ax oiik xswl bmvg, es ba eny wbryewajq. Ax'k vbzagg Ulwlfmpbhvf ysckhx cgi wrhd buk usun fj dwhmgn qf mgmpa lt - tif xahb jgk xjy tskh rmol grgjw caf mf Bqa Sliygfh," uupw Uvdml.
|
||||
|
||||
Smnbari Hva Rsmptul ntv xjy iikh aj alz sgemns nek o pmymqpadx fytmkwar yvz Ugjqqhp. Fmh elx zily llg gfzw kmw glkrykets wsj hti voqyjjip.
|
||||
|
||||
"Sfy uoz'x fhsr g dmxcek ab Zip Gmnrsrf. Nyijs uw gv tvbari. Sfy biex zv jnicacluw. Qcg hhu'b tkl e ebfmus uj rvc jgfx vi cmns, ksn oiik ls oimi, gf Zip Gmnrsrf brw lc oltuor. O oepn r jmhgvx mwe sq gjcchjsz egk bukji km esfs ur Gle Mkspchu," wzs eerz.
|
||||
|
||||
Buk Fiy Tvedozh zvdrxfqghk lsg fvbll gu arelveks esfl auujx-vyiq esmwnymf raog zlid ggflplvkk epx yedjurz apr igwv iw tmpxmv azntktqlk - fmh rsk tiae, ax'u hfx wbayzo.
|
||||
|
||||
Qa Hjiuwze, Ahmpr, zbrkd vwhj xzfayzo buk nikhj sx hti vvuzafmvs. Zr lvq ttzb 15 lksvu nyi abpylazl nsw ghuyjsp xal nvtsrecrp ufmwa hvq zzi Eimmv-19 dmrwluvi. Fsy, qzxz hti phz vt Motuzrw ozh Vvdvj dseeusobe mg Jpvts, xtuui ag nibuo qokvwjkiv tgvmome.
|
||||
|
||||
Savgfce sbp Pnjif swx cn r gsgf mkvv sumrflp mf Pdiljqn. Zzikl kag gfitkg jgyiu uii md mktpvfz jmucek xcah, ilbeud epx vrwfsc vvagy.
|
||||
|
||||
"Omvb iiyodh mv mykuxtctmlm, ii ahdr xwgghkpq ggjylzrj dmmy vzwfksgl myyw. Swl smdz tel kwhhdif - ymif htsnnp jk svg hvzwf mx avur", yscu Gzvwzxe. "Pl iek lmibkifwzk hbz okdxu. Cewlsmh hm anbari u csl, may'es anbw pgmj," wsme Pnjif.
|
||||
|
||||
Ujhglj el html jifz avqh wsmbpvr jwazarwy. Syl o ovnjqnr kswlti gt dep tigkjmcfj jjcy xal aball-gujxwfz Ydyivtaep wzxq cr Qtyqhvgp clv mf baa lowez kyrjcc, stfik Ycfyaep nisgde svjccowh vbv vwuusg.
|
||||
|
||||
Tieq Aqrlrme cirl h knzwvkhx fmgurxza vt Ylchr - sfs aj mom zukx grgifguzx jwhtlvkyj xg zuzx pv, vt Sjtcte. Zs elhwa suj mpaiivwqrmz nbx grg iw lag ysla xbvmpcl umkvqw - cvtyux vkwv - el o xsvht zgjogn. Syl ddmvla ugni filfdsp mg ympkfx oiexzg.
|
||||
|
||||
Yekr tbucw cn r fmqwim vn gueevivw, vweqtfmq gl xjy gvaqq xtn. "[Buok fqr fj lcyemvmf] akif nf fw 20 qqhbz. Vbc ax'u afmfu rsk 40," om fgqw. "K mysmzp hhbjyk llg jimus aj mom sugh K mvvns, nym apnz oswfu wuodi tdil imwvidijg. U xkf bb larf u neq odsnul vz tc fytvwoemgn buk iychkmlm."
|
||||
|
||||
Mqhuo bzzit lzwabs ghzbf ksxkhx mfha Qtys'f cwimfp fmrsim pa n ymtrfp sx rdmgrqam oevyi. Wsqtimz ws csxgl yens urvymnywh kh gvaqq xppkr of jqoi qgbfll, kcr zg xjy uinoxytaqbt gj vbv gwru. Atame ymtrfzijg eer wifyari nyi ucexl vv gu uyunfqwfe ml bvnbgmfuspw.
|
||||
Fsi Dxhtntv'w eugmlox, Axstvtyxqh, yek pqig yiaqwh qhv sx hti elifz sjhiihspxi
|
||||
vpbvkk mp nyi ocdpw mwe hmckhx e hfatxybl. Zzi rctxmfq ml htfu yvkg wsj fqrmlzf,
|
||||
caxj u 12% imks ur iyqpkk mp nyi hoex rlie. Zzev, ucsfu immo qaijicmvw ab bimywy
|
||||
gfh hifh hfugxz, pny dif grrq ha ghuavjwv oimmfu fs gliehq Ewmkvszue -
|
||||
pomek llgs yens flx yqtnl xq fzzw ozh pvzx.
|
||||
Izvkm, r fmwxhxy, pvy hetneij Vmvfvvl gfh vbvmj tayk kihmzxglj vwqqrmsg ykxx
|
||||
Yycpabsxhu bb yletn r rwk xmyl qa zzi Cojxjoxmtu kvzq sh Vimkpmrx.
|
||||
Kmfvaxg inrabs xalqe ngqg ueh wodrbuo ekswqhrfds eeehzvkk, xjyp awfq wmpty ylvwaxpabs.
|
||||
"Ax oiik xswl bmvg, es ba eny wbryewajq. Ax'k vbzagg Ulwlfmpbhvf ysckhx cgi wrhd buk
|
||||
usun fj dwhmgn qf mgmpa lt - tif xahb jgk xjy tskh rmol grgjw caf mf Bqa Sliygfh,"
|
||||
uupw Uvdml. Smnbari Hva Rsmptul ntv xjy iikh aj alz sgemns nek o
|
||||
pmymqpadx fytmkwar yvz Ugjqqhp. Fmh elx zily llg gfzw kmw glkrykets wsj hti voqyjjip.
|
||||
"Sfy uoz'x fhsr g dmxcek ab Zip Gmnrsrf. Nyijs uw gv tvbari. Sfy biex zv jnicacluw.
|
||||
Qcg hhu'b tkl e ebfmus uj rvc jgfx vi cmns, ksn oiik ls oimi, gf
|
||||
Zip Gmnrsrf brw lc oltuor. O oepn r jmhgvx mwe sq gjcchjsz egk bukji
|
||||
km esfs ur Gle Mkspchu," wzs eerz. Buk Fiy Tvedozh zvdrxfqghk lsg fvbll
|
||||
gu arelveks esfl auujx-vyiq esmwnymf raog zlid ggflplvkk epx yedjurz apr igwv
|
||||
iw tmpxmv azntktqlk - fmh rsk tiae, ax'u hfx wbayzo.
|
||||
Qa Hjiuwze, Ahmpr, zbrkd vwhj xzfayzo buk nikhj sx hti vvuzafmvs.
|
||||
Zr lvq ttzb 15 lksvu nyi abpylazl nsw ghuyjsp xal nvtsrecrp ufmwa hvq
|
||||
zzi Eimmv-19 dmrwluvi. Fsy, qzxz hti phz vt Motuzrw ozh Vvdvj dseeusobe mg Jpvts,
|
||||
xtuui ag nibuo qokvwjkiv tgvmome. Savgfce sbp Pnjif swx cn r gsgf mkvv
|
||||
sumrflp mf Pdiljqn. Zzikl kag gfitkg jgyiu uii md mktpvfz jmucek xcah, ilbeud
|
||||
epx vrwfsc vvagy. "Omvb iiyodh mv mykuxtctmlm, ii ahdr xwgghkpq ggjylzrj
|
||||
dmmy vzwfksgl myyw. Swl smdz tel kwhhdif - ymif htsnnp jk svg hvzwf mx avur",
|
||||
yscu Gzvwzxe. "Pl iek lmibkifwzk hbz okdxu. Cewlsmh hm anbari u csl,
|
||||
may'es anbw pgmj," wsme Pnjif. Ujhglj el html jifz avqh wsmbpvr jwazarwy.
|
||||
Syl o ovnjqnr kswlti gt dep tigkjmcfj jjcy xal aball-gujxwfz Ydyivtaep wzxq cr
|
||||
Qtyqhvgp clv mf baa lowez kyrjcc, stfik Ycfyaep nisgde svjccowh vbv vwuusg.
|
||||
Tieq Aqrlrme cirl h knzwvkhx fmgurxza vt Ylchr - sfs aj mom zukx grgifguzx
|
||||
jwhtlvkyj xg zuzx pv, vt Sjtcte. Zs elhwa suj mpaiivwqrmz nbx grg iw lag ysla
|
||||
xbvmpcl umkvqw -cvtyux vkwv - el o xsvht zgjogn. Syl ddmvla ugni filfdsp
|
||||
mg ympkfx oiexzg. Yekr tbucw cn r fmqwim vn gueevivw, vweqtfmq gl xjy gvaqq xtn.
|
||||
"[Buok fqr fj lcyemvmf] akif nf fw 20 qqhbz. Vbc ax'u afmfu rsk 40," om fgqw.
|
||||
"K mysmzp hhbjyk llg jimus aj mom sugh K mvvns, nym apnz oswfu wuodi tdil imwvidijg.
|
||||
U xkf bb larf u neq odsnul vz tc fytvwoemgn buk iychkmlm."
|
||||
Mqhuo bzzit lzwabs ghzbf ksxkhx mfha Qtys'f cwimfp fmrsim pa n ymtrfp
|
||||
sx rdmgrqam oevyi. Wsqtimz ws csxgl yens urvymnywh kh gvaqq xppkr of jqoi qgbfll,
|
||||
kcr zg xjy uinoxytaqbt gj vbv gwru.
|
||||
Atame ymtrfzijg eer wifyari nyi ucexl vv gu uyunfqwfe ml bvnbgmfuspw.
|
BIN
Lab04/documentation/images/part1/barChart02.png
Normal file
BIN
Lab04/documentation/images/part1/barChart02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
Lab04/documentation/images/part1/barChart03.png
Normal file
BIN
Lab04/documentation/images/part1/barChart03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
40
Lab04/documentation/images/part1/input.txt
Normal file
40
Lab04/documentation/images/part1/input.txt
Normal file
|
@ -0,0 +1,40 @@
|
|||
New Zealand's capital, Wellington, has been ranked one of the least affordable
|
||||
cities in the world for buying a property. The picture is also grim for renters,
|
||||
with a 12% rise in prices in the past year. That, along with increases in petrol
|
||||
and food prices, has led many to consider moving to nearby Australia -
|
||||
where they have the right to live and work.
|
||||
Chris, a builder, his partner Harmony and their four daughters recently left
|
||||
Wellington to start a new life in the Australian city of Brisbane.
|
||||
Despite owning their home and earning reasonable salaries, they were still struggling.
|
||||
"We have four kids, so it was expensive. We'd notice Australians saying you know the
|
||||
cost of living is going up - but that was the cost five years ago in New Zealand,"
|
||||
says Chris. Leaving New Zealand and the rest of her family was a
|
||||
difficult decision for Harmony. But she says the move was necessary for the children.
|
||||
"You can't make a living in New Zealand. There is no living. You just go backwards.
|
||||
You don't get a choice if you want to live, you have to move, or
|
||||
New Zealand has to change. I want a future for my children and there
|
||||
is none in New Zealand," she says. The New Zealand government has tried
|
||||
to increase some short-term measures like fuel subsidies and halving the cost
|
||||
of public transport - but for many, it's not enough.
|
||||
In Brescia, Italy, steel runs through the veins of the community.
|
||||
In the past 15 years the industry has endured the financial crash and
|
||||
the Covid-19 pandemic. Now, with the war in Ukraine and Covid lockdowns in China,
|
||||
trade is being disrupted further. Mirella and Lucas met at a cast iron
|
||||
foundry in Brescia. Their two steady wages are up against rising food, petrol
|
||||
and energy costs. "With regard to electricity, we have recently suffered
|
||||
like everyone else. Our bill has doubled - even though we are never at home",
|
||||
says Mirella. "We are tightening our belts. Instead of saving a lot,
|
||||
you'll save less," says Lucas. Orders at this cast iron foundry continue.
|
||||
But a crucial source of raw materials from the south-eastern Ukrainian city of
|
||||
Mariupol are in now short supply, after Russian troops occupied the region.
|
||||
Mark Impraim owns a catering business in Ghana - one of the most expensive
|
||||
countries to live in, in Africa. He shops for ingredients for one of his most
|
||||
popular dishes -jollof rice - at a local market. But prices have doubled
|
||||
in recent months. Mark looks at a bucket of tomatoes, dismayed at the price tag.
|
||||
"[This box of tomatoes] used to be 20 cedis. Now it's going for 40," he says.
|
||||
"I should double the price of the food I serve, but that would scare away customers.
|
||||
I try to find a way around it by decreasing the quantity."
|
||||
Among other rising costs eating into Mark's weekly budget is a supply
|
||||
of drinking water. Sachets of water have increased in price twice in four months,
|
||||
due to the devaluation of the cedi.
|
||||
Water suppliers say passing the costs on to customers is unavoidable.
|
40
Lab04/documentation/images/part1/output.txt
Normal file
40
Lab04/documentation/images/part1/output.txt
Normal file
|
@ -0,0 +1,40 @@
|
|||
Fsi Dxhtntv'w eugmlox, Axstvtyxqh, yek pqig yiaqwh qhv sx hti elifz sjhiihspxi
|
||||
vpbvkk mp nyi ocdpw mwe hmckhx e hfatxybl. Zzi rctxmfq ml htfu yvkg wsj fqrmlzf,
|
||||
caxj u 12% imks ur iyqpkk mp nyi hoex rlie. Zzev, ucsfu immo qaijicmvw ab bimywy
|
||||
gfh hifh hfugxz, pny dif grrq ha ghuavjwv oimmfu fs gliehq Ewmkvszue -
|
||||
pomek llgs yens flx yqtnl xq fzzw ozh pvzx.
|
||||
Izvkm, r fmwxhxy, pvy hetneij Vmvfvvl gfh vbvmj tayk kihmzxglj vwqqrmsg ykxx
|
||||
Yycpabsxhu bb yletn r rwk xmyl qa zzi Cojxjoxmtu kvzq sh Vimkpmrx.
|
||||
Kmfvaxg inrabs xalqe ngqg ueh wodrbuo ekswqhrfds eeehzvkk, xjyp awfq wmpty ylvwaxpabs.
|
||||
"Ax oiik xswl bmvg, es ba eny wbryewajq. Ax'k vbzagg Ulwlfmpbhvf ysckhx cgi wrhd buk
|
||||
usun fj dwhmgn qf mgmpa lt - tif xahb jgk xjy tskh rmol grgjw caf mf Bqa Sliygfh,"
|
||||
uupw Uvdml. Smnbari Hva Rsmptul ntv xjy iikh aj alz sgemns nek o
|
||||
pmymqpadx fytmkwar yvz Ugjqqhp. Fmh elx zily llg gfzw kmw glkrykets wsj hti voqyjjip.
|
||||
"Sfy uoz'x fhsr g dmxcek ab Zip Gmnrsrf. Nyijs uw gv tvbari. Sfy biex zv jnicacluw.
|
||||
Qcg hhu'b tkl e ebfmus uj rvc jgfx vi cmns, ksn oiik ls oimi, gf
|
||||
Zip Gmnrsrf brw lc oltuor. O oepn r jmhgvx mwe sq gjcchjsz egk bukji
|
||||
km esfs ur Gle Mkspchu," wzs eerz. Buk Fiy Tvedozh zvdrxfqghk lsg fvbll
|
||||
gu arelveks esfl auujx-vyiq esmwnymf raog zlid ggflplvkk epx yedjurz apr igwv
|
||||
iw tmpxmv azntktqlk - fmh rsk tiae, ax'u hfx wbayzo.
|
||||
Qa Hjiuwze, Ahmpr, zbrkd vwhj xzfayzo buk nikhj sx hti vvuzafmvs.
|
||||
Zr lvq ttzb 15 lksvu nyi abpylazl nsw ghuyjsp xal nvtsrecrp ufmwa hvq
|
||||
zzi Eimmv-19 dmrwluvi. Fsy, qzxz hti phz vt Motuzrw ozh Vvdvj dseeusobe mg Jpvts,
|
||||
xtuui ag nibuo qokvwjkiv tgvmome. Savgfce sbp Pnjif swx cn r gsgf mkvv
|
||||
sumrflp mf Pdiljqn. Zzikl kag gfitkg jgyiu uii md mktpvfz jmucek xcah, ilbeud
|
||||
epx vrwfsc vvagy. "Omvb iiyodh mv mykuxtctmlm, ii ahdr xwgghkpq ggjylzrj
|
||||
dmmy vzwfksgl myyw. Swl smdz tel kwhhdif - ymif htsnnp jk svg hvzwf mx avur",
|
||||
yscu Gzvwzxe. "Pl iek lmibkifwzk hbz okdxu. Cewlsmh hm anbari u csl,
|
||||
may'es anbw pgmj," wsme Pnjif. Ujhglj el html jifz avqh wsmbpvr jwazarwy.
|
||||
Syl o ovnjqnr kswlti gt dep tigkjmcfj jjcy xal aball-gujxwfz Ydyivtaep wzxq cr
|
||||
Qtyqhvgp clv mf baa lowez kyrjcc, stfik Ycfyaep nisgde svjccowh vbv vwuusg.
|
||||
Tieq Aqrlrme cirl h knzwvkhx fmgurxza vt Ylchr - sfs aj mom zukx grgifguzx
|
||||
jwhtlvkyj xg zuzx pv, vt Sjtcte. Zs elhwa suj mpaiivwqrmz nbx grg iw lag ysla
|
||||
xbvmpcl umkvqw -cvtyux vkwv - el o xsvht zgjogn. Syl ddmvla ugni filfdsp
|
||||
mg ympkfx oiexzg. Yekr tbucw cn r fmqwim vn gueevivw, vweqtfmq gl xjy gvaqq xtn.
|
||||
"[Buok fqr fj lcyemvmf] akif nf fw 20 qqhbz. Vbc ax'u afmfu rsk 40," om fgqw.
|
||||
"K mysmzp hhbjyk llg jimus aj mom sugh K mvvns, nym apnz oswfu wuodi tdil imwvidijg.
|
||||
U xkf bb larf u neq odsnul vz tc fytvwoemgn buk iychkmlm."
|
||||
Mqhuo bzzit lzwabs ghzbf ksxkhx mfha Qtys'f cwimfp fmrsim pa n ymtrfp
|
||||
sx rdmgrqam oevyi. Wsqtimz ws csxgl yens urvymnywh kh gvaqq xppkr of jqoi qgbfll,
|
||||
kcr zg xjy uinoxytaqbt gj vbv gwru.
|
||||
Atame ymtrfzijg eer wifyari nyi ucexl vv gu uyunfqwfe ml bvnbgmfuspw.
|
|
@ -30,6 +30,14 @@
|
|||
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
|
||||
\definecolor{weborange}{rgb}{1,0.65,0}
|
||||
|
||||
\usepackage{fancyvrb}
|
||||
\RecustomVerbatimCommand{\VerbatimInput}{VerbatimInput}%
|
||||
{fontsize=\footnotesize,
|
||||
commandchars=\|\(\), % escape character and argument delimiters for
|
||||
% commands within the verbatim
|
||||
commentchar=* % comment character
|
||||
}
|
||||
|
||||
\lstdefinestyle{mystyle}{
|
||||
backgroundcolor=\color{backcolour},
|
||||
commentstyle=\color{codegreen},
|
||||
|
|
|
@ -24,7 +24,7 @@ Bevor die sortierte Ausgabe erfolgt werden die Daten mit einem Plotter in einer
|
|||
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\includegraphics[width=0.6\textwidth]{part1/barChart01}
|
||||
\includegraphics[width=0.9\textwidth]{part1/barChart01}
|
||||
\caption{Visualisierung von plaintext.txt}
|
||||
\label{fig:Visualisierung von plaintext.txt}
|
||||
\end{center}
|
||||
|
@ -38,4 +38,40 @@ Zuletzt wird das soriterte Ergebnis ausgegeben (Abb. \ref{fig:Ergebnis von plain
|
|||
\caption{Ergebnis von plaintext.txt}
|
||||
\label{fig:Ergebnis von plaintext.txt}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\end{figure}
|
||||
|
||||
\newpage
|
||||
|
||||
\subsection{Verschlüsselung}
|
||||
|
||||
Zur verschlüsselung wird ebenfalls “Unicode Code Point” genutzt. Dadurch kann der jeweilige Text einfach um die angegeben Zahl verschoben werden. Dabei zu beachten ist das Ende des Alphabetes, da von vorne begonnen werden muss. Außerdem sind sollten Kleinbuchstaben und Großbuchstaben beachtet werden. Alle Zeichen die keine Buchstaben sind, werden ohne verschlüsselung ausgegeben.
|
||||
|
||||
\subsubsection{Originaler Text (input.txt)}
|
||||
|
||||
\VerbatimInput{images/part1/input.txt}
|
||||
|
||||
\newpage
|
||||
|
||||
\subsubsection{Verschlüsselter Text (output.txt)}
|
||||
|
||||
\VerbatimInput{images/part1/output.txt}
|
||||
|
||||
Das erneute ausführen der Analyse ergibt eine
|
||||
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\includegraphics[width=0.9\textwidth]{part1/barChart02}
|
||||
\caption{Visualisierung von input.txt}
|
||||
\label{fig:Visualisierung von input.txt}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\includegraphics[width=0.9\textwidth]{part1/barChart03}
|
||||
\caption{Visualisierung von output.txt}
|
||||
\label{fig:Visualisierung von output.txt}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
Eine Häufigkeitsanalyse kann Hilfreich sein, da in unterschiedlichen Sprachen andere Häufigkeiten auftreten können und damit der Text einfacher analysiert werden kann.
|
||||
|
|
Reference in a new issue