Informatics in Education logo


Login Register

  1. Home
  2. Issues
  3. Volume 2, Issue 1 (2003)
  4. Numerical Difficulties in Pre-University ...

Informatics in Education

INFORMATION Submit your article Help
  • Article info
  • Related articles
  • More
    Article info Related articles

Numerical Difficulties in Pre-University Informatics Education and Competitions
Volume 2, Issue 1 (2003), pp. 21–38
Gyula HORVÁTH   Tom VERHOEFF  

Authors

 
Placeholder
https://doi.org/10.15388/infedu.2003.03
Pub. online: 15 October 2003      Type: Article     

Published
15 October 2003

Abstract

It is easy to underestimate the difficulties of using floating-point numbers in programming. This is especially the case in pre-university informatics education and competitions, where one is often led to believe that floating-point arithmetic is a good approximation of the real number system. However, most of the mathematical laws valid for real numbers break down when applied to floating-point numbers. We explain this break-down and illustrate it with four simple examples.
In informatics education and competitions, the students need to be trained, programming assignments need to be formulated, submitted programs need to be evaluated, and variations among computing platforms need to be handled. We show that the use of floating-point numbers gives rise to various kinds of non-trivial difficulties in all these areas. Coping with such difficulties would require that teachers, students, and organizers gain experience in numerical mathematics.
We strongly recommend to avoid the use of floating-point numbers in pre-university education and competitions whenever possible. If you do want to use floating-point numbers, then study the literature of numerical mathematics and be prepared to do a convincing error analysis.

Related articles PDF XML
Related articles PDF XML

Copyright
No copyright data available.

Keywords
informatics education informatics competitions, floating-point arithmetic numerical mathematics

Metrics
since February 2020
1139

Article info
views

0

Full article
views

649

PDF
downloads

277

XML
downloads

Export citation

Copy and paste formatted citation
Placeholder

Download citation in file


Share


RSS

INFORMATICS IN EDUCATION

  • Online ISSN: 2335-8971
  • Print ISSN: 1648-5831
  • Copyright © 2024 Vilnius University
  •  

For contributors

  • Submit
  • OA Policy

Contact us

  • Institute of Data Science and Digital Technologies,
  • Vilnius University, Akademijos St. 4, 08412, Vilnius, Lithuania
  • E-mail: gabriele.stupuriene@mif.vu.lt
Powered by PubliMill  •  Privacy policy