Skip to main content

Real-Time Data Analyses in Secondary Schools Using a Block-Based Programming Language

  • Conference paper
  • First Online:
  • 1202 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10696))

Abstract

Data management is central to many CS innovations: Smart home technologies and the Internet of Things, for example, are based on processing data with high velocity. One of the most interesting topics emphasizing several challenges in this field is real-time data analysis. In secondary CS education, it is only considered marginally. So far, there are no tools suitable for general-purpose real-time data analysis in school. In this paper, we discuss this topic from a secondary CS education perspective. Besides central concepts and differences to traditional data analysis using relational databases, we describe the development of a general-purpose \(\textsf {Snap}{\textit{!}}\) extension that allows accessing and processing data from various sources. Thereby, students are enabled to conduct data analyses using, for example, sensor data or web APIs. With the example of a weather station, we outline how this tool can be used in school for analyzing sensor data generated in the classroom.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    The “continuous query language” (CQL) is similar in syntax to SQL, but in particular allows using “sliding windows”, which makes it suitable for data stream analysis (cf. [1]).

  2. 2.

    Soft real-time allow even frequent misses of the deadline, as only service quality is being influenced (cf. e.g. [3]).

  3. 3.

    Hard real-time strongly requires adherence to a deadline, as exceeding it results in a system failure. Firm real-time tolerates missing the given deadline infrequently, but the analysis results become irrelevant after the deadline and the quality of service is degraded.

  4. 4.

    “A data stream is a real-time, continuous, ordered (implicitly by arrival time or explicitly by timestamp) sequence of items. It is impossible to control the order in which items arrive, nor is it feasible to locally store a stream in its entirety.” [4].

  5. 5.

    http://snap4arduino.org.

  6. 6.

    We limited processing of queries to one time per second to prevent performance issues. Yet, this limit can easily be changed by modifying the block in \(\textsf {Snap}{\textit{!}}\).

  7. 7.

    https://plot.ly/javascript/.

  8. 8.

    An exemplary project was described by the Raspberry Pi Foundation: https://www.raspberrypi.org/blog/school-weather-station-project/.

  9. 9.

    http://wiki.seeed.cc/Grove_Starter_Kit_v3/.

References

  1. Arasu, A., Babu, S., Widom, J.: The CQL continuous query language: semantic foundations and query execution. VLDB J. 15(2), 121–142 (2006)

    Article  Google Scholar 

  2. Babcock, B., Babu, S., Datar, M., Motwani, R., Widom, J.: Models and issues in data stream systems. In: Proceedings of the 21th ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, pp. 1–16. ACM, New York (2002)

    Google Scholar 

  3. Lee, E.A., Seshia, S.A.: Introduction to Embedded Systems. MIT Press Ltd., Cambridge (2017)

    MATH  Google Scholar 

  4. Golab, L., Özsu, M.T.: Processing sliding window multi-joins in continuous queries over data streams. In: Proceedings of the 29th International Conference on Very Large Data Bases (VLDB 2003), vol. 29, pp. 500–511. VLDB Endowment (2003)

    Google Scholar 

  5. Grillenberger, A., Romeike, R.: A Comparison of the field data management and its representation in secondary CS curricula. In: Proceedings of WiPSCE 2014. ACM, Berlin (2014)

    Google Scholar 

  6. Grillenberger, A., Romeike, R.: Analyzing the Twitter data stream using the snap! Learning environment. In: Brodnik, A., Vahrenhold, J. (eds.) ISSEP 2015. LNCS, vol. 9378, pp. 155–164. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-25396-1_14

    Chapter  Google Scholar 

  7. Grillenberger, A., Romeike, R.: Teaching data management: key competencies and opportunities. In: Brinda, T., Reynolds, N., Romeike, R. (eds.) Proceedings of KEYCIT 2014. Universitätsverlag Potsdam (2014)

    Google Scholar 

  8. Harvey, B., Mönig, J.: Snap! Reference manual (2014). http://snap.berkeley.edu/SnapManual.pdf. Accessed 09 July 2017

  9. Krämer, J.: Continuous Queries over Data Streams - Semantics and Implementation. Philipps-Universität Marburg (2007)

    Google Scholar 

  10. Laney, D.: 3D data management: controlling data volume, velocity, and variety. Technical report, META Group, February 2001

    Google Scholar 

  11. Mäenpää, H., Varjonen, S., Hellas, A., Tarkoma, S., Männistö, T.: Assessing IoT projects in university education: a framework for problem-based learning. In: Proceedings of the 39th International Conference on Software Engineering, pp. 37–46. IEEE Press, Piscataway (2017)

    Google Scholar 

  12. Mayer-Schönberger, V., Cukier, K.: Big Data: A Revolution That Will Transform How We Live, Work, and Think. Houghton Mifflin Harcourt (2013)

    Google Scholar 

  13. Nittel, S.: Real-time sensor data streams. SIGSPATIAL Spec. 7(2), 22–28 (2015)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andreas Grillenberger .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Grillenberger, A., Romeike, R. (2017). Real-Time Data Analyses in Secondary Schools Using a Block-Based Programming Language. In: Dagienė, V., Hellas, A. (eds) Informatics in Schools: Focus on Learning Programming. ISSEP 2017. Lecture Notes in Computer Science(), vol 10696. Springer, Cham. https://doi.org/10.1007/978-3-319-71483-7_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-71483-7_17

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-71482-0

  • Online ISBN: 978-3-319-71483-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics