Abstract
While there are several online tools to practice SQL, except for single tool to practice relational algebra, there practically are no system for teaching, tutoring or assessing relational query language assignments for database classes. In this paper, we introduce ReliQ, an online tutoring and assessment system for teaching relational query languages to database students. ReliQ supports a number of features for convenient management of assignments and tests for both practice (in tutoring mode) and authentic assessment (in testing mode). It is capable of grading assignments autonomously and generating useful hints for an effective, enriching and unparalleled eLearning experience.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
It is not just because the student did not include the PetID in the projection, but because the query as written will also include all the Purina brand FoodIDs in the inner projection and thereby making all the non priciest foods also eligible. The reference query \(R_r\) first finds the price of the highest priced Purina item, then picks the item’s FoodID with an extra join before joining with Likes and Pets to avoid picking all the lower priced items unlike the student’s queries \(R_1\) and \(R_2\).
- 2.
- 3.
The process of designing an assignment is almost identical, and hence omitted.
- 4.
Note that the ReliQ IDE also serves as a standalone interface for query construction and execution.
References
Brinkhuis, M.J.S., Savi, A.O., Hofman, A.D., Coomans, F., van der Maas, H.L.J., Maris, G.K.J.: Learning as it happens: a decade of analyzing and shaping a large-scale online learning system. J. Learn. Anal., 5(2) (2018)
Brown, L.E., Feltz, A., Wallace, C.: Lab exercises for a discrete structures course: exploring logic and relational algebra with alloy. In: ITiCSE 2018, Larnaca, Cyprus, July 02–04, 2018, pp. 135–140. ACM (2018)
Chan, H.C.: Translational semantics for a conceptual level query language. J. Comput. Sci. Technol. 10(2), 175–187 (1995)
Chu, S., Murphy, B., Roesch, J., Cheung, A., Suciu, D.: Axiomatic foundations and algorithms for deciding semantic equivalences of SQL queries. Proc. VLDB Endow. 11(11), 1482–1495 (2018)
Folland, K.A.T.: viSQLizer: using visualization for learning SQL. In: NIK 2016, Høgskolen i Bergen, Bergen, Norway, November 28–30 (2016)
Gansner, E., Horgan, J.R., Kintala, C.M.R., Moore, D.J., Surko, P.: Semantics and correctness of a query language translation. In: DeMillo, R.A., editor, ACM POPL, Albuquerque, New Mexico, USA, January 1982, pp. 289–298 (1982)
Jamil, H.: Online tutoring and plagiarism-aware authentic assessment of database design assignments. In: IEEE TALE, Auckland, New Zealand, November 27-December 1 (2023). In press
Jamil, H., Shawon, F.: Automatic and authentic eassessment of online database design theory assignments. In: ICWL 2023, Sydney, Australia, November 26–28 (2023). In press
Ji, S., Yuan, T.: Conversational intelligent tutoring systems for online learning: what do students and tutors say? In: Kallel, I., Kammoun, H.M., Hsairi, L., editors, IEEE EDUCON 2022, Tunisia, March 28–31, 2022, pp. 292–298 (2022)
Jukic, N., Vrbsky, S., Nestorov, S., Sharma, A.: Erdplus. https://erdplus.com/ (2020). Accessed 31 July 2022
Karimzadeh, M., Jamil, H.: An intelligent online SQL tutoring system. In: IEEE ICALT 2022, Bucharest, Romania. July 1–4, 2022, pp. 212–213 (2022)
Kenny, C., Pahl, C.: Automated tutoring for a database skills training environment. In: Dann, W.P., Naps, T.L., Tymann, P.T., Baldwin, D., editors, ACM SIGCSE 2005, St. Louis, Missouri, USA, February 23–27, 2005, pp. 58–62 (2005)
Kessler, J., Tschuggnall, M., Specht, G.: RelaX: a webbased execution and learning tool for relational algebra. In: Grust, T., et al., editors, BTW 2019, 4–8 March 2019, Rostock, Germany, volume P-289 of LNI, pp. 503–506 (2019)
Leventidis, A., Zhang, J., Dunne, C., Gatterbauer, W., Jagadish, H.V., Riedewald, M.: QueryVis: logic-based diagrams help users understand complicated SQL queries faster. In: SIGMOD, pp. 2303–2318. ACM (2020)
Miao, Z., Roy, S., Yang, J.: Explaining wrong queries using small examples. In: Boncz, P.A., Manegold, S., Ailamaki, A., Deshpande, A., Kraska, T., editors, SIGMOD 2019, The Netherlands, June 30 - July 5, 2019, pp. 503–520 (2019)
Michel, F., Faron-Zucker, C., Montagnat, J.: A generic mapping-based query translation from SPARQL to various target database query languages. In: WEBIST 2016, Volume 2, Rome, Italy, April 23–25, 2016, pp. 147–158. SciTePress (2016)
Muehe, H.: Interactive relational algebra in latex. https://db.in.tum.de/people/sites/muehe/ira/ (2022). Accessed 22 July 2023
Murad, D.F., Wijanarko, B.D., Leandros, R., Murad, S.A.: The effectiveness of online-based authentic learning assessment. In: SIET 2022, Malang, Indonesia, November 22–23, 2022, pp. 277–282. ACM (2022)
Silberschatz, A., Korth, H.F., Sudarshan, S.: Database System Concepts, Seventh Edition. McGraw-Hill Book Company (2020)
Song, H., Kim, A., Park, S.: Translation of natural language query into keyword query using a RNN encoder-decoder. In: ACM SIGIR, Shinjuku, Tokyo, Japan, August 7–11, 2017, pp. 965–968. ACM (2017)
Tomaselli, S.: Relational - educational tool for relational algebra. https://github.com/ltworf/relational (2022). Accessed 22 July 2023
Wang, J., Stantic, B.: Facilitating learning by practice and examples: a tool for learning table normalization. In: BCI 2019, Sofia, Bulgaria, September 26–28, 2019, pp. 35:1–35:4. ACM (2019)
Yang, J.: IRA - interactive relationale algebra. https://users.cs.duke.edu/junyang/radb/ (2022). Accessed 22 July 2023
Zhang, M., Gu, Z.X., Amer, A., Sidhu, G., Srinivasan, S.: Software suite for self-paced learning. Int. J. Emerg. Technol. Learn. 17(19), 20–32 (2022)
Zhekova, M., Pashev, G., Totkov, G.: An algorithm for translation of a natural language question into SQL query. In: ICERIS, Plovdiv, Bulgaria, October 13–14, 2022, volume 3372 of CEUR Workshop Proceedings, pp. 32–40 (2022)
Acknowledgement
This research was partially supported by an Institutional Development Award (IDeA) from the National Institute of General Medical Sciences of the National Institutes of Health under Grant #P20GM103408.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Jamil, H.M., Naha, K., Shawon, F.R. (2023). An Online Tutoring and Assessment System for Teaching Relational Algebra in Database Classes. In: Xie, H., Lai, CL., Chen, W., Xu, G., Popescu, E. (eds) Advances in Web-Based Learning – ICWL 2023. ICWL 2023. Lecture Notes in Computer Science, vol 14409. Springer, Singapore. https://doi.org/10.1007/978-981-99-8385-8_6
Download citation
DOI: https://doi.org/10.1007/978-981-99-8385-8_6
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-8384-1
Online ISBN: 978-981-99-8385-8
eBook Packages: Computer ScienceComputer Science (R0)