ABSTRACT
Looking Glass (https://github.com/sturner84/LookingGlass) is a library designed to support the testing of students' C++ code through reflection. Instructors can design tests that compile even if there are mismatches between the instructor's and student's code (like misspelled function names or parameters that do not have the expected types). Using the automatically generated metadata, instructors can search for and call functions or methods in the student code, including the main function, while providing feedback (rather than a compile error) if the required code is not found. Although not suitable for all C++ programs, Looking Glass was designed to support instructors in introductory and intermediate classes and to be transparent to the students.
- Boost. http://www.boost.org/. Accessed 9/2/2014.Google Scholar
- Brown, P.J. 1983. Error messages: the neglected area of the man/machine interface. Commun. ACM. Google ScholarDigital Library
- Chochlík, M. Mirror. http://kifri.fri.uniza.sk/~chochlik/ mirror-lib/html/index.html. Accessed 9/1/2014.Google Scholar
- Devadithya, T. et al. 2007. C++ reflection for high performance problem solving environments. Proceedings of the 2007 spring simulation multiconference - Volume 2 (Norfolk, Virginia, 2007), 435--440. Google ScholarDigital Library
- Devadithya, T. et al. XCppRefl - C++ Reflection Library. http://www.extreme.indiana.edu/reflcpp/. Accessed 9/1/14.Google Scholar
- Doxygen. http://www.stack.nl/~dimitri/doxygen/index.html. Accessed 9/2/2014.Google Scholar
- Edwards, S.H. Web-CAT. http://web-cat.cs.vt.edu/. Accessed 9/1/2014.Google Scholar
- Edwards, S.H. and Perez-Quinones, M.A. 2007. Experiences using test-driven development with an automated grader. J. Comput. Small Coll. 22, 3 (2007), 44--50. Google ScholarDigital Library
- Marceau, G. et al. 2011. Mind your language: on novices? interactions with error messages. Proceedings of the 10th SIGPLAN symposium on New ideas, new paradigms, and reflections on programming and software (Portland, Oregon, USA, 2011), 3--18. Google ScholarDigital Library
- Nienaltowski, M.-H. et al. 2008. Compiler error messages: what can help novices? Proceedings of the 39th SIGCSE technical symposium on Computer science education (Portland, OR, USA, 2008), 168--172. Google ScholarDigital Library
- Nordquist, P. 2007. Providing accurate and timely feedback by automatically grading student programming labs. J. Comput. Sci. Coll. 23, 2 (2007), 16--23. Google ScholarDigital Library
- Shams, Z. and Edwards, S.H. 2013. Reflection Support: Java Reflection Made Easy. The Open Software Engineering Journal. 7, (2013).Google Scholar
- Wang, Q. cpgf. http://cpgf.org/. Accessed: 9/1/2014.Google Scholar
Index Terms
- Looking Glass: A C++ Library for Testing Student Programs through Reflection
Recommendations
Looking glass: a C++ library for testing student programs through reflection (abstract only)
SIGCSE '14: Proceedings of the 45th ACM technical symposium on Computer science educationLooking Glass is a library designed to support the testing of students' C++ code through reflection. Instructors can design tests that compile even if there are mismatches between the instructor's and student's code (like misspelled function names or ...
What Is Object-Oriented Programming?
The meaning of the term 'object oriented' is examined in the context of the general-purpose programming language C++. This choice is made partly to introduce C++ and partly because C++ is one of the few languages that supports data abstraction, object-...
Methodology first and language second: a way to teach object-oriented programming
OOPSLA '03: Companion of the 18th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applicationsC++ is a very successful object-oriented language. It is a required language for more and more students. It takes great effort and practice for these students to learn how to program in C++ and how to make object-oriented programs. One potential failure ...
Comments