<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Novi Sad, Serbia
∗ Corresponding author.
† These authors contributed equally.
tomi.persa@um.si (T. Perša); lili.nemeczlatolas@um.si (L. Nemec Zlatolas)</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>A Look at First-Year Students' Pre-Knowledge on Computer Programming Over Time</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Tomi Perša</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Lili Nemec Zlatolas</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Maribor, Faculty of Electrical Engineering and Computer Science</institution>
          ,
          <addr-line>Koroska ulica 46, 2000 Maribor</addr-line>
          ,
          <country country="SI">Slovenia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>This study investigates the pre-existing knowledge of first-year students in Computer Programming courses, analysing the impact of secondary education backgrounds on their learning experiences. Over the course of five academic years, students at the University of Maribor were assessed through surveys and practical tests to determine their pre-knowledge of algorithmic thinking and problem-solving skills. The research highlights the influence of learning opportunities and the subsequent rise in students with prior programming experience. The findings present differences in self-reported programming knowledge across generations, emphasising the need for adaptive teaching strategies to bridge the knowledge gap. The results show the importance of early programming education and suggest a trend towards digital literacy in secondary education.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Programming</kwd>
        <kwd>teaching</kwd>
        <kwd>JavaScript</kwd>
        <kwd>learning</kwd>
        <kwd>pre-knowledge 1</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Students who have previous experience in programming are usually more self-assured in their
knowledge, which often misleads their actual capabilities and thus sometimes perform worse than
students who take their time to properly study the required constructs and concepts [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. They have
the capabilities required to conduct proper declarative knowledge and procedural skills but are more
prone to mistakes. Subjects also don’t approach better, potentially superior concepts, thus staying at
the skill level which they are most comfortable with, often leading to false understandings of more
advanced concepts and solutions [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. There is also a matter of transitioning between different
scripting languages, which results in basic syntax errors and incorrect answers due to the differences
in syntax and structure between the languages they’ve learned previously and the ones they are
currently using.
      </p>
      <p>
        During the COVID pandemic, much of the educational process has moved online. Theoretical and
practical classes in Computer Programming became more focused on providing solutions that would
assist students in their learning process while also incorporating different online tools for providing
feedback [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. This meant an increased source of learning materials that would direct a beginner
programmer to proper problem-solving and critical thinking [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Solution-seeking is time-consuming,
but it can cater to subjects' learning capabilities and willingness to put time and effort into the
acquirement of new skills [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Due to the abundance of accessible online materials, students who seek
solutions for their assignments offline often find results that are out of their skill range, further
distancing themselves from easier solutions and the course curriculum [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Certain students also
prefer live or in-person examples of programming, giving them a more direct approach and quicker
access to feedback should they hit an error during their assignments [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>In this work, we present a study where we analysed answers from students with different
secondary education level backgrounds through the years on their different levels of pre-knowledge
of Computer Programming, algorithmic thinking, problem-solving, and their self-perceived
knowledge of the subject. The analysis was performed with active students at the start of the course
and after they had attended the course's theoretical lessons and solved practical laboratory
assignments. The experiment was conducted with students who took the course Fundamentals of</p>
      <sec id="sec-1-1">
        <title>Web Programming, which was later renamed to Programming for Media.</title>
        <p>The structure of the paper is as follows. The description of the research methods is provided in
Section 2 and the main contribution of the paper is in Section 3, where the results are presented.</p>
      </sec>
      <sec id="sec-1-2">
        <title>Finally, the discussion is in Section 4, and the conclusion of the paper is in Section 5.</title>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2. Research methods</title>
      <p>The study evaluated the pre-knowledge of the students in the Fundamentals of Web Programming
course using a test. Further details are presented in the following sub-sections.</p>
      <sec id="sec-2-1">
        <title>2.1. Data collection and participants</title>
        <p>At the start of the semester, the students attending the course Fundamentals of Web Programming
were allowed to fill out a survey that would assess their skills and knowledge of Computer
Programming in any programming language. This study was done in 5 consecutive years (from
2019/2020 to 2023/2024), and we will compare the results of generations. The study was done among
students of Media Communications (MC) at the Faculty of Electrical Engineering and Computer
Science, University of Maribor. In the first three years of research, the course was also an elective
course in the study program Information and Communication Technologies (IaCT). As presented in
Table 1, there were a total of 425 participants over five consecutive years.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Measures</title>
        <p>Measurement items were tested with a 7-point Likert scale and some yes/no questions. The
measurement items and criteria are presented in Table 2. The survey consists of 25 questions, where
13 of which are used to acquire demographic information, information on previous education, and
self-evaluation of the programming knowledge, which were only asked during the pre-test of the
survey. The following 12 questions consist of theoretical and practical examples that test the
preknowledge of programming in JavaScript.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Data Analysis and Results</title>
      <sec id="sec-3-1">
        <title>We have conducted a Data Analysis with SPSS 29 and MS Excel.</title>
        <p>In Figure 1, the 100% loaded bar chart presents what students have reported on the topic if they
have ever attended any programming course before entering the University by year of enrollment.
As can be seen in the figure, the COVID-19 generation had a bit of a setback, whereas the number of
students who received some prior programming knowledge before entering University has been
rising again for the last two years. As programming is an important skill in today’s digital world, we
can presume that this number will be even higher in the next years.</p>
        <p>2023/2024
yes
no</p>
      </sec>
      <sec id="sec-3-2">
        <title>QUESTIONS</title>
      </sec>
      <sec id="sec-3-3">
        <title>1 Did you already attend a programming subject</title>
        <p>(before enrolling on the faculty)?</p>
      </sec>
      <sec id="sec-3-4">
        <title>2 Which programming language did you use?</title>
      </sec>
      <sec id="sec-3-5">
        <title>Answer only if you ticked the answer in the</title>
        <p>previous question “YES”. (Multiple choice)
3 How long have you been learning programming? •
Answer only if you answered “YES” to question 1
4 Where did you learn programming? Answer •
only if you answered “YES” to question 1 (multiple •
choice)
•
•</p>
      </sec>
      <sec id="sec-3-6">
        <title>5 I have a lot of knowledge in programming.</title>
      </sec>
      <sec id="sec-3-7">
        <title>6 I know how to use the programming language</title>
        <p>JavaScript.
7 I know how to use one of the available
programming languages.
8 I know how to use variables.</p>
      </sec>
      <sec id="sec-3-8">
        <title>9 I know how to use arrays.</title>
        <p>10 I know how to use conditional statements.
11 I know how to use loops.
12 I know how to use functions.
12 I know how to use objects.
13 I know how to use DOM.</p>
        <p>Y / N</p>
        <p>C
C++
C#</p>
      </sec>
      <sec id="sec-3-9">
        <title>Java</title>
      </sec>
      <sec id="sec-3-10">
        <title>JavaScript</title>
      </sec>
      <sec id="sec-3-11">
        <title>Pascal</title>
      </sec>
      <sec id="sec-3-12">
        <title>Python PHP Other</title>
        <p>•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•</p>
      </sec>
      <sec id="sec-3-13">
        <title>POSSIBLE ANSWERS</title>
        <p>six months or less</p>
      </sec>
      <sec id="sec-3-14">
        <title>6-12 months</title>
      </sec>
      <sec id="sec-3-15">
        <title>1-2 years</title>
      </sec>
      <sec id="sec-3-16">
        <title>2-3 years</title>
      </sec>
      <sec id="sec-3-17">
        <title>3-4 years</title>
      </sec>
      <sec id="sec-3-18">
        <title>More than four years</title>
      </sec>
      <sec id="sec-3-19">
        <title>Independently</title>
      </sec>
      <sec id="sec-3-20">
        <title>In a course in primary school</title>
      </sec>
      <sec id="sec-3-21">
        <title>In a course in secondary school</title>
      </sec>
      <sec id="sec-3-22">
        <title>At extracurricular activities in</title>
        <p>school
Online
1 – strongly disagree</p>
      </sec>
      <sec id="sec-3-23">
        <title>2 – disagree</title>
      </sec>
      <sec id="sec-3-24">
        <title>3 – more or less disagree</title>
      </sec>
      <sec id="sec-3-25">
        <title>4 – undecided</title>
      </sec>
      <sec id="sec-3-26">
        <title>5- more or less agree</title>
      </sec>
      <sec id="sec-3-27">
        <title>6 – agree</title>
      </sec>
      <sec id="sec-3-28">
        <title>7 – strongly agree In Table 3, the amount of time of prior programming learning is presented by enrollment year per student. This table is presented for the Media Communications study program to avoid the influence of the other study program on the statistics.</title>
        <p>In Figure 2, the programming languages that the students used when taking programming courses
are presented. As can be seen from the figure, the most commonly learned programming languages
are C++ and JavaScript. However, we can also notice increasing interest in C# whereas the interest
in C++ and Java interests are decreasing in the last years.</p>
        <p>90
80
70
60
50
40
30
20
10
0</p>
        <p>C</p>
        <p>C++</p>
        <p>C#</p>
        <p>Java</p>
        <p>JavaScript</p>
        <p>Pascal
2019/2020
2020/2021
2021/2022
2022/2023</p>
        <p>Python
2023/2024</p>
        <p>PHP</p>
        <p>In Figure 3, the information on where the students learned computer programming before coming
to the University is presented. As presented on the graph, most commonly students learned
programming in a course in secondary school. Not many students learned programming in primary
school or at extracurricular activities in schools.</p>
        <p>Finally, we conducted an ANOVA test to compare five different generations in their self-reported
knowledge of programming. We have calculated a mean for each student for questions 5-13 (7-point
Likert scale). In Table 4, we have presented the mean and standard deviation by study year for these
questions together. The Levene statistics significance is greater than .05 (.065), therefore we can
assume equal variances across all groups. The ANOVA test showed that the knowledge of
programming is significantly different among different generations (p-value &lt;.001, F-score 4.723, df
= (4, 418)).</p>
        <p>Independently</p>
        <p>In a course in
primary school</p>
        <p>In a course in At extracurricular
secondary school activities in school</p>
        <p>Online
2019/2020
2020/2021
2021/2022
2022/2023
2023/2024</p>
        <p>We also conducted a Bonferroni posthoc test where we saw significant differences between the
2020/2021 and 2022/2023 groups (mean .95, p-value .01) as well as 2020/2021 and 2023/2024 groups
(mean 1.07, p-value 0.00).</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Discussion</title>
      <p>The findings indicate significant differences in the pre-knowledge of students enrolled in the
Fundamentals of Web Programming course over five academic years. The data suggests that the
COVID-19 pandemic may have impacted students’ opportunities to gain programming knowledge
before enrollment in the university, as can be seen in Figure 1, where between COVID-19 in
2021/2022, there was a big step down of students who ever attended programming courses before
entering University. However, the rise in students with prior programming experience is encouraging
and aligns with the increasing importance of digital literacy in the modern world.</p>
      <p>The diversity in programming languages learned before university, with C++ and JavaScript being
the most prevalent, reflects the broad spectrum of educational backgrounds among the students. The
shift in interest from C++ to C# could be indicative of industry trends influencing educational choices.
As also presented in Figure 2, we can observe a lower interest in C++ and Java technologies, whereas
C, C#, and JavaScript technologies are rising among the interests of students. Moreover, the fact that
most students learned programming in secondary school courses, as presented in Figure 3, suggests
that early exposure to programming could be crucial in shaping future university curricula to better
prepare students for advanced courses. All results of the study were gained by students who
selfreported their knowledge, so this might be a misleading aspect in terms of the validity of the study.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>The study demonstrates that there is a significant difference in the self-reported programming
knowledge among five consecutive generations of students. There could be a number of reasons for
this; some factors could include changes in secondary education curricula, the impact of the
COVID19 pandemic, evolving industry demands and, thus, higher interest in programming among younger
generations. The results underscore the need for universities to continually adapt their introductory
programming courses to accommodate the varying levels of pre-knowledge students bring to the
classroom. Future research could focus on the effectiveness of these adaptations and their impact on
student’s academic performance and career readiness in the field of computer science.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgements</title>
      <p>The authors acknowledge the financial support from the Slovenian Research and Innovation</p>
      <sec id="sec-6-1">
        <title>Agency (Research Core Funding No. P2-0057).</title>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>S.</given-names>
            <surname>Hopcan</surname>
          </string-name>
          , E. Polat, and E. Albayrak, '
          <article-title>Whether to flip Extreme Apprenticeship: which is more effective in programming instruction?',</article-title>
          <string-name>
            <surname>Educ. Inf. Technol.</surname>
          </string-name>
          , vol.
          <volume>27</volume>
          , no.
          <issue>8</issue>
          , pp.
          <fpage>10731</fpage>
          -
          <lpage>10756</lpage>
          , Sep.
          <year>2022</year>
          , doi: 10.1007/s10639-022-11055-y.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , L. Paquette,
          <string-name>
            <given-names>J. D.</given-names>
            <surname>Pinto</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A. X.</given-names>
            <surname>Fan</surname>
          </string-name>
          , '
          <article-title>Utilizing programming traces to explore and model the dimensions of novices' code-writing skill'</article-title>
          ,
          <source>Comput. Appl. Eng. Educ.</source>
          , vol.
          <volume>31</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>1041</fpage>
          -
          <lpage>1058</lpage>
          ,
          <year>2023</year>
          , doi: 10.1002/cae.22622.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Le</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Wang</surname>
          </string-name>
          , '
          <article-title>Measuring Programming Ability for Novice Programmers'</article-title>
          ,
          <string-name>
            <given-names>J. Internet</given-names>
            <surname>Technol</surname>
          </string-name>
          ., vol.
          <volume>23</volume>
          , no.
          <issue>3</issue>
          ,
          <string-name>
            <surname>Art</surname>
          </string-name>
          . no.
          <issue>3</issue>
          , May
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Salinas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Leger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Fukuda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Cardozo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Duarte</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Figueroa</surname>
          </string-name>
          , '
          <article-title>Evaluations of Integrated Programming Environment for First-Year Students in Computer Engineering'</article-title>
          ,
          <source>JUCS - J. Univers. Comput. Sci.</source>
          , vol.
          <volume>29</volume>
          , no.
          <issue>1</issue>
          ,
          <string-name>
            <surname>Art</surname>
          </string-name>
          . no.
          <issue>1</issue>
          ,
          <string-name>
            <surname>Jan</surname>
          </string-name>
          .
          <year>2023</year>
          , doi: 10.3897/jucs.81329.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>R.</given-names>
            <surname>Mason</surname>
          </string-name>
          , Simon,
          <string-name>
            <given-names>B. A.</given-names>
            <surname>Becker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Crick</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J. H.</given-names>
            <surname>Davenport</surname>
          </string-name>
          , '
          <article-title>A Global Survey of Introductory Programming Courses'</article-title>
          ,
          <source>in Proceedings of the 55th ACM Technical Symposium on Computer Science Education V. 1</source>
          ,
          <string-name>
            <surname>Portland</surname>
            <given-names>OR</given-names>
          </string-name>
          USA: ACM,
          <string-name>
            <surname>Mar</surname>
          </string-name>
          .
          <year>2024</year>
          , pp.
          <fpage>799</fpage>
          -
          <lpage>805</lpage>
          . doi:
          <volume>10</volume>
          .1145/3626252.3630761.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>K.</given-names>
            <surname>Bubnó</surname>
          </string-name>
          and
          <string-name>
            <given-names>V. L.</given-names>
            <surname>Takács</surname>
          </string-name>
          , '
          <article-title>Mathematical and computational awareness before and after the pandemic', Front</article-title>
          . Educ., vol.
          <volume>7</volume>
          ,
          <string-name>
            <surname>Sep</surname>
          </string-name>
          .
          <year>2022</year>
          , doi: 10.3389/feduc.
          <year>2022</year>
          .
          <volume>933339</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>P.</given-names>
            <surname>Denny</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. A.</given-names>
            <surname>Becker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Bosch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Prather</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Reeves</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Whalley</surname>
          </string-name>
          , '
          <article-title>Novice Reflections During the Transition to a New Programming Language'</article-title>
          ,
          <source>in Proceedings of the 53rd ACM Technical Symposium on Computer Science Education</source>
          , Providence RI USA: ACM, Feb.
          <year>2022</year>
          , pp.
          <fpage>948</fpage>
          -
          <lpage>954</lpage>
          . doi:
          <volume>10</volume>
          .1145/3478431.3499314.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>N.</given-names>
            <surname>Peimani</surname>
          </string-name>
          and
          <string-name>
            <given-names>H.</given-names>
            <surname>Kamalipour</surname>
          </string-name>
          , '
          <article-title>Online Education in the Post COVID-19 Era: Students' Perception and Learning Experience'</article-title>
          ,
          <source>Educ. Sci.</source>
          , vol.
          <volume>11</volume>
          , no.
          <issue>10</issue>
          ,
          <string-name>
            <surname>Art</surname>
          </string-name>
          . no.
          <issue>10</issue>
          ,
          <string-name>
            <surname>Oct</surname>
          </string-name>
          .
          <year>2021</year>
          , doi: 10.3390/educsci11100633.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>T.</given-names>
            <surname>Srivatanakul</surname>
          </string-name>
          , '
          <article-title>Emerging from the pandemic: instructor reflections and students' perceptions on an introductory programming course in blended learning', Educ</article-title>
          . Inf. Technol., vol.
          <volume>28</volume>
          , no.
          <issue>5</issue>
          , pp.
          <fpage>5673</fpage>
          -
          <lpage>5695</lpage>
          , May
          <year>2023</year>
          , doi: 10.1007/s10639-022-11328-6.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>