undergraduate thesis
Solving magical squares in C programming language

Lea Lorger (2016)
Sveučilište Josipa Jurja Strossmayera u Osijeku
Fakultet elektrotehnike, računarstva i informacijskih tehnologija Osijek
Zavod za zajedničke predmete (matematiku, fiziku, strojarstvo i strane jezike)
Katedra za matematiku i fiziku
Metadata
TitleRješavanje magičnih kvadrata u programskom jeziku C
AuthorLea Lorger
Mentor(s)Tomislav Rudec (thesis advisor)
Alfonzo Baumgartner (thesis advisor)
Abstract
Zadatak ovog seminarskog rada bilo je rješavanje problema magičnih kvadrata u programskom jeziku C. Za izradu programa važno je dobro poznavanje spomenutog programskog jezika, te način rješavanja čarobnih četvorina. Na početku seminarskog rada opisan je uvod u programske jezike, te karakteristike samog C jezika, od njegovog početka i razvoja, sve do njegove sintakse i upotrebe. Kako bi jezik bio što jasnije pojašnjen, priloženi su i primjeri jednostavnijih programa. Nakon toga, opisan je sam problem magičnih kvadrata, njihova definicija, rješavanje i sama povijest njihovog pojavljivanja u prošlosti starih civilizacija. Naknadno, objašnjeni su algoritmi rješavanja magičnih kvadrata u dva slučaja, kada su oni parni, te kada su neparni. Naposljetku, na osnovi stečenog znanja, uspješno je izrađen program koji provjerava za zadane kvadrate jesu li magični.
Keywordsprogramming language C magic squares magic sum Lo Shu Melancolia I algorithms program
Parallel title (English)Solving magical squares in C programming language
Committee MembersTomislav Rudec (committee chairperson)
Hrvoje Glavaš (committee member)
Krešimir Nenadić (committee member)
GranterSveučilište Josipa Jurja Strossmayera u Osijeku
Fakultet elektrotehnike, računarstva i informacijskih tehnologija Osijek
Lower level organizational unitsZavod za zajedničke predmete (matematiku, fiziku, strojarstvo i strane jezike)
Katedra za matematiku i fiziku
PlaceOsijek
StateCroatia
Scientific field, discipline, subdisciplineTECHNICAL SCIENCES
Computing
Program Engineering
Study programme typeuniversity
Study levelundergraduate
Study programmeUndergraduate University Study Programme in Computer Engineering
Academic title abbreviationuniv.bacc.ing.comp.
Genreundergraduate thesis
Language Croatian
Defense date2016-09-28
Parallel abstract (English)
The aim of this seminar work was solving magic squares in the programming language C.To create a program, it is important to have a good knowledge of the said programming language as well as the way of dealing with magical foursquare.At the beginning of the seminar paper describes the introduction to programming languages, as well as characteristics of the C language, from its inception and development, until his syntax and usage.To have the language clearly explained, attached are examples of simple programs.After that, I described the problem of magic squares, their definition, solving the very history of their occurrence in the history of ancient civilizations. Subsequently, explained are the algorithms of solving magic squares in the two cases, when they are steam, and when they are odd. Finally, based on acquired knowledge, I have successfully developed a program that checks the score squares whether magic.
Parallel keywords (Croatian)programski jezik C magični kvadrati maigična suma Lo Shu Melancolia I algoritmi program
Resource typetext
Access conditionOpen access
Terms of usehttp://rightsstatements.org/vocab/InC/1.0/
URN:NBNhttps://urn.nsk.hr/urn:nbn:hr:200:347393
CommitterAnka Ovničević