{'fraction_non_alphanumeric': 0.022538552787663108, 'fraction_numerical': 0.0, 'mean_word_length': 5.975206611570248, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Integrating Textbooks with Smart Interactive Content for Learning Programming

Online textbooks with interactive content emerged as a popular medium for learning programming and other computer science topics. While the textbook component supports acquisition of programming concepts by reading, various types of “smart” interactive learning content such as worked examples, code animations, Parson’s puzzles, and coding problems allow students to immediately practice and master the newly learned concepts. This paper attempts to automate the time-consuming manual process of augmenting textbooks with “smart” interactive content. We introduce an ontology-based approach that can link fragment of text with “smart” content activities, demonstrate its application to two practical linking cases, and present the results of its pilot evaluation.