25 February 2009 in Higher Education
27 January 2017 in The Art, Science, and Engineering of Programming
AIAlexandru Florin Iosif-Lazar
Alexandru Florin Iosif-Lazar
Context. Variability-intensive programs (program families) appear in many application areas and for many reasons today. Different family members, called variants, are derived by switching statically configurable options (features) on and off, while reuse of the common code is maximized. Inquiry. Verification of program families is challenging since the number of variants is exponential in the number of features. Existing single-program analysis and verification tools cannot be applied directly to program families, and designing and implementing the corresponding variability-aware versions is tedious and laborious. Approach. In this work, we propose a range of variability-related transformations for translating program families into single programs by replacing compile-time variability with run-time variability (non-determinism). The obtained transformed programs can be subsequently analyzed using the conventional off- the-shelf single-program analysis tools such as type checkers, symbolic executors, model checkers, and static analyzers. Knowledge. Our variability-related transformations are outcome-preserving, which means that the relation between the outcomes in the transformed single program and the union of outcomes of all variants derived from the original program family is equality. Grounding. We show our transformation rules and their correctness with respect to a minimal core imperative language IMP. Then, we discuss our experience of implementing and using the transformations for efficient and effective analysis and verification of real-world C program families. Importance. We report some interesting variability-related bugs that we discovered using various state-of-the-art single-program C verification tools, such as Frama-C, Clang, LLBMC.
1 January 2021 in Social Sciences & Humanities Open
6 December 2024 in Higher Education
Decades of technological development and innovation have led to an unprecedented digitalization of society. Graduates entering the modern workforce now need better computational competences. Higher education is thus forced to adapt and consider how to support these demands. To support educators in making decisions regarding how to integrate computing in their programmes, we set out to investigate to what extent and how mandatory (computer) programming has emerged in the tertiary educational system of an entire country: Denmark. We analyzed all course descriptions from 1169 tertiary educational programmes at all higher educational institutions spanning all of Denmark. This provides a “snapshot” of where and how programming education has emerged and manifested itself in higher education across faculties, study programmes, and disciplines for an entire country. Our results demonstrate that, as of 2023, 1 in 6 $$\nicefrac {1}{2}$$ educational programmes (175 out of 1169) include mandatory programming. To support educators in introducing programming, we quantify and provide an overview of educational programmes with mandatory programming along several dimensions. We characterize the roles programming has in different programmes, how programming is delineated, and which families of competences are often taught in connection with programming. Based on the results of our study, we issue five recommendations directed at policymakers and educators responsible for navigating the inclusion of programming in their education.