JTIE 2014, 6(2):17-24 | 10.5507/jtie.2014.012

LEGO MINDSTORMS IN THE TEACHING OF JAVA PROGRAMMING

Ingrid NAGYOVÁ
Katedra informačních a komunikačních technologií, Pedagogická fakulta OU, Mlýnská 5 701 03, Ostrava, ČR

When teaching programming, various methods and procedures are used, think of the method of successive steps, methods of sample examples or design patterns. Whether we apply any of these methods in teaching, the introduction of basic programming structures will be an essential part of the course. The same is the case with teaching programming language Java. Even though it is an objectoriented programming language, the data manipulation and the basic programming structures (initialization of variables, looping and program branching, etc.) can't get around in the teaching.
The aim of this paper is to introduce the possibility of the teaching of algorithms and basic programming structures in Java language using Lego Mindstorms. Java development environment enhanced with the ability of Lego Mindstorms ot control allows virtually solve real-world tasks for branching (for example, "if it is red, stop" or "if the obstacle is in front of you, go around it") and looping (e.g. as "always go round"). The paper presents a procedure of teaching, how it can implemented in teaching of the basics of Java programming using Lego Mindstorms, using their servomotors and sensors.

Keywords: algorithm development, programming, education, e-learning, Java, Lego Mindstorms.

Published: August 1, 2014

Download citation

References

  1. ARNOLD, J. LEGO Robotics with Java. Bern: Bern university, 2014. URL:
  2. BARNES, D. J. Teaching Introductory Java through LEGO MINDSTORMS Models. SIGCSE'02. Covington, 2002.
  3. FUTSCHEK, G. Logo-like Learning of Basic Concepts of Algorithms - Having Fun with Algorithms. EuroLogo 2007. Bratislava: Univerzita Komenského, 2007. s. 51.
  4. GANDY, E. A. a kol. The use of Lego Mindstorms NXT Robots in the Teaching of Introductory Java Programming to Undergraduate Students. Innovation in Teaching and Learning in Information and Computer Sciences. 9(1) 2010. eISSN: 1473-7507. URL: Go to original source...
  5. HLINOVSKÝ, M. RoboSoutěž. Praha, ČVUT, 2013. c2010, [cit. 2014-01-21] URL:
  6. JAKEŠ, T. Robotické vzdělávání. Plzeň, Západočeská univerzita, 2012. URL:
  7. KRPEC, R., AMBROZKOVÁ, D., KOCICHOVÁ, D., NAGYOVÁ, I. Matematika, informatika a robotika. Ostrava: Ostravská univerzita, 2011. ISBN 978-80-7464-012-4.
  8. Lego Mindstorms. URL:
  9. LEGO Wedo and Scrach. URL:
  10. MAROSZ, Z. Programování LEGO robotů - e-learningový kurz. Ostrava: Ostravská univerzita, 2013. URL:
  11. NAGYOVÁ, I. Learning of Dynamic Data Structures - Having Fun with Algorithms. Constructionism 2010. Paris: The American University of Paris, 2010. s. 74.
  12. PAPERT, S. Perevorot v soznanii : deti, komp'jutery i plodotvornyje idei. Moskva: Pedagogika, 1989. ISBN 5-7155-0004-4
  13. PELCOVÁ, K. Rozvoj algoritmického myšlení pomocí Lego Mindstorms. Spomocník. Praha: Metodický portál RVP, 2013. URL:
  14. SCHUBERT, S., SCHWILL, A. Didaktik der Informatik. Heidelberg: Spektrum, 2004.
  15. VYGOTSKY L. S. Mind in society: the development of higher psychological processes. Cambridge: Harvard University Press, 1978.