4. Generates SQL: Based on student feedback, it
is beneficial to see the correspondence between
an algebra or calculus query with the SQL query.
Our tool provides the corresponding query, in ad-
dition to the result set once the query is executed
against a database instance. This is especially im-
portant for complex queries, where the relation-
ship between the theoretical query and the SQL
statement is not straight forward. In Section 2,
we have provided some examples of such com-
plex queries.
5. Uses Tile-based Programming: The tool utilizes
visual programming, through tile-based program-
ming. No other tool provides this feature. Tile-
based programming does not only make it eas-
ier for students to write their programs, but also
has many other beneficial side effects (Guo et al.,
2008). Similar to other algorithms, algebra and
calculus can be expressed naturally using tiles.
Tiles also allow for better execution performance
because the approach a very effective way to ex-
ploit locality (Guo et al., 2008). Finally, they can
also be used to express data distribution and par-
allel computation (Guo et al., 2008). In one word,
they provide students with exposure to concepts
outside the database topics.
6. Supports Customized Quizzes and Challenges:
The tool allows educators and researchers to cre-
ate quizzes and challenges for students.
7. Collects and Logs Usage Information: Un-
like all other tools, the tool collects and logs
all types of information for educators and re-
searchers to analyze. It will help educators and
researchers look for certain patterns, identifying
student weaknesses, areas of struggle, and hence-
forth.
8 CONCLUSION
Learning theoretical query languages has benefits to
students since they help improve problem solving
skills. In addition, both relational algebra and rela-
tional calculus provide the theoretical foundation for
the design of SQL. Mastering these languages im-
proves the skills needed to formulate SQL queries,
specifically for queries that incorporate challenging
logic. Unlike SQL, a common challenge that impedes
the teaching and learning of these theoretical query
languages is the limited opportunity for students to
execute and validate their query statements against
an existing database. In addition, students indicated
that it would be more beneficial to them if they can
also see a corresponding SQL code to the queries for-
mulated in the theoretical languages. To the best of
our knowledge, there are very few existing tools that
support the execution of either algebra or calculus
queries. These tools have many limitations, and we
are developing a tool that answers all of these limita-
tions. Namely, our tool is Web-based, supports both
languages, not specific to a fixed database, generates
SQL for comparison purposes, utilizes tile-based pro-
gramming, and creates analysis logs.
ACKNOWLEDGMENTS
We are thankful to the anonymous referees. Their
feedback helped us improve the paper.
REFERENCES
Epstein Educational Enterprises: What is IF-AT? http:
//www.epsteineducation.com/home/about/. Accessed:
2019-07-30.
Codd, E. F. (1972). Relational completeness of data base
sublanguages. IBM Research Report, RJ987.
Connolly, T. and Begg, C. E. (2014). Database Systems:
A Practical Approach to Design, Implementation and
Management. Pearson, USA, 6th edition.
Eckberg, C. Relational Calculus Emulator. https://edoras.
sdsu.edu/
∼
eckberg/relationalcalculusemulator.html.
Accessed: 2020-01-04.
Elmasri, R. and Navathe, S. B. (2015). Fundamentals of
Database Systems. Pearson, 7th edition.
Guo, J., Bikshandi, G., Fraguela, B. B., Garzaran, M. J.,
and Padua, D. (2008). Programming with tiles. In
Proceedings of the 13th ACM SIGPLAN Symposium
on Principles and Practice of Parallel Programming,
PPoPP’08, page 111–122, New York, NY, USA. As-
sociation for Computing Machinery.
Kawash, J. (2014). Formulating second-order logic condi-
tions in SQL. In Proceedings of the 15th Annual Con-
ference on Information Technology Education, SIG-
ITE 2014, Atlanta, Georgia, USA, October 15-18,
2014, pages 115–120.
Kawash, J., Jarada, T., and Moshirpour, M. (2020). Group
exams as learning tools: Evidence from an undergrad-
uate database course. In SIGCSE ’20: The 51st ACM
Technical Symposium on Computer Science Educa-
tion, Portland, OR, USA, March 11-14, 2020, pages
626–632.
Kawash, J. and Sailunaz, K. (2020). Learning by creat-
ing instructional videos: An experience report from a
database course. In Proceedings of EDUCON 2020
– IEEE Global Engineering Education Conference.
IEEE CS Press.
Kessler, J., Tschuggnall, M., and Specht, G. (2019). Re-
lax: A webbased execution and learning tool for rela-
tional algebra. In Grust, T., Naumann, F., B
¨
ohm, A.,
CSEDU 2020 - 12th International Conference on Computer Supported Education
388