DIGITAL LIBRARY
C# CALCULATOR APPLICATION AS A TOOL TO LEARN OBJECT ORIENTED PROGRAMMING
1 University North (CROATIA)
2 University of Dubrovnik (CROATIA)
About this paper:
Appears in: EDULEARN19 Proceedings
Publication year: 2019
Pages: 7522-7531
ISBN: 978-84-09-12031-4
ISSN: 2340-1117
doi: 10.21125/edulearn.2019.1797
Conference name: 11th International Conference on Education and New Learning Technologies
Dates: 1-3 July, 2019
Location: Palma, Spain
Abstract:
This paper presents some of the basic principles of object oriented programming (OOP), using one of the common programming language, C sharp - C#. OOP is nowadays usually used programming paradigm, so it should be used to give students different project assignments. Elementary difference between procedural and object oriented paradigm will be discussed. Comparison between C#, C++ and Java programming languages will be also briefly noted. Afterwards, Windows application using C# will be briefly explained, by programming a simple calculator with basic mathematical functions (add, subtract, multiply, divide), as well as basic trigonometric functions (sine, cosine, power, exponential, factorial, etc). Limitations that pose current standard variables regarding its size will be briefly discussed. Finally, it will be explained that, by using different already implemented forms and classes in C# language, students can learn basics about OOP, but also about mathematical principles that can make their application run faster.
Keywords:
C# calculator, OOP, programming.