Skip to main content

What Affects the Success of Programmers in Query Validation Process? An Eye Tracking Study

  • Conference paper
  • First Online:
Human Interface and the Management of Information (HCII 2023)

Abstract

A meticulous examination of SQL queries plays a pivotal role in the process of learning SQL. It is important to understand the procedures utilized by students in SQL query formulation, but there has been insufficient attention given to this direction in recent literature. Therefore, we aim to explore the nature of different approaches of students in understanding SQL questions, along with the given relations to formulate correct SQL queries. We conducted an eye-tracking study with 27 university students to investigate differences in strategies through the difficulty levels of tasks. Overall, we found that differences in the strategies of students have an effect on formulating correct SQL queries. Students who successfully completed the tasks spent more time and had a higher fixation count in all areas of interest, including the question, table, and solution. Moreover, these students took longer in each area of interest to complete the query validation process as the tasks increased in difficulty. The heatmap data revealed that the students who failed the tasks did not follow the same reading order as those who succeeded. The successful students read the SQL from the first line to the last, whereas the unsuccessful students did not adhere to this sequential approach.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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

Institutional subscriptions

References

  1. Ahadi, A., Behbood, V., Vihavainen, A., Prior, J., Lister, R.: Students’ syntactic mistakes in writing seven different types of SQL queries and its application to predicting students’ success. In: Proceedings of the 47th ACM Technical Symposium on Computing Science Education, pp. 401–406 (2016). https://doi.org/10.1145/2839509.2844640

  2. Ahadi, A., Prior, J., Behbood, V., Lister, R.: Students’ semantic mistakes in writing seven different types of SQL queries. In: Proceedings of the 2016 ACM Conference on Innovation and Technology in Computer Science Education, pp. 272–277 (2016). https://doi.org/10.1145/2899415.2899464

  3. Brusilovsky, P., Sosnovsky, S., Yudelson, M.V., Lee, D.H., Zadorozhny, V., Zhou, X.: Learning SQL programming with interactive tools: from integration to personalization. ACM Trans. Comput. Educ. 9(4), 1–15 (2010). https://doi.org/10.1145/1656255.1656257

    Article  Google Scholar 

  4. Buitendijk, R.B.: Logical errors in database SQL retrieval queries. Comput. Sci. Econ. Manag. 1, 79–96 (1988). https://doi.org/10.1007/BF00427157

    Article  MathSciNet  Google Scholar 

  5. Carter, B.T., Luke, S.G.: Best practices in eye tracking research. Int. J. Psychophysiol. 155, 49–62 (2020). https://doi.org/10.1016/j.ijpsycho.2020.05.010

    Article  Google Scholar 

  6. Garner, P., Mariani, J.: Learning SQL in steps. J. Syst. Cybernet. Inf. 13(4), 19–24 (2015)

    Google Scholar 

  7. Kim, J., Thomas, P., Sankaranarayana, R., Gedeon, T., Yoon, H.J.: Eye-tracking analysis of user behavior and performance in web search on large and small screens. J. Am. Soc. Inf. Sci. 66(3), 526–544 (2015). https://doi.org/10.1002/asi.23187

    Article  Google Scholar 

  8. Inal, Y.: User-friendly locations of error messages in web forms: an eye tracking study. J. Eye Move. Res. 9(5), 1–11 (2016). https://doi.org/10.16910/jemr.9.5.1

  9. Matos, V.M., Grasser, R.: Teaching tip: a simpler (and better) SQL approach to relational division. J. Inf. Syst. Educ. 13(2), 85–88 (2002)

    Google Scholar 

  10. Minas, R., Samuel, B., Yuan, L., Khatri, V.: Exploring the iterative nature of corrective SQL maintenance: an eye tracking study. In: 24th Workshop on Information Technologies and Systems, Auckland, New Zealand (2014)

    Google Scholar 

  11. Mitrovic, A.: Learning SQL with a computerized tutor. In: Proceedings of the 29th SIGCSE Technical Symposium on Computer Science Education, pp. 307–311 (1998).https://doi.org/10.1145/273133.274318

  12. Najar, A.S., Mitrovic, A., Neshatian, K.: Utilizing eye tracking to improve learning from examples. In: Stephanidis, C., Antona, M. (eds.) UAHCI 2014. LNCS, vol. 8514, pp. 410–418. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-07440-5_38

    Chapter  Google Scholar 

  13. Najar, A.S., Mitrovic, A., Neshatian, K.: Eye tracking and studying examples: how novices and advanced learners study SQL examples. J. Comput. Inf. Technol. 23(2), 171–190 (2015). https://doi.org/10.2498/cit.1002627

    Article  Google Scholar 

  14. Nivala, M., Hauser, F., Mottok, J., Gruber, H.: Developing visual expertise in software engineering: An eye tracking study. In: IEEE Global Engineering Education Conference (EDUCON), pp. 613–620. (2016). https://doi.org/10.1109/EDUCON.2016.7474614

  15. Peker, S., Menekse Dalveren, G.G., Inal, Y.: The effects of the content elements of online banner ads on visual attention: evidence from an eye-tracking study. Future Internet 13(1), 1–18 (2021). https://doi.org/10.3390/fi13010018

    Article  Google Scholar 

  16. Prior, J.C., Lister, R.: The backwash effect on SQL skills grading. In: Proceedings of the 9th Annual SIGCSE Conference on Innovation and Technology in Computer Science, pp. 32–36 (2004)

    Google Scholar 

  17. Renaud, K., van Biljon, J.: Teaching SQL—which pedagogical horse for this course? In: Williams, H., MacKinnon, L. (eds.) BNCOD 2004. LNCS, vol. 3112, pp. 244–256. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-27811-5_22

    Chapter  Google Scholar 

  18. Sadiq, S., Orlowska, M., Sadiq, W., Lin, J.: SQLator: an online SQL learning workbench. ACM SIGCSE Bull. 36(3), 223–227 (2004). https://doi.org/10.1145/1026487.1008055

    Article  Google Scholar 

  19. Smelcer, J.B.: User errors in database query composition. Int. J. Hum Comput Stud. 42(4), 353–381 (1995). https://doi.org/10.1006/ijhc.1995.1017

    Article  Google Scholar 

  20. Taipalus, T.: A notation for planning SQL queries. J. Inf. Syst. Educ. 30(3), 160–166 (2019)

    Google Scholar 

  21. Taipalus, T., Perälä, P.: What to expect and what to focus on in SQL query teaching. In: Proceedings of the 50th ACM Technical Symposium on Computer Science Education, pp. 198–203 (2019). https://doi.org/10.1145/3287324.3287359

  22. Taipalus, T., Siponen, M., Vartiainen, T.: Errors and complications in SQL query formulation. ACM Trans. Comput. Educ. 18(3), 1–29 (2018). https://doi.org/10.1145/3231712

    Article  Google Scholar 

  23. Xie, H., Zhao, T., Deng, S., Peng, J., Wang, F., Zhou, Z.: Using eye movement modelling examples to guide visual attention and foster cognitive performance: a meta-analysis. J. Comput. Assist. Learn. 37(4), 1194–1206 (2021). https://doi.org/10.1111/jcal.12568

    Article  Google Scholar 

  24. Villamor, M., Rodrigo, M.M.: Predicting successful collaboration in a pair programming eye tracking experiment. In: Adjunct Publication of the 26th Conference on User Modeling, Adaptation and Personalization, pp. 263–268 (2018).https://doi.org/10.1145/3213586.3225234

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Deepti Mishra .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Mishra, D., Inal, Y. (2023). What Affects the Success of Programmers in Query Validation Process? An Eye Tracking Study. In: Mori, H., Asahi, Y. (eds) Human Interface and the Management of Information. HCII 2023. Lecture Notes in Computer Science, vol 14016. Springer, Cham. https://doi.org/10.1007/978-3-031-35129-7_38

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-35129-7_38

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-35128-0

  • Online ISBN: 978-3-031-35129-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics