Next Article in Journal
Effect of Distraction Intervention for Needle-Related Pain and Distress in Children: A Systematic Review and Meta-Analysis
Previous Article in Journal
Prevalence of Psychological Impacts on Healthcare Providers during COVID-19 Pandemic in Asia
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Associations between Depression, Anxiety, Fatigue, and Learning Motivating Factors in e-Learning-Based Computer Programming Education

by
Aiste Dirzyte
1,2,*,
Aivaras Vijaikis
2,
Aidas Perminas
3 and
Romualda Rimasiute-Knabikiene
2
1
Faculty of Creative Industries, Vilnius Gediminas Technical University, 10221 Vilnius, Lithuania
2
Institute of Psychology, Mykolas Romeris University, 08303 Vilnius, Lithuania
3
Department of Psychology, Vytautas Magnus University, 44248 Kaunas, Lithuania
*
Author to whom correspondence should be addressed.
Int. J. Environ. Res. Public Health 2021, 18(17), 9158; https://doi.org/10.3390/ijerph18179158
Submission received: 29 July 2021 / Revised: 25 August 2021 / Accepted: 26 August 2021 / Published: 30 August 2021

Abstract

:
Quarantines imposed due to COVID-19 have forced the rapid implementation of e-learning, but also increased the rates of anxiety, depression, and fatigue, which relate to dramatically diminished e-learning motivation. Thus, it was deemed significant to identify e-learning motivating factors related to mental health. Furthermore, because computer programming skills are among the core competencies that professionals are expected to possess in the era of rapid technology development, it was also considered important to identify the factors relating to computer programming learning. Thus, this study applied the Learning Motivating Factors Questionnaire, the Patient Health Questionnaire-9 (PHQ-9), the Generalized Anxiety Disorder Scale-7 (GAD-7), and the Multidimensional Fatigue Inventory-20 (MFI-20) instruments. The sample consisted of 444 e-learners, including 189 computer programming e-learners. The results revealed that higher scores of individual attitude and expectation, challenging goals, clear direction, social pressure, and competition significantly varied across depression categories. The scores of challenging goals, and social pressure and competition, significantly varied across anxiety categories. The scores of individual attitude and expectation, challenging goals, and social pressure and competition significantly varied across general fatigue categories. In the group of computer programming e-learners: challenging goals predicted decreased anxiety; clear direction and challenging goals predicted decreased depression; individual attitude and expectation predicted diminished general fatigue; and challenging goals and punishment predicted diminished mental fatigue. Challenging goals statistically significantly predicted lower mental fatigue, and mental fatigue statistically significantly predicted depression and anxiety in both sample groups.

1. Introduction

Computer programming skills and computational literacy are among the core competencies that professionals are expected to possess in the era of rapid technology development and a fast-changing work environment [1].
Research indicates that learners of various ages are motivated to acquire computer programming skills because computer programming generates cognitive benefits [2] and may ensure more extensive possibilities of work or entrepreneurship [3]. For example, Python is a general-purpose programming language that empowers developers to use several different programming styles when creating programs. According to HackerRank, Python is the second-most in-demand programming language, and over 50% of hiring managers seek candidates who know this language [4]. The programming languages of Python, Java, HTML, CSS, SQL, NoSQL, C#, Rust, Perl, and Go are the most demanded in 2021, and courses aimed at learning these programming languages are in high demand [5].
However, computer programing is one of the most challenging learning tasks [6]. The rates of dropout or failure in programming language courses are higher than those of other disciplines [7]. Various studies suggest that the problem of programming learning failures is related to “subject difficulty” [7], course design and the learning context [8], lack of collaborative work [9], learners’ characteristics [10], and learning motivation [11,12].

1.1. Learning Motivating Factors

Research indicates that learning motivation is a crucial factor in determining learning outcomes [11,13,14], because motivated learners make more effort, and are more attentive and more persistent in the face of difficulties [15]. Motivation in education can be context specific, and motivation also relates to the level of engagement with a topic and the nature of that involvement [16]. Studies suggest that learning motivation depends on students’ attitudes and expectations, reward and recognition, challenging goals, social pressure, and competition [7].
In 2010, Law et al. [6] proposed a model of combination of intrinsic and extrinsic learning motivation factors: (1) an individual attitude and expectation factor, based on expectancy, instrumentality, and valence; (2) a challenging goals factor, based on the assumption that personal goals are essential in determining performance; (3) a clear direction factor, based on research indicating that effective learning is associated with the learner’s perception of a clear direction; (4) a reward and recognition factor, based on reinforcement theory, suggesting that proper reward and recognition can be a crucial motivator of learning; (5) a punishment factor, based on the assumption that punishments, and the expectation of punishments, motivate some people, yet may also act as a demotivating factor; (6) a social pressure and competition factor, based on evidence that social forces such as peer pressure and competition affect learning; and (7) an efficacy factor, based on the assumption that learning efficacy or learning-related self-efficacy refers to what a person believes he or she can do in a particular learning task. In this model, intrinsic motivation encompasses motivational factors of individual attitude and expectation, and challenging goals, whereas extrinsic motivation includes clear direction, reward and recognition, punishment, social pressure, and competition [6].
The theoretical model of Law et al. [6] on learning motivating factors is based on several eminent theories and previous research. Expectancy theory [17] suggests that motivation is a multiplicative function of expectancy (people have different expectations and levels of confidence in their capabilities), instrumentality (the perceptions of whether it is possible to obtain the desired outcome), and valence (the emotional orientations regarding outcomes or rewards), which provides the basis for the learning motivating factor of individual attitude and expectation. Furthermore, several studies reported the significance of personal goals in performance [18,19,20], which provides the basis for the learning motivating factor of personal goals. In addition, several studies have demonstrated that learners respond more positively when given a clear direction [21,22], which provides the basis for the learning motivating factor of clear direction. Furthermore, reinforcement theory implies that the anticipation of performance evaluation can affect the motivational direction and task involvement during task performance. These motivational processes may influence subsequent interest in the task, because proper reward and recognition can motivate learning [23]. These findings provide the basis for the learning motivating factor of reward and recognition. Reinforcement theory also implies that rewards and expectation of rewards, and punishments and expectation of punishments, can motivate some people. However, excessive punishment can be demotivating [24]. These results provide the basis for the learning motivating factor of punishment. Next, Law et al. [6] noted that “peer-learning among students in higher education is increasingly a meaningful and important topic for research” [6]. Several studies have demonstrated that peer pressure and competition can also influence learning, and this influence can be both harmful and beneficial [25,26,27], which provides the basis for the learning motivating factor of social pressure and competition. Furthermore, several studies have reported that learning-related self-efficacy is related to academic performance [28,29,30,31], which provides the basis for the learning motivating factor of efficacy.
Although numerous authors analyzed learning motivation in computer programming learning, some confusing findings [3,32,33] indicate that computer learners’ learning motivating factors are under-researched.

1.2. Learning and Emotional Health

Research indicates that learning motivation can be impacted by numerous factors, including emotional health, which leads to success in work, relationships, and learning [19]. However, learning motivation, which is “about the nature of that involvement” [16] (p. 111), may also affect emotional health, resulting in anxiety, depression, and emotional exhaustion.
Recent research suggests that emotions play an essential role in the ability of students to master complex intellectual activities such as computer programing. Moreover, emotions are essential factors in determining whether the student will master the exercise of learning to program in the short and long terms [34]. Some studies suggest that intrinsic learning motivation is related to better learning outcomes and higher satisfaction with the learning process, whereas extrinsic motivation is related to higher stress levels [35,36].
Several affective states that students experience when learning to program (e.g., boredom) were found to be related to performance, whereas the impact of certain affective states (e.g., anxiety or sadness) was not demonstrated [37,38,39]. Confusion, frustration, and boredom were found to be the most frequent affective states negatively correlated with performance when learning to program computers [39]. Prolonged confusion was found to harm learning outcomes, but the negative effect of boredom was even more substantial [40]. However, some research suggests that anxiety, happiness, anger, surprise, disgust, sadness, and fear are uncommon affective states when learning to program, and are unrelated to learning outcomes [38,39].
Studies analyzing the role of emotions in computer programming learning have focused on self-reported emotions. Research has analyzed students’ affective states, captured in a natural learning environment [41]. Studies have analyzed emotions, captured by web cameras and microphones when students were accessing the e-learning environments [42] or used semantic analysis (sentiment analysis), facial expression, and physiological signals [43], analyzed dialogues, body language, and facial expressions [44], and applied bimodal audiovisual emotion recognition [45].
However, although the question “How does the learner feel?” has received a significant amount of attention in computer programming e-learning research, the questions “How has the learner been feeling lately?” and “How are the learner’s recent affective states related to learning motivation”? are under-researched. It is unclear whether the prolonged affective states impact learning motivation and how different affective states are related to specific learning motivating factors.
Based on previous studies, it can be presumed that intrinsic motivation may enhance states of flow or zest, which are the opposites to depression, anxiety, or fatigue [46,47], whereas extrinsic motivation, especially fear of punishment, may lead to intensified anxiety [48,49,50]. The increase in anxiety levels for extended periods may result in depression, accompanied by mental or physical fatigue. However, the links between learning and anxiety, depression, and fatigue need thorough investigation.

1.3. Anxiety, Depression, and Fatigue

Anxiety is one of the primary emotions and a multidimensional reaction to actual or potential dangers, which combines somatic, cognitive, emotional, and behavioral components representing evolutionary mechanisms to survive or cope with the threatening stimuli. However, the response may become excessive or maladaptive under certain circumstances and manifest in anxiety disorders [51].
From the neurobiological perspective, human anxiety reactions are assumed to be mediated by the genetic background; the amygdala, hippocampus, cingulate cortex, hypothalamus, serotonergic, gamma-aminobutyric acidergic, and adrenocortical systems; and various brainstem areas [51,52]. Furthermore, the nature–nurture interplay is viewed as possibly increasing the risk of developing excessive anxiety; for example, in the brain-derived neurotrophic factor gene (BDNFMet at codon 66) in interaction with early life, stress was found to predict neuroticism and higher anxiety [53]. However, the cognitive theory presumes that anxiety reactions are predominantly cognitive phenomena [54,55,56]. The anxiety cycle can be significantly influenced by triggering events or stimuli and predisposing factors (e.g., trait anxiety) [55,56].
According to the tripartite model of anxiety and depression [57], the specific characteristic of anxiety is physiological hyperarousal, which includes tension, nervousness, shakiness, and panic symptoms, and the specific characteristic of depression is anhedonia, the absence of positive affect, and dysthymia, the depressed mood [58]. Furthermore, research suggests a dual interaction between depression and fatigue, in which one increases the risk of the other [59].

1.4. Mental Health and e-Learning Education

Several studies have demonstrated the relationship between neuroticism, which reflects trait anxiety and depression [57], and learning achievements [60], evidencing that anxiety and depression lead to diminished performance. Research has also revealed that neuroticism is positively related to extrinsic academic motivation [61]. However, the importance of mental health in e-learning education is under-researched, despite attempts to conceptualize challenges in e-learning education [62,63,64].
Identifying challenges in e-learning education is especially significant because, as a result of the coronavirus outbreak, numerous countries face changes in many sectors, including education. Many students globally have been affected by the suspension of classes, and countries have faced the need for rapid implementation of e-learning. As a result, the question of learning motivation in e-learning is extremely important, particularly considering the observed statistically significant increase in the rates of anxiety and depression [65] and chronic fatigue [66].
Research suggests that university students were susceptible to developing depression and anxiety during the COVID-19 quarantine due to the psychologically challenging circumstances they faced each day [67,68]. Although anxiety levels may depend on coping strategies [69], and depression levels may depend on social support [70], social isolation during the COVID-19 pandemic can intensify feelings of worthlessness, and presumed dangers can increase worrying and anxiety, which combined may finally lead to depression and emotional exhaustion [71].
Several studies revealed that most students during the quarantine experienced increased anxiety and depression [70,72,73]. Furthermore, research found a significant relationship between students’ satisfaction with e-learning and the prevalence of depression and anxiety symptoms [67]. Shockingly, during the COVID-19 pandemic, more than half of students met the diagnostic criteria of a generalized anxiety disorder (52%) and depression (63%) [74]. Moreover, although some mild anxiety was related to an increase in motivation [75], the states of severe anxiety and depression were related to dramatically diminished e-learning motivation, or even its absence [76].
To summarize, associations between learning motivating factors and depression, anxiety, and fatigue are under-researched, but there is some evidence that these states may relate to constrained learning motivation. From the perspective of cognitive processes, one of the significant factors contributing to the inhibition of learning motivation is subjective fatigue [77,78], which refers to a decline in mental efficiency and the accompanying feelings of weariness [79,80], and more generally represents a crucial element in the effort-regulation system as a whole [81]. By comparison, extrinsic motivation may lead to emotional exhaustion, and mental and general fatigue, but the paths and contributing factors are under-researched.
Therefore, it is important to analyze the associations between the learning motivating factors and depression, anxiety, and fatigue in e-learning-based education. Furthermore, to identify the specific factors relating to computer programming e-learning, it is essential to analyze the differences between those who participate in e-learning-based computer learning courses and those who study in other university programs. Consequently, although this study targeted students enrolled in e-learning-based computer programming education, to reveal the specifics of programming e-learners, the comparative group consisted of university students who studied social sciences. Due to the COVID-19 pandemic, these students were studying remotely.
Thus, this study aimed to identify associations between depression, anxiety, fatigue, and learning motivating factors in e-learning-based education. Furthermore, this study aimed to compare the patterns in participants and non-participants of e-learning-based computer programming courses, and to identify the specific factors relating to computer programming e-learners.
Based on the previous research, we hypothesized that:
Hypotheses 1 (H1).
Lower scores of depression relate to higher scores of learning motivating factors;
Hypotheses 2 (H2).
Lower anxiety scores relate to higher scores of intrinsic, but not extrinsic, learning motivating factors;
Hypotheses 3 (H3).
Lower scores of general fatigue relate to higher scores of learning motivating factors;
Hypotheses 4 (H4).
Extrinsic learning motivating factors predict increased anxiety, and intrinsic learning motivating factors predict decreased anxiety;
Hypotheses 5 (H5).
Extrinsic learning motivating factors predict increased depression, and intrinsic learning motivating factors predict decreased depression;
Hypotheses 6 (H6).
Extrinsic learning motivating factors, anxiety, and depression predict increased general and mental fatigue, and intrinsic learning motivating factors predict decreased general and mental fatigue;
Hypotheses 7 (H7).
Associations exist between learning motivating factors, anxiety, depression, and fatigue, but they differ between participants and non-participants of e-learning-based computer programming courses.

2. Materials and Methods

2.1. Sample

In the full sample of 465 participants, a total of 444 participants had no missing data. Because the number of cases with missing values was small, we used listwise deletion of cases with missing values. Therefore, all analyses were conducted using a sample of 444 individuals. The sample’s breakdown by gender was 32.7 percent male (n = 145) and 67.3 percent female (n = 299). The respondents’ mean age was 25.19 years (standard deviation (SD) = 8.268, 95% confidence interval (CI) = 24.42, 25.97, age range = 18–57 years). A total of 189 (42.6%) of participants studied in e-learning-based computer programming courses organized by Turing College. Based on Ding, Velicer, and Harlow [82], a sample size within the range of 100 to 200 is sufficient for structural equation modeling [82]. Thus, the sample size of the computer programming e-learners in this study was satisfactory to obtain meaningful results in the applied statistical models.
The comparative group consisted of 255 (57.4%) respondents who studied social sciences at various Lithuanian Universities; however, these students were studying remotely due to the COVID-19 pandemic.
At the time of the research, both groups of e-learners (computer programming and social sciences) were undertaking their studies. E-learners were informed about the study by e-mail and provided their consent to participate in the research. Participation in the study was voluntary, and the participants did not receive any compensation. The procedure was administered online at https://www.psytest.online (accessed on 7 July 2021) and followed the General Data Protection Regulation (GDPR) guidelines. The study was approved by the Institutional Review Board of the Institute of Management and Psychology, based on the approval of the Biomedical Research Scientific-Ethics Committee at Klaipėda University (No. STIMC—BMTEK-P03, 12 April 2021).

2.2. Instruments

This study applied four instruments: the translated Lithuanian version of the Learning Motivating Factors Questionnaire [6,83], the translated Lithuanian version of the Patient Health Questionnaire-9 (PHQ-9) [84], the translated Lithuanian version of the Generalized Anxiety Disorder Scale (GAD-7) [85], and the translated Lithuanian version of the Multidimensional Fatigue Inventory (MFI-20) [86]. To ensure that the Lithuanian items corresponded as closely as possible to the English items, the original items of both instruments were translated into Lithuanian and back-translated.

2.2.1. The PHQ-9

To assess depression, we applied the Patient Health Questionnaire-9 (PHQ-9) [84], which is a 9 item self-reported measure used to assess depression severity and criteria for a major depressive episode (MDE). Items are assessed for symptoms of depression (e.g., “little interest or pleasure in doing things”), and response anchors range temporally from 0 (not at all) to 3 (nearly every day). Items are summed to create a severity score ranging from 0 to 27, with higher scores reflecting greater depression severity. Scores above 10 are considered to be in the depressive area [84]. The scores of the PHQ-9 are usually used as categorical variables due to their clinical relevance. In this study, we present only frequencies and ANOVA results based on the PHQ-9 categories. Due to the relatively small sample size, we used the PHQ-9 as a continuous variable to apply the SEM, because research has suggested that the PHQ-9 can also be examined as a continuous variable [84]. To apply the SEM with categorical variables, a considerably larger sample in each category is needed. Unfortunately, the number of participants in each category was insufficient for the chosen statistical models.
Several validation studies confirmed the one-dimensional structure of the PHQ-9, evidencing the instrument’s internal consistency, with α = 0.87 [84,87].

2.2.2. The GAD-7

To assess anxiety, we applied the Generalized Anxiety Disorder Scale (GAD-7) [85], which is a 7 item self-reported questionnaire that assesses symptoms of general anxiety according to a 4 point Likert-type scale, ranging from 0 (not at all) to 3 (nearly every day). These seven items assess (1) feeling nervous, anxious, or on edge; (2) being unable to stop or control worrying; (3) worrying too much about different things; (4) having trouble relaxing; (5) being restless; (6) becoming easily annoyed or irritable; and (7) feeling afraid as if something awful might happen. Items are summed to create a severity score ranging from 0 to 21. Scores above 10 are considered to be in the clinical range [85]. The scores of the GAD-7 are usually used as categorical variables due to their clinical relevance. In this study, we present only frequencies and ANOVA results based on the GAD-7 categories. Due to the relatively small sample size, we used the GAD-7 as a continuous variable to apply the SEM, because research has suggested that the GAD-7 can also be examined as a continuous variable [85]. To apply the SEM with categorical variables, a considerably larger sample in each category is needed. Unfortunately, the number of participants in each category was insufficient for the chosen statistical models.
Based on a validation study in the general population, the CFA results substantiated the one-dimensional structure of the GAD-7 and its factorial invariance for gender and age [88]. Research reported that the internal consistency α of the GAD-7 was 0.89, and intercorrelations with the PHQ-2 and the Rosenberg Self-Esteem Scale were r = 0.64 (p < 0.001) and r = −0.43 (p < 0.001) [88].

2.2.3. The MFI-20

To assess fatigue, we applied the Multidimensional Fatigue Inventory (MFI-20) [86]. The MFI-20 consists of 20 items categorized to five dimensions: general fatigue, physical fatigue, reduced activity, reduced motivation, and mental fatigue. For each scale, two items are oriented in the direction of fatigue, whereas the other two items are oriented in the opposite direction. Example items for the scale “general fatigue” are “I feel tired” and “I feel fit.” The responses to each item are captured with a five-point Likert scale, ranging from 1 (yes, this is true) to 5 (no, this is not true). MFI-20 convergent validity was verified by correlating the hospital anxiety and depression scale (HADS) and the global quality of life scale of the EORTC QLQ-C30. Research has reported that the internal consistency α of the MFI-20 instrument was 0.72–0.87 [89].

2.2.4. The Learning Motivating Factors Questionnaire

To assess learning motivation, we applied the Learning Motivating Factors Questionnaire, developed by Law et al. [6,83]. This 19 item questionnaire measures factors that have a positive motivating effect on learning and covers several motivational variables listed below. The individual attitude and expectation subscale measures the student’s attitude and expectation towards learning. The challenging goals subscale measures perceived challenging goals in learning. The clear direction subscale measures perceived specified direction in learning. The reward and recognition subscale measures perceived positive reinforcements, such as reward, appreciation, and encouragement. The punishment subscale measures the perceived negative reinforcement due to punishment. The social pressure and competition subscale measures perceived forces of pressure and competition from peers. The e-effect subscale measures the perceived effect of the e-learning setting. The response pattern followed a 6-point Likert scale, ranging from 1 (disagree very much) to 6 (agree very much). The validity of the construct was verified through oblique rotation exploratory factorial analysis. Research reported that the internal consistency α of the instrument was 0.95. The discriminant validity of each construct was checked using a multi-trait matrix [6].
In this study, for reliability analysis, Cronbach’s alpha indexes were calculated. Cronbach alphas for the used instruments (the PHQ-9, the GAD-7, the MFI-20, the Learning Motivating Factors Questionnaire) in this research sample are presented in Table 1.

2.3. Statistical Analysis

For data analysis, we used SPSS v.26.0 (IBM Corp., Armonk, NY, USA). The structural equation modeling (SEM), confirmatory factor analysis (CFA) models were conducted using AMOS v.26.0 (IBM Corp., Armonk, NY, USA) and JASP v. 0.14.1.0 (University of Amsterdam, Amsterdam, The Netherlands). Model fit was evaluated based on the CFI (Comparative Fit Index), the Normed Fit Index (NFI), the Tucker–Lewis coefficient (TLI), RMSEA (Root Mean Square Error of Approximation), and SRMR (Standardized Root Mean Square Residual), whereas the χ2 was used for descriptive purposes only because it is highly sensitive to sample size [90]. The values higher than 0.90 for CFI, NFI, and TLI, and values lower than 0.08 for RMSEA and SRMR, were considered as indicative of a good fit [91]. In this research, we considered p-values less than 0.05 to be statistically significant [92].
The Shapiro–Wilk test showed the departure from normality for the variables of individual attitude and expectation W (406) = 0.960, p < 0.001; challenging goals W (406) = 0.965, p < 0.001; clear direction W (406) = 0.936, p < 0.001; reward and recognition W (406) = 0.934, p < 0.001; punishment W (406) = 0.967, p < 0.001; social pressure and competition W (406) = 0.984, p < 0.001; anxiety W (393) = 0.932, p < 0.001; depression W (393) = 0.948, p < 0.001; physical fatigue W (444) = 0.972, p < 0.001; reduced activity W (444) = 0.982, p < 0.001; reduced motivation W (444) = 0.980, p < 0.001; mental fatigue W (444) = 0.979, p < 0.001; general fatigue W (444) = 0.983, p < 0.001.
Similarly, the Kolmogorov–Smirnov test showed that data were non-normally distributed for the variables of individual attitude and expectation D (406) = 0.113, p < 0.001; challenging goals D (406) = 0.094, p < 0.001; clear direction D (406) = 0.139, p <0.001; reward and recognition D (406) = 0.142, p < 0.001; punishment D (406) = 0.086, p < 0.001; social pressure and competition D (406) = 0.067, p < 0.001; anxiety D (393) = 0.135, p < 0.001; depression D (393) = 0.112, p < 0.001; physical fatigue D (444) = 0.088, p < 0.001; reduced activity D (444) = 0.073, p < 0.001; reduced motivation D (444) = 0.080, p < 0.001; mental fatigue D (444) = 0.098, p < 0.001; general fatigue D (444) = 0.076, p < 0.001.
The distribution was moderately skewed: individual attitude and expectation skewness = −0.494 (Standard Error (SE) 0.121), kurtosis = −0.028 (SE = 0.242); challenging goals skewness = −0.435 (SE = 0.121), kurtosis = −0.190 (SE = 0.242); clear direction skewness = −0.435 (SE = 0.121), kurtosis = −0.176 (SE = 0.242); reward and recognition skewness = −0.661 (SE = 0.121), kurtosis = −0.045 (SE = 0.242); punishment skewness = −0.038 (SE = 0.121), kurtosis = −0.642 (SE = 0.242); social pressure and competition skewness = −0.030 (SE = 0.121), kurtosis = −0.500 (SE = 0.242); anxiety skewness = 0.805 (SE = 0.117), kurtosis = −0.120 (SE = 0.233); depression skewness = 0.655 (SE = 0.117), kurtosis = −0.327 (SE = 0.245); physical fatigue skewness = 0.137 (SE = 0.116), kurtosis = −0.864 (SE = 0.231); reduced activity skewness = 0.021 (SE = 0.116), kurtosis = −0.712 (SE = 0.231); reduced motivation skewness = 0.324 (SE = 0.116), kurtosis = −0.135 (SE = 0.231); mental fatigue skewness = 0.292 (SE = 0.116), kurtosis = −0.387 (SE = 0.231); general fatigue skewness = −0.100 (SE = 0.116), kurtosis = −0.557 (SE = 0.231).
Therefore, we conducted a square root transformation (SQRT) of significantly negatively skewed variables to create normally distributed variables and conduct the CFA analyses.

3. Results

The frequencies of the self-reported depression categories in this sample are presented in Table 2.
The frequencies of the self-reported anxiety categories in this sample are presented in Table 3.
The frequencies of the self-reported general fatigue categories in this sample are presented in Table 4.
The means, standard deviations, and correlations between the MFI-20 subscales in this study are reported in Table 5.
The means, standard deviations, and correlations between the Learning Motivating Factors Questionnaire subscales in this study are reported in Table 6.
The means, standard deviations, and correlations between the PHQ-9 and the GAD-7 scales in this study are reported in Table 7.
To test hypothesis 1 (H1), assuming that lower scores of depression relate to higher scores of learning motivating factors, we compared the scores of learning motivating factors based on the PHQ-9 categories (Table 8).
A one-way ANOVA was conducted to compare the effect of depression (PHQ-9) on learning motivating factors. We analyzed learning motivating factors in five groups: minimal depression, mild depression, moderate depression, moderately severe depression, and severe depression. An analysis of variance revealed that the effect of depression on individual attitude and expectation was significant, F (4, 387) = 3.324, p = 0.011. A Tukey post hoc test revealed that the scores of individual attitude and expectation were significantly higher in the minimal depression group (4.859, ±0.783) in comparison to the moderately severe depression group (4.403, ±0.904) (p = 0.018).
An analysis of variance revealed that the effect of depression on challenging goals was significant, F (4, 387) = 14.261, p < 0.001. A Tukey post hoc test revealed that the scores of challenging goals were significantly higher in the minimal depression group (4.833, ±0.808) in comparison to all groups: mild depression (4.354, ±1.091) (p = 0.003), moderate depression (4.703, ±1.026) (p < 0.001), moderately severe depression (3.708, ±1.079) (p < 0.001), and severe depression (3.844, ±1.173) (p < 0.001). Additionally, the scores of challenging goals were significantly higher in the mild depression group (4.354, ±1.091) in comparison to the moderately severe depression group (3.708, ±1.079) (p = 0.002).
An analysis of variance revealed that the effect of depression on clear direction was also significant, F (4, 387) = 6.884, p < 0.001. A Tukey post hoc test revealed that the scores of clear direction were significantly higher in the minimal depression group (5.172, ±0.737) in comparison to the moderately severe depression (4.612, ±0.681) (p < 0.001) or severe depression (4.583, ±1.057) (p = 0.001) groups. Additionally, the scores of clear direction were significantly higher in the mild depression group (5.015, ±0.719) in comparison to the moderately severe depression group (4.612, ±0.681) (p = 0.014) and the severe depression group (4.583, ±1.057) (p = 0.033).
An analysis of variance revealed that the effect of depression on social pressure and competition was significant, F (4, 387) = 2.657, p = 0.033. A Tukey post hoc test revealed that the scores of social pressure and competition were significantly higher in the mild depression group (3.604, ±1.176) in comparison to the moderately severe depression group (2.975, ±1.198) (p = 0.016).
However, there were no significant differences between the scores of reward and recognition in the depression groups F (4, 387) = 0.972, p = 0.423. In addition, there were no significant differences between the scores of punishment in the depression groups, F (4, 387) = 1.901, p = 0.110.
Furthermore, to test hypothesis 2 (H2), which presumed that lower anxiety scores relate to higher scores of intrinsic, but not extrinsic, learning motivating factors, we compared the scores of learning motivating factors based on the GAD-7 categories (Table 9).
A one-way ANOVA was conducted to compare the effect of anxiety (GAD-7) on learning motivating factors. We analyzed learning motivating factors in four groups: minimal anxiety, mild anxiety, moderate anxiety, and severe anxiety. An analysis of variance revealed that the effect of severe anxiety on challenging goals was significant, F (3, 401) = 8.345, p < 0.001. A Tukey post hoc test revealed that the scores of challenging goals were significantly higher in the minimal anxiety group (4.604, ±1.020) in comparison to the moderate anxiety group (4.155, ±0.946) (p = 0.018) and the severe anxiety group (3.782, ±1.154) (p < 0.001). Additionally, challenging goals were significantly higher in the mild anxiety group (4.329, ±1.112) in comparison to the severe anxiety group (3.782, ±1.154) (p = 0.011).
An analysis of variance revealed that the effect of severe anxiety on clear direction was significant, F (3, 401) = 3.449, p = 0.017. Similarly, the effect of severe anxiety on social pressure and competition was significant, F (3, 401) = 2.784, p = 0.041. A Tukey post hoc test revealed that the scores of social pressure and competition were significantly higher in the minimal anxiety group (3.525, ±1.127) in comparison to the severe anxiety group (3.010, ±1.187) (p = 0.047). Additionally, scores of social pressure and competition were significantly higher in the mild anxiety group (3.564 ± 1.327) in comparison to the severe anxiety group (3.010, ±1.187) (p = 0.030).
However, there were no significant differences between the scores of individual attitude and expectation F (3, 401) = 1.234, p = 0.297, reward and recognition F (3, 401) = 1.466, p = 0.223, or punishment, F (3, 401) = 0.744, p = 0.526, in different anxiety groups.
Next, to test hypothesis 3 (H3), assuming that lower scores of general fatigue relate to higher scores of learning motivating factors, we compared the scores of learning motivating factors based on the general fatigue (MFI-20) categories (Table 10).
A one-way ANOVA was conducted to compare the effect of fatigue on learning motivating factors. We analyzed learning motivating factors in four groups: minimal fatigue, mild fatigue, moderate fatigue, and severe fatigue. An analysis of variance revealed that the effect of general fatigue on individual attitude and expectation was significant, F (3, 402) = 2.628, p = 0.050. A Tukey post hoc test revealed that the scores of individual attitude and expectation were significantly higher in the moderate fatigue group (4.801, ±0.831) in comparison to the severe fatigue group (4.481, ±1.023) (p = 0.034).
An analysis of variance revealed that the effect of general fatigue on challenging goals was significant, F (3, 402) = 7.476, p < 0.001. A Tukey post hoc test revealed that the scores of challenging goals were significantly higher in the minimal fatigue group (4.778, ±1.112) in comparison to the moderate fatigue group (4.306, ±0.918) (p = 0.036) and the severe fatigue group (3.921, ±1.096) (p < 0.001). Additionally, the scores of challenging goals were significantly higher in the mild fatigue group (4.459, ±1.058) in comparison to the severe fatigue group (3.921, ±1.096) (p = 0.003).
An analysis of variance also revealed that the effect of general fatigue on social pressure and competition was significant, F (3, 402) = 6.162, p < 0.001. A Tukey post hoc test revealed that the scores of social pressure and competition were significantly higher in the mild fatigue group (3.687, ±1.255) in comparison to the severe fatigue group (3.053, ±1.270) (p = 0.001). Additionally, the scores of social pressure and competition were significantly higher in the moderate fatigue group (3.585, ±1.057) in comparison to the severe fatigue group (3.053, ±1.270) (p = 0.006).
However, there were no significant differences between the scores of clear direction F (3, 402) = 1.597, p = 0.189, reward and recognition F (3, 402) = 2.519, p = 0.058, or punishment, F (3, 402) = 1.363, p = 0.254, in different self-reported fatigue groups.
Next, to test hypothesis 4 (H4), presuming that extrinsic learning motivating factors predict increased anxiety, and intrinsic learning motivating factors predict decreased anxiety, we conducted a multiple linear regression using anxiety (GAD-7) as the criterion and learning motivating factors as predictors (Table 11) in groups of respondents, participating and not participating in e-learning-based computer programming courses.
A multiple linear regression model was calculated to predict anxiety based on learning motivating factors in groups of respondents participating and not participating in e-learning-based computer programming courses. A significant regression equation was found only in group of respondents participating in computer programming courses, F (6, 179) = 5.508, p < 0.001), with an R2 = 0.156. Respondents’ predicted anxiety was equal to 15.287 − 1.692 (challenging goals) points. Anxiety decreased −1.692 points for each challenging goals motivation point. Challenging goals (B = −1.692, p < 0.000) contributed significantly to the model and were significant predictors of diminished anxiety.
Furthermore, to test hypothesis 5 (H5), which assumed that extrinsic learning motivating factors predict increased depression, and intrinsic learning motivating factors predict decreased depression, we conducted a multiple linear regression using depression (PHQ-9) as the criterion and learning motivating factors as predictors (Table 12).
A multiple linear regression was also undertaken to predict depression based on learning motivating factors in groups of respondents participating and not participating in e-learning-based computer programming courses. A significant regression equation was found in group of respondents not participating in computer programming courses, F (6, 199) = 2.656, p = 0.017), with an R2 = 0.074. Respondents’ predicted depression was equal to 18.068 − 1.133 (challenging goals) points. Depression decreased −1.133 points for each challenging goals motivation point. Challenging goals (B = −1.133, p = 0.014) contributed significantly to the model and were significant predictors of diminished depression of respondents not participating in computer programming courses. Additionally, a significant regression equation was found in group of respondents participating in computer programming courses, F (6, 179) = 9.584, p < 0.001), with an R2 = 0.243. Computer programming learners’ predicted depression was equal to 24.130 − 2.233 (challenging goals) − 2.197 (clear direction) points. Depression decreased −2.233 points for each challenging goals motivation point and −2.197 points for each clear direction motivation point. Challenging goals (B = −2.233, p < 0.001) and clear direction (B = −2.197, p = 0.006) contributed significantly to the model and were significant predictors of diminished depression of participants of e-learning-based computer programming courses.
Additionally, to test hypothesis (H6), assuming that extrinsic learning motivating factors, anxiety, and depression predict increased general and mental fatigue, and intrinsic learning motivating factors predict decreased general and mental fatigue, we primarily conducted a multiple linear regression using general fatigue (MFI-20) as the criterion and learning motivating factors, anxiety, and depression as predictors (Table 13).
A multiple linear regression was also undertaken to predict general fatigue based on learning motivating factors, anxiety, and depression in groups of respondents participating and not participating in e-learning-based computer programming courses. A significant regression equation was found in the group of respondents not participating in computer programming courses, F (8, 197) = 7.058, p < 0.001), with an R2 = 0.223. Respondents’ predicted general fatigue was equal to 2.072 + 0.203 (individual attitudes and expectations) points + 0.061 (anxiety) + 0.033 (depression) points. Individual attitudes and expectations (B = 0.203, p = 0.049), anxiety (B = 0.061, p < 0.001), and depression (B = 0.033, p = 0.001) contributed significantly to the model and were significant predictors of general fatigue of respondents not participating in computer programming courses. Furthermore, a significant regression equation was found in the group of respondents participating in computer programming courses, F (8, 176) = 31.554, p < 0.001), with an R2 = 0.589. Computer programming learners’ predicted general fatigue was equal to 1.712 − 0.262 (individual attitudes and expectations) + 0.209 (clear direction) + 0.121 (reward and recognition) + 0.039 (anxiety) + 0.082 (depression) points. Individual attitudes and expectations (B = −0.262, p = 0.001), clear direction (B = 0.209, p = 0.019), reward and recognition (B = 0.121, p = 0.052), anxiety (B = 0.039, p = 0.004), and depression) (B = 0.082, p < 0.001) contributed significantly to the model and were significant predictors of general fatigue of participants of e-learning-based computer programming courses.
Then, we conducted a multiple linear regression using mental fatigue as the criterion and learning motivating factors, anxiety, and depression as predictors (Table 14).
A multiple linear regression was also undertaken to predict mental fatigue based on learning motivating factors, anxiety, and depression in groups of respondents participating and not participating in e-learning-based computer programming courses. A significant regression equation was found in the group of respondents not participating in computer programming courses, F (8, 197) = 5.229, p < 0.001), with an R2 = 0.175. Respondents’ predicted mental fatigue was equal to 3.247 + 0.041 (anxiety) + 0.026 (depression) points. Anxiety (B = 0.041, p < 0.001) and depression (B = 0.026, p = 0.011) contributed significantly to the model and were significant predictors of mental fatigue of respondents not participating in computer programming courses. Furthermore, a significant regression equation was found in the group of respondents participating in computer programming courses, F (8, 176) = 25.338, p < 0.001), with an R2 = 0.535. Computer programming learners’ predicted mental fatigue was equal to 2.451 − 0.252 (challenging goals) − 0.095 (punishment) + 0.092 (social pressure and competition) + 0.073 (depression) points. Challenging goals (B = −0.252, p < 0.001), punishment (B = −0.095, p = 0.028), social pressure and competition (B = 0.092, p = 0.055), and depression (B = 0.073, p < 0.001) contributed significantly to the model and were significant predictors of mental fatigue of participants of e-learning-based computer programming courses.
Based on the literature review and previous analyses that indicate the differences and impact of several learning motivation factors, to test hypothesis 7 (H7), assuming that associations exist between learning motivating factors, anxiety, depression, and fatigue, but they differ between participants and non-participants of e-learning-based computer programming courses, we first created a model of associations between the learning motivating factors (challenging goals, punishment, social pressure, and competition), anxiety, depression, and fatigue in the group of participants of e-learning-based computer programming courses. Standardized results of the model are presented in Figure 1. To assess the model fit, the Comparative Fit Index (CFI), the Tucker–Lewis coefficient (TLI), and Root Mean Square Error of Approximation (RMSEA) were used. Findings revealed that the fit of the model was acceptable, χ2 = 558.241; df = 288; p < 0.001; CFI = 0.904; TLI = 0.906; RMSEA = 0.071 [0.062–0.079].
Scalar estimates of the model of associations between learning motivating factors, anxiety, depression, and fatigue in the sample of participants of e-learning-based computer programming courses are displayed in Table 15.
Furthermore, we created a model of associations between some learning motivating factors (challenging goals, punishment, social pressure, and competition), anxiety, depression, and fatigue in the group of those who did not participate in e-learning-based computer programming courses. Standardized results of the model are presented in Figure 2. To assess the model fit, the Comparative Fit Index (CFI), the Tucker–Lewis coefficient (TLI), and Root Mean Square Error of Approximation (RMSEA) were used. Findings revealed that the fit of the model was acceptable, χ2 = 563.004; df = 288; p < 0.001; CFI = 0.908; TLI = 0.910; RMSEA = 0.061 [0.054–0.069].
Scalar estimates of the model of associations between learning motivating factors, anxiety, depression, and fatigue in the sample of non-participants of e-learning-based computer programming courses are displayed in Table 16.
Furthermore, based on the results of multiple regression analysis, structural equation modeling (SEM) was conducted to analyze the associations between challenging goals, mental fatigue, depression, and anxiety in the group of participants of e-learning-based computer programming courses. The path diagram is displayed in Figure 3.
Scalar estimates of the model are presented in Table 17. Findings revealed that the fit of the model was acceptable, χ2 (3) = 8.147; p = 0.043; CFI = 0.984; TLI = 0.969; NFI = 0.976; RMSEA = 0.096 [0.015–0.179]; SRMR = 0.052.
To examine alternative models of associations between challenging goals, mental fatigue, depression, anxiety, and assess differences between participants and non-participants of e-learning-based computer programming courses, we conducted structural equation modelling with two sample groups. Respondents of group 1 were not participating in e-learning-based program, and respondents of group 2 were participating in computer programming courses. The diagram of the path is displayed in Figure 4.
The results of SEM analysis are presented in Table 18. SEM analysis showed that the motivational factor challenging goals statistically significantly predicts mental fatigue, and mental fatigue statistically significantly predicts depression and anxiety in both sample groups. In Group 2, challenging goals explains 25.7% of the variance of mental fatigue, and mental fatigue explains 44.1% of the variance of depression and 31.1% of the variance of anxiety. In group 1, challenging goals explains 5.5% of the variance of mental fatigue, and mental fatigue explains 7.7% of the variance of depression and 9.6% of the variance of anxiety. Findings revealed that the fit of the model was acceptable, χ2 (4) = 14.858; p = 0.005; CFI = 0.972; TLI = 0.916; NFI = 0.963; RMSEA = 0.118 [0.058–0.185]; SRMR = 0.054.

4. Discussion

This study was the first to explore associations between depression, anxiety, fatigue, and learning motivating factors in e-learning-based education, including computer programming learning, during the COVID-19 pandemic. The examination of learning motivation was based on a model of extrinsic and intrinsic learning motivating factors, developed by Law et al. [6]. This research was conducted during the COVID-19 pandemic. The context of the COVID-19 quarantine can be characterized by the rapid implementation of e-learning [93], which helped us compare the motivating factors in e-learning-based computer programming education and e-learning in education other than computer programming. The pandemic context can also be characterized by the statistically significant increase in the rates of anxiety and depression [65,70,72,73,74], chronic fatigue [66], and psychological distress [67]. Due to these conditions, the research questions were extremely important, because previous studies indicated that the states of severe anxiety and depression relate to dramatically diminished e-learning motivation, or even its absence [76].

4.1. Lower Scores of Depression Partially Relate to Higher Scores of Learning Motivating Factors

In this study, we assumed that lower scores of depression relate to higher scores of learning motivating factors. Thus, we compared the scores of learning motivating factors based on the PHQ-9 categories. The results partially confirmed this hypothesis and showed that the scores of the motivating factor individual attitude and expectation were significantly higher in the minimal depression group in comparison to the moderately severe depression group. The scores of challenging goals were significantly higher in the minimal depression group in comparison to the mild depression, moderate depression, moderately severe depression, and severe depression groups, and the scores of challenging goals were significantly higher in the mild depression group in comparison to the moderately severe depression group. The scores of clear direction were significantly higher in the minimal depression group in comparison to the moderately severe depression or severe depression groups, and the scores of clear direction were significantly higher in the mild depression group in comparison to the moderately severe depression group and the severe depression group. The scores of social pressure and competition were significantly higher in the mild depression group in comparison to the moderately severe depression group. However, there were no significant differences in the scores of reward and recognition and the scores of punishment in the depression groups. To summarize, the scores of individual attitude and expectation, challenging goals, clear direction, social pressure, and competition varied between the depression categories. However, no significant differences were identified in the scores of reward and recognition and punishment in the different depression-level groups. These results align with previous research suggesting that depression is associated with learning difficulties, both behavioral and neural, partly due to impaired generation and updating of outcome predictions [94]. Moreover, these findings support studies implying that learning motivation can be impacted by depression [95,96,97,98].

4.2. Lower Anxiety Scores Partially Relate to Higher Scores of Intrinsic Learning Motivating Factors

Furthermore, we presumed that lower anxiety scores relate to higher intrinsic, but not extrinsic, motivating factors. Hence, we compared the scores of learning motivating factors based on the GAD-7 categories. The results partially confirmed this hypothesis and showed that the scores of challenging goals were significantly higher in the minimal anxiety group than the moderate anxiety and severe anxiety groups. Challenging goals were significantly higher in the mild anxiety group in comparison to the severe anxiety group; the scores of social pressure and competition were significantly higher in the minimal anxiety group in comparison to the severe anxiety group, and the scores of social pressure and competition were significantly higher in the mild anxiety group in comparison to the severe anxiety group. However, there were no significant differences in individual attitude and expectation, reward and recognition, and punishment scores between different anxiety groups. To summarize, in this study, the scores of challenging goals, and social pressure and competition, significantly varied between different anxiety categories. However, no significant differences were identified in the scores of individual attitude and expectation, reward and recognition, and punishment between different anxiety-level groups. These findings partially contradict some previous results evidencing that anxiety is unrelated to learning outcomes and motivation in computer programming learning [37,38,39]. However, the findings support those of other studies, which demonstrated the impact of anxiety on learning motivation [76,99,100], and the impact of learning motivation on emotions [25,26,27].

4.3. Lower Scores of General Fatigue Partially Relate to Higher Scores of Learning Motivating Factors

Next, we assumed that lower scores of general fatigue relate to higher scores of learning motivating factors. Therefore, we compared the scores of learning motivating factors based on the general fatigue (MFI-20) categories. The results partially confirmed this hypothesis and showed that the scores of individual attitude and expectation were significantly higher in the moderate fatigue group in comparison to the severe fatigue group. The scores of challenging goals were significantly higher in the minimal fatigue group in comparison to the moderate fatigue group and the severe fatigue group, and the scores of challenging goals were significantly higher in the mild fatigue group in comparison to the severe fatigue group. The scores of social pressure and competition were significantly higher in the mild fatigue group in comparison to the severe fatigue group, and the scores of social pressure and competition were significantly higher in the moderate fatigue group in comparison to the severe fatigue group. However, there were no significant differences in the scores of clear direction, reward and recognition, and punishment between different self-reported fatigue-level groups. To summarize, this study demonstrated that the scores of individual attitude and expectation, challenging goals, social pressure, and competition varied across different fatigue categories, but no significant differences were identified in the scores of clear direction, reward and recognition, and punishment between different fatigue level-groups. These results partially confirm the findings of other authors, evidencing associations between fatigue and learning motivation [101,102,103,104,105,106]. However, it is unclear whether learners’ fatigue was related to learning burnout or the psychologically challenging COVID-19 pandemic, and why some motivational factors, for example, striving for reward and recognition or fear of punishment, did not contribute to the increased fatigue.

4.4. Learning Motivating Factors Partially Predict Anxiety Level

Next, we presumed that extrinsic learning motivating factors predict increased anxiety, and intrinsic learning motivating factors predict decreased anxiety. Thus, we conducted a multiple linear regression using anxiety (GAD-7) as the criterion and learning motivating factors as predictors in groups of respondents participating and not participating in e-learning-based computer programming courses. The results partially confirmed this hypothesis and showed that in the group of respondents participating in computer programming courses, challenging goals was a significant predictor of diminished anxiety. To summarize, this study showed that intrinsic the motivating factor challenging goals predicts decreased anxiety in a group of participants of e-learning-based computer programming courses. These findings are, to some extent, in line with those of previous research, suggesting that intrinsic learning motivation is related to better learning outcomes and higher satisfaction with the learning process, whereas extrinsic learning motivation is related to higher stress levels [35,36,67]. However, it is partially clear why only one intrinsic motivational factor (challenging goals) contributed to the decreased anxiety [107], and why this pattern was not apparent in the group of other e-learners, which would be in line with many other studies [33,107,108,109,110,111].

4.5. Learning Motivating Factors Partially Predict Depression Level

Furthermore, we assumed that extrinsic learning motivating factors predict increased depression, and intrinsic learning motivating factors predict decreased depression. Thus, we conducted a multiple linear regression using depression (PHQ-9) as the criterion and learning motivating factors as predictors in groups of respondents participating and not participating in e-learning-based computer programming courses. To a small extent, The results confirmed this hypothesis and showed that, in the group of respondents who did not participate in computer programming courses, the challenging goals factor was a significant predictor of diminished depression. However, the motivating intrinsic factor of challenging goals and the extrinsic factor of clear direction were significant predictors of diminished depression in the group of participants of e-learning-based computer programming courses. To summarize, this research demonstrated that the extrinsic motivating factor of clear direction and the intrinsic motivating factor of challenging goals predict decreased depression in the group of participants of e-learning-based computer programming courses, whereas the intrinsic motivating factor of challenging goals predicts decreased depression in the group of other e-learners. These findings are moderately supported by previous research suggesting the benefits of some intrinsic and extrinsic motivating factors [32,33,107,111,112,113]. However, the added value of clear direction and challenging goals for computer programming learners needs further investigation.

4.6. Learning Motivating Factors, Anxiety, and Depression Partially Predict Fatigue

Additionally, we assumed that extrinsic learning motivating factors, anxiety, and depression predict increased general and mental fatigue, and intrinsic learning motivating factors predict decreased general and mental fatigue. Thus, we conducted a multiple linear regression using general and mental fatigue (MFI-20) as the criteria and learning motivating factors, anxiety, and depression as predictors. The results, to some extent, confirmed this hypothesis and showed that individual attitudes and expectations, anxiety, and depression predicted higher general fatigue of respondents who did not participate in e-learning-based computer programming courses. Interestingly, the computer programming learners’ intrinsic motivating factor of individual attitude and expectation predicted diminished general fatigue; however, clear direction, reward and recognition, anxiety, and depression were significant predictors of increased general fatigue of participants of e-learning-based computer programming courses. Furthermore, anxiety and depression were significant predictors of mental fatigue of respondents not participating in computer programming courses. Remarkably, the computer programming learners’ intrinsic motivating factor of challenging goals and their extrinsic motivating factor of punishment predicted diminished mental fatigue; however, social pressure and competition, and depression, were significant predictors of increased mental fatigue of participants of e-learning-based computer programming courses. To summarize, this study found that the intrinsic motivating factor of individual attitude and expectation predicted diminished general fatigue, and clear direction, reward and recognition, anxiety, and depression predicted increased general fatigue of participants of e-learning-based computer programming courses. Individual attitudes and expectations, anxiety, and depression predicted higher general fatigue of non-participants; the computer programming learners’ intrinsic motivating factor of challenging goals and their extrinsic motivating factor of punishment predicted diminished mental fatigue, whereas the mental fatigue of other e-learners was predicted only by anxiety and depression. Therefore, this research modestly contributed to a better understanding of the complexity of associations between intrinsic and extrinsic learning motivating factors, anxiety, depression, and fatigue, as analyzed by other researchers [114,115,116,117,118,119]. However, it is unclear why computer programming e-learners’ individual attitude and expectation predicted diminished general fatigue, whereas other e-learners’ individual attitude and expectation predicted an increase in general fatigue. This question needs further investigation.

4.7. Associations between the Study Variables Partially Differ in the Compared Groups

Based on a literature review and previous analyses, which suggested the differences and impact of several learning motivation factors, we assumed that associations exist between learning motivating factors, anxiety, depression, and fatigue, and that these associations differ between participants and non-participants of e-learning-based computer programming courses. Thus, we tested several models of associations between the study variables. This study partially confirmed the hypothesis and identified several possible paths and models of associations between learning motivating factors (challenging goals, punishment, social pressure, and competition), anxiety, depression, and fatigue in groups of participants and non-participants of e-learning-based computer programming courses. However, although some differences in associations between the groups were identified, the SEM analyses demonstrated that the intrinsic motivating factor of challenging goals statistically significantly predicts lower mental fatigue, and mental fatigue statistically significantly predicts depression and anxiety in both groups of participants and non-participants of e-learning-based computer programming courses. To summarize, this study demonstrated that associations between learning motivating factors, anxiety, depression, and fatigue differ between participants and non-participants of e-learning-based computer programming courses. However, the intrinsic motivating factor of challenging goals statistically significantly predicts lower mental fatigue, whereas mental fatigue statistically significantly predicts depression and anxiety in both sample groups. These findings are consistent with many previous studies that suggest the added value of intrinsic learning motivation [33,99,107,108,109,110,111]. In the future, it will be essential that the identification of the associations between learning motivating factors and the positive states receives increased attention from researchers [120,121].

4.8. Limitations and Future Directions

Several limitations to this study can be mentioned. First, because the mental health issues in e-learning-based education are under-researched, this study lacks a solid theoretical basis. Second, because the objective health status was not measured, bias may have occurred due to the use of self-reported measures only, and the omission of objective indicators. Third, the findings should be regarded with caution, considering that the data were collected online. Fourth, the research samples were not representative but random, suggesting the necessity to analyze representative samples of e-learners; thus, generalizations should be made with caution. Fifth, although the sample size satisfied the minimal requirements for the applied statistical models, and the data fit was acceptable, the results should be regarded cautiously due to the relatively small sample size. Sixth, some possible theoretical bias may have occurred in the selected model. Furthermore, this study was conducted in Lithuania, and the results may reflect the specifics of this area, suggesting the necessity to analyze the impact of cultural factors, considering the more specific aspects of each culture. Finally, the findings suggest a necessity for longitudinal or experimental research design, because, based on the data obtained, it is possible to only identify the existence of significant relationships among the examined variables. Thus, the conclusions should be regarded with caution, especially regarding causality. Although this study found that higher scores of individual attitude and expectation, challenging goals, clear direction, social pressure, and competition are associated with better mental health, the causality issues need further investigation, because reverse causality is also likely to occur.

4.9. Theoretical Implications

From a theoretical perspective, this study was the first of its kind to explore the associations between depression, anxiety, fatigue, and learning motivating factors in e-learning-based education, including computer programming learning, during the COVID-19 pandemic. Many learning motivation models exist, but this study was based on a theory of extrinsic and intrinsic learning motivating factors, developed by Law et al. [6]. Although the findings revealed the complexity of the relations between learning motivating factors, anxiety, depression, and fatigue, numerous questions remained unanswered. It is unclear whether learners’ fatigue relates to learning burnout, or was a consequence of the psychologically challenging COVID-19 pandemic. In addition, it is unclear why striving for reward and recognition or fear of punishment did not increase fatigue. Furthermore, it is only partially clear why only one intrinsic motivational factor (challenging goals) contributed to the decreased anxiety and why this pattern was not apparent in the group other than computer programming e-learners. The emotional benefits of clear direction and challenging goals for computer programming learners also need further investigation. It is also unclear why computer programming e-learners’ individual attitude and expectation predicted diminished general fatigue, whereas other e-learners’ individual attitude and expectation predicted an increase in general fatigue. In the future, it would be interesting to identify the associations between intrinsic and extrinsic learning motivating factors and the positive states such as flow or zest, which have recently received the increased attention of researchers [120,121].

4.10. Practical Implications

The COVID-19 quarantine forced the rapid implementation of e-learning [93]. The psychologically challenging pandemic also increased the rates of anxiety, depression [65,70,72,73,74], and fatigue [66]. Because severe anxiety and depression states relate to dramatically diminished e-learning motivation, or even its absence [76], it was important to identify e-learning motivating factors related to mental health under the challenging psychological circumstances of the COVID-19 pandemic. Because computer programming skills are a core competency that professionals are expected to possess in the era of rapid technology development [1], it was also essential to identify the specific factors related to computer programming learning. This research revealed that mental health, namely, depression, anxiety, and fatigue, are related to the scores of intrinsic and extrinsic learning motivating factors. In addition, the motivating factor of challenging goals was strongly related to better mental health in groups of participants and non-participants of e-learning-based computer programming courses. This implies that e-learners’ good mental health is a target for both health and education policy makers, health professionals, and educators.

5. Conclusions

This study aimed to identify associations between depression, anxiety, fatigue, and learning motivating factors in participants and non-participants of e-learning-based computer programming courses. It was found that the scores of individual attitude and expectation, challenging goals, clear direction, social pressure, and competition varied between the depression categories. However, no significant differences were identified in the scores of reward and recognition, and punishment, in the different depression-level groups. The scores of challenging goals, and social pressure and competition, significantly varied between the anxiety categories, but no significant differences were identified in the scores of individual attitude and expectation, reward and recognition, and punishment between different anxiety-level groups. The scores of individual attitude and expectation, challenging goals, and social pressure and competition varied across different fatigue categories, but no significant differences were identified in the scores of clear direction, reward and recognition, and punishment between different fatigue-level groups. The intrinsic motivating factor of challenging goals predicted decreased anxiety in a group of participants of e-learning-based computer programming courses. The extrinsic motivating factor of clear direction and the intrinsic motivating factor of challenging goals predicted decreased depression in a group of participants of e-learning-based computer programming courses, and the intrinsic motivating factor of challenging goals predicted decreased depression in a group of other e-learners. This study found that the intrinsic motivating factor of individual attitude and expectation predicted diminished general fatigue, and clear direction, reward and recognition, anxiety, and depression predicted increased general fatigue of participants of e-learning-based computer programming courses. Individual attitude and expectation, anxiety, and depression predicted higher general fatigue of non-participants. The computer programming learners’ intrinsic motivating factor of challenging goals and their extrinsic motivating factor of punishment predicted diminished mental fatigue, whereas the mental fatigue of other e-learners was predicted only by anxiety and depression. Associations between learning motivating factors, anxiety, depression, and fatigue differed between participants and non-participants of e-learning-based computer programming courses. However, the intrinsic motivating factor of challenging goals statistically significantly predicted lower mental fatigue, whereas mental fatigue statistically significantly predicted depression and anxiety in both sample groups. Nevertheless, the results of this particular study should be regarded with caution due to the relatively small sample size, the possible biases in the selected theoretical and statistical models, the research design, and other limitations.

Author Contributions

Conceptualization, A.D., A.V., A.P. and R.R.-K.; methodology, A.D., A.V., A.P. and R.R.-K.; software, A.D. and A.V.; validation, A.D. and A.V.; formal analysis, A.D. and A.V.; investigation, A.D., A.V., A.P. and R.R.-K.; resources, A.D.; data curation, A.V.; writing—original draft preparation, A.D. and A.V.; writing—review and editing, A.P.; visualization, A.D. and A.V.; supervision, A.D. and A.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by LVPA, project number S-01.2.1-LVPA-K-856-01-0238.

Institutional Review Board Statement

The study was conducted according to the guidelines of the Declaration of Helsinki and approved by the Biomedical Research Scientific-Ethics Committee at Klaipėda University (No. STIMC-BMTEK-P03, 12 April 2021).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author, upon reasonable request.

Acknowledgments

The authors acknowledge technical support of Turing College professionals Lukas Kaminskis, Giedrius Zebrauskas, Vakare Lazickaite and Kestutis Maciulaitis, https://www.turingcollege.com (accessed on 7 July 2021).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Blut, M.; Wang, C. Technology readiness: A meta-analysis of conceptualizations of the construct and its impact on technology usage. J. Acad. Mark. Sci. 2020, 48, 649–669. [Google Scholar] [CrossRef] [Green Version]
  2. Scherer, R.; Siddiq, F.; Sánchez Viveros, B. The cognitive benefits of learning computer programming: A meta-analysis of transfer effects. J. Educ. Psychol. 2019, 111, 764–792. [Google Scholar] [CrossRef] [Green Version]
  3. Brehm, L.; Günzel, H. Learning Lab “Digital Technologies”—Concept, Streams and Experiences. In Proceedings of the 4th International Conference on Higher Education Advances, Valencia, Spain, 20–22 June 2018. [Google Scholar]
  4. HackerRank Developer Skills Report. Insights Based on 116,648 Developers. 2021. Available online: www.hackerrank.com (accessed on 7 July 2021).
  5. 11 Most In-Demand Programming Languages in 2021. Available online: https://bootcamp.berkeley.edu/blog/most-in-demand-programming-languages/ (accessed on 7 July 2021).
  6. Law, K.M.Y.; Lee, V.C.S.; Yu, Y.T. Learning motivation in e-learning facilitated computer programming courses. Comput. Educ. 2010, 55, 218–228. [Google Scholar] [CrossRef]
  7. Hawi, N. Causal attributions of success and failure made by undergraduate students in an introductory-level computer programming course. Comput. Educ. 2010, 54, 1127–1136. [Google Scholar] [CrossRef]
  8. Govender, I. The learning context: Influence on learning to program. Comput. Educ. 2009, 53, 1218–1230. [Google Scholar] [CrossRef]
  9. Serrano-Cámara, L.M.; Paredes-Velasco, M.; Alcover, C.-M.; Velazquez-Iturbide, J.Á. An evaluation of students’ motivation in computer-supported collaborative learning of programming concepts. Comput. Hum. Behav. 2014, 31, 499–508. [Google Scholar] [CrossRef]
  10. Kintu, M.J.; Zhu, C.; Kagambe, E. Blended learning effectiveness: The relationship between student characteristics, design features and outcomes. Int. J. Educ. Technol. High. Educ. 2017, 14, 7. [Google Scholar] [CrossRef] [Green Version]
  11. Law, K.M.Y.; Geng, S. How innovativeness and handedness affect learning performance of engineering students? Int. J. Technol. Des. Educ. 2019, 29, 897–914. [Google Scholar] [CrossRef]
  12. Law, K.M.Y.; Geng, S.; Li, T. Student enrollment, motivation and learning performance in a blended learning environment: The mediating effects of social, teaching, and cognitive presence. Comput. Educ. 2019, 136, 1–12. [Google Scholar] [CrossRef]
  13. Ryan, R.M.; Deci, E.L. Self-determination theory and the facilitation of intrinsic motivation, social development, and well-being. Am. Psychol. 2000, 55, 68–78. [Google Scholar] [CrossRef]
  14. Law, K.M.Y.; Breznik, K. Impacts of innovativeness and attitude on entrepreneurial intention: Among engineering and non-engineering students. Int. J. Technol. Des. Educ. 2017, 27, 683–700. [Google Scholar] [CrossRef]
  15. Zimmerman, B.J.; Schunk, D.H. Motivation: An essential dimension of self-regulated learning. In Motivation and Self-Regulated Learning: Theory, Research, and Applications; Lawrence Erlbaum Associates Publishers: Mahwah, NJ, USA, 2008; pp. 1–30. ISBN 978-0-8058-5898-3. [Google Scholar]
  16. Long, M.; Wood, C.; Littleton, K.; Passenger, T.; Sheehy, K. The Psychology of Education; Routledge: London, UK, 2010; ISBN 9780203840092. [Google Scholar]
  17. Vroom, V.H. Work and Motivation; Wiley: Oxford, UK, 1964. [Google Scholar]
  18. Harackiewicz, J.M.; Barron, K.E.; Carter, S.M.; Lehto, A.T.; Elliot, A.J. Predictors and consequences of achievement goals in the college classroom: Maintaining interest and making the grade. J. Pers. Soc. Psychol. 1997, 73, 1284–1295. [Google Scholar] [CrossRef]
  19. Harackiewicz, J.M.; Barron, K.E.; Elliot, A.J. Rethinking achievement goals: When are they adaptive for college students and why? Educ. Psychol. 1998, 33, 1–21. [Google Scholar] [CrossRef]
  20. Harackiewicz, J.M.; Barron, K.E.; Tauer, J.M.; Elliot, A.J. Predicting success in college: A longitudinal study of achievement goals and ability measures as predictors of interest and performance from freshman year through graduation. J. Educ. Psychol. 2002, 94, 562–575. [Google Scholar] [CrossRef]
  21. Hendry, G.D.; Lyon, P.M.; Prosser, M.; Sze, D. Conceptions of problem-based learning: The perspectives of students entering a problem-based medical program. Med. Teach. 2006, 28, 573–575. [Google Scholar] [CrossRef] [PubMed]
  22. Stipek, D.J. Motivation and instruction. In Handbook of Educational Psychology; Prentice Hall International: London, UK, 1996; pp. 85–113. ISBN 0-02-897089-6. [Google Scholar]
  23. Jenkins, T. The motivation of students of programming. In Proceedings of the 6th annual conference on Innovation and technology in computer science education (ITiCSE ’01), Canterbury, UK, 25–27 June 2001; ACM Press: New York, NY, USA, 2001; pp. 53–56. [Google Scholar]
  24. Skinner, B.F. Contingencies of Reinforcement: A Theoretical Analysis; Prentice Hall: Englewood Cliffs, NJ, USA, 1969; ISBN 0131717286/9780131717282.
  25. Chan, C.C.A.; Pearson, C.; Entrekin, L. Examining the effects of internal and external team learning on team performance. Team Perform. Manag. Int. J. 2003, 9, 174–181. [Google Scholar] [CrossRef]
  26. Rassuli, A.; Manzer, J.P. “Teach Us to Learn”: Multivariate Analysis of Perception of Success in Team Learning. J. Educ. Bus. 2005, 81, 21–27. [Google Scholar] [CrossRef]
  27. Lee, Y.; Ertmer, P.A. Examining the Effect of Small Group Discussions and Question Prompts on Vicarious Learning Outcomes. J. Res. Technol. Educ. 2006, 39, 66–80. [Google Scholar]
  28. Zimmerman, B.J.; Kitsantas, A. The Hidden Dimension of Personal Competence: Self-Regulated Learning and Practice. In Handbook of Competence and Motivation; Hardcover; Guilford Publications: New York, NY, USA, 2005; pp. 509–526. ISBN 1-59385-123-5. [Google Scholar]
  29. Locke, E.A.; Latham, G.P. A Theory of Goal Setting & Task Performance; Prentice-Hall, Inc.: Englewood Cliffs, NJ, USA, 1990; ISBN 0-13-913138-8. [Google Scholar]
  30. Bong, M. Academic Motivation in Self-Efficacy, Task Value, Achievement Goal Orientations, and Attributional Beliefs. J. Educ. Res. 2004, 97, 287–298. [Google Scholar] [CrossRef]
  31. Margolis, H.; McCabe, P.P. Self-Efficacy: A Key to Improving the Motivation of Struggling Learners. Clear. House 2004, 77, 241–249. [Google Scholar] [CrossRef]
  32. Barak, M. Motivating self-regulated learning in technology education. Int. J. Technol. Des. Educ. 2010, 20, 381–401. [Google Scholar] [CrossRef]
  33. Ng, C. What kind of students persist in science learning in the face of academic challenges? J. Res. Sci. Teach. 2021, 58, 195–224. [Google Scholar] [CrossRef]
  34. Zatarain Cabada, R.; Barrón Estrada, M.L.; Ríos Félix, J.M.; Alor Hernández, G. A virtual environment for learning computer coding using gamification and emotion recognition. Interact. Learn. Environ. 2020, 28, 1048–1063. [Google Scholar] [CrossRef]
  35. Lin, Y.G.; McKeachie, W.J.; Kim, Y.C. College student intrinsic and/or extrinsic motivation and learning. Learn. Individ. Differ. 2003, 13, 251–258. [Google Scholar] [CrossRef]
  36. Yin, J.; Goh, T.-T.; Yang, B.; Xiaobin, Y. Conversation Technology With Micro-Learning: The Impact of Chatbot-Based Learning on Students’ Learning Motivation and Performance. J. Educ. Comput. Res. 2021, 59, 154–177. [Google Scholar] [CrossRef]
  37. Bosch, N.; D’Mello, S.; Mills, C. What Emotions Do Novices Experience during Their First Computer Programming Learning Session? In Proceedings of the International Conference on Artificial Intelligence in Education, Memphis, TN, USA, 9–13 July 2013; pp. 11–20. [Google Scholar]
  38. Bosch, N.; Chen, Y.; D’Mello, S. It’s Written on Your Face: Detecting Affective States from Facial Expressions while Learning Computer Programming. In Proceedings of the International Conference on Intelligent Tutoring Systems, Honolulu, HI, USA, 5–9 June 2014; pp. 39–44. [Google Scholar]
  39. Bosch, N.; D’Mello, S. The Affective Experience of Novice Computer Programmers. Int. J. Artif. Intell. Educ. 2017, 27, 181–206. [Google Scholar] [CrossRef]
  40. Lee, D.M.C.; Rodrigo, M.M.T.; Baker, R.S.J.D.; Sugay, J.O.; Coronel, A. Exploring the relationship between novice programmer confusion and achievement. In Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics; Springer: Berlin/Heidelberg, Germany, 2011; Volume 6974 LNCS, pp. 175–184. ISBN 9783642245992. [Google Scholar]
  41. Bosch, N.; D’Mello, S.; Baker, R.; Ocumpaugh, J.; Shute, V.; Ventura, M.; Wang, L.; Zhao, W. Automatic Detection of Learning-Centered Affective States in the Wild. In Proceedings of the 20th International Conference on Intelligent User Interfaces, Atlanta, GA, USA, 29 March–1 April 2015; ACM: New York, NY, USA, 2015; pp. 379–388. [Google Scholar]
  42. Bahreini, K.; Nadolski, R.; Westera, W. Towards multimodal emotion recognition in e-learning environments. Interact. Learn. Environ. 2016, 24, 590–605. [Google Scholar] [CrossRef]
  43. Lin, H.C.K.; Su, S.H.; Chao, C.J.; Hsieh, C.Y.; Tsai, S.C. Construction of multi-mode affective learning system: Taking Affective Design as an Example. Educ. Technol. Soc. 2016, 19, 132–147. [Google Scholar]
  44. D’mello, S.K.; Kory, J. A Review and Meta-Analysis of Multimodal Affect Detection Systems. ACM Comput. Surv. 2015, 47, 1–36. [Google Scholar] [CrossRef]
  45. Kim, Y.; Lee, H.; Provost, E.M. Deep learning for robust feature generation in audiovisual emotion recognition. In Proceedings of the 2013 IEEE International Conference on Acoustics, Speech and Signal Processing, Vancouver, BC, Canada, 26–31 May 2013; pp. 3687–3691. [Google Scholar]
  46. Ninaus, M.; Moeller, K.; McMullen, J.; Kiili, K. Acceptance of Game-Based Learning and Intrinsic Motivation as Predictors for Learning Success and Flow Experience. Int. J. Serious Games 2017, 4, 15–30. [Google Scholar] [CrossRef] [Green Version]
  47. Hong, J.-C.; Hwang, M.-Y.; Tai, K.-H.; Lin, P.-H. Intrinsic motivation of Chinese learning in predicting online learning self-efficacy and flow experience relevant to students’ learning progress. Comput. Assist. Lang. Learn. 2017, 30, 552–574. [Google Scholar] [CrossRef]
  48. Luo, Z.; Subramaniam, G.; Steen, B. Will anxiety boost motivation? The relationship between anxiety and motivation in foreign language learning. Malays. J. ELT Res. 2020, 17, 53–72. [Google Scholar]
  49. Xiu, Y.; Thompson, P. Flipped University Class: A Study of Motivation and Learning. J. Inf. Technol. Educ. Res. 2020, 19, 041–063. [Google Scholar] [CrossRef]
  50. Young, A.M.; Wendel, P.J.; Esson, J.M.; Plank, K.M. Motivational decline and recovery in higher education STEM courses. Int. J. Sci. Educ. 2018, 40, 1016–1033. [Google Scholar] [CrossRef] [Green Version]
  51. Hohoff, C. Anxiety in mice and men: A comparison. J. Neural Transm. 2009, 116, 679–687. [Google Scholar] [CrossRef]
  52. Gordon, J.A.; Hen, R. Genetic Approaches to the Study of Anxiety. Annu. Rev. Neurosci. 2004, 27, 193–222. [Google Scholar] [CrossRef]
  53. Gatt, J.M.; Nemeroff, C.B.; Dobson-Stone, C.; Paul, R.H.; Bryant, R.A.; Schofield, P.R.; Gordon, E.; Kemp, A.H.; Williams, L.M. Interactions between BDNF Val66Met polymorphism and early life stress predict brain and arousal pathways to syndromal depression and anxiety. Mol. Psychiatry 2009, 14, 681–695. [Google Scholar] [CrossRef] [Green Version]
  54. Brown, R.J.; Skelly, N.; Chew-Graham, C.A. Online health research and health anxiety: A systematic review and conceptual integration. Clin. Psychol. Sci. Pract. 2020, 27, e12299. [Google Scholar] [CrossRef]
  55. Garfin, D.R.; Silver, R.C.; Holman, E.A. The novel coronavirus (COVID-2019) outbreak: Amplification of public health consequences by media exposure. Health Psychol. 2020, 39, 355–357. [Google Scholar] [CrossRef]
  56. Jungmann, S.M.; Witthöft, M. Health anxiety, cyberchondria, and coping in the current COVID-19 pandemic: Which factors are related to coronavirus anxiety? J. Anxiety Disord. 2020, 73, 102239. [Google Scholar] [CrossRef]
  57. Clark, L.A.; Watson, D. Tripartite model of anxiety and depression: Psychometric evidence and taxonomic implications. J. Abnorm. Psychol. 1991, 100, 316–336. [Google Scholar] [CrossRef] [PubMed]
  58. Renner, K.H.; Hock, M.; Bergner-Köther, R.; Laux, L. Differentiating anxiety and depression: The State-Trait Anxiety-Depression Inventory. Cogn. Emot. 2018, 32, 1409–1423. [Google Scholar] [CrossRef]
  59. Iversen, A.; Wessely, S. Chronic fatigue and depression. Curr. Opin. Psychiatry 2003, 16, 17–21. [Google Scholar] [CrossRef]
  60. Payne, S.C.; Youngcourt, S.S.; Beaubien, J.M. A meta-analytic examination of the goal orientation nomological net. J. Appl. Psychol. 2007, 92, 128–150. [Google Scholar] [CrossRef] [PubMed]
  61. Vedel, A. The Big Five and tertiary academic performance: A systematic review and meta-analysis. Pers. Individ. Dif. 2014, 71, 66–76. [Google Scholar] [CrossRef] [Green Version]
  62. Ruiz, J.G.; Mintzer, M.J.; Leipzig, R.M. The Impact of E-Learning in Medical Education. Acad. Med. 2006, 81, 207–212. [Google Scholar] [CrossRef]
  63. Sun, P.-C.; Tsai, R.J.; Finger, G.; Chen, Y.-Y.; Yeh, D. What drives a successful e-Learning? An empirical investigation of the critical factors influencing learner satisfaction. Comput. Educ. 2008, 50, 1183–1202. [Google Scholar] [CrossRef]
  64. Lee, M.C. Explaining and predicting users’ continuance intention toward e-learning: An extension of the expectation-confirmation model. Comput. Educ. 2010, 54, 506–516. [Google Scholar] [CrossRef]
  65. Lawrence, S.A.; Garcia, J.; Stewart, C.; Rodriguez, C. The mental and behavioral health impact of COVID-19 stay at home orders on social work students. Soc. Work Educ. 2021, 1, 1–15. [Google Scholar]
  66. Escudero-Castillo, I.; Mato-Díaz, F.J.; Rodriguez-Alvarez, A. Furloughs, Teleworking and Other Work Situations during the COVID-19 Lockdown: Impact on Mental Well-Being. Int. J. Environ. Res. Public Health 2021, 18, 2898. [Google Scholar] [CrossRef]
  67. Fawaz, M.; Samaha, A. e-learning: Depression, anxiety, and stress symptomatology among Lebanese university students during COVID-19 quarantine. Nurs. Forum 2021, 56, 52–57. [Google Scholar] [CrossRef]
  68. Othman, N.; Ahmad, F.; El Morr, C.; Ritvo, P. Perceived impact of contextual determinants on depression, anxiety and stress: A survey with university students. Int. J. Ment. Health Syst. 2019, 13, 17. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  69. Nurunnabi, M.; Hossain, S.F.A.H.; Chinna, K.; Sundarasen, S.; Khoshaim, H.B.; Kamaludin, K.; Baloch, G.M.; Sukayt, A.; Shan, X. Coping strategies of students for anxiety during the COVID-19 pandemic in China: A cross-sectional study. F1000Research 2020, 9, 1115. [Google Scholar] [CrossRef]
  70. Jojoa, M.; Lazaro, E.; Garcia-Zapirain, B.; Gonzalez, M.J.; Urizar, E. The Impact of COVID 19 on University Staff and Students from Iberoamerica: Online Learning and Teaching Experience. Int. J. Environ. Res. Public Health 2021, 18, 5820. [Google Scholar] [CrossRef]
  71. Brooks, S.K.; Webster, R.K.; Smith, L.E.; Woodland, L.; Wessely, S.; Greenberg, N.; Rubin, G.J. The psychological impact of quarantine and how to reduce it: Rapid review of the evidence. Lancet 2020, 395, 912–920. [Google Scholar] [CrossRef] [Green Version]
  72. Odriozola-González, P.; Planchuelo-Gómez, Á.; Irurtia, M.J.; de Luis-García, R. Psychological effects of the COVID-19 outbreak and lockdown among students and workers of a Spanish university. Psychiatry Res. 2020, 290, 113108. [Google Scholar] [CrossRef] [PubMed]
  73. Cao, W.; Fang, Z.; Hou, G.; Han, M.; Xu, X.; Dong, J.; Zheng, J. The psychological impact of the COVID-19 epidemic on college students in China. Psychiatry Res. 2020, 287, 112934. [Google Scholar] [CrossRef] [PubMed]
  74. Aslan, I.; Ochnik, D.; Çınar, O. Exploring Perceived Stress among Students in Turkey during the COVID-19 Pandemic. Int. J. Environ. Res. Public Health 2020, 17, 8961. [Google Scholar] [CrossRef] [PubMed]
  75. MacWhinnie, S.G.B.; Mitchell, C. English classroom reforms in Japan: A study of Japanese university EFL student anxiety and motivation. Asian-Pac. J. Second Foreign Lang. Educ. 2017, 2, 7. [Google Scholar] [CrossRef]
  76. Al-Tammemi, A.B.; Akour, A.; Alfalah, L. Is It Just About Physical Health? An Online Cross-Sectional Study Exploring the Psychological Distress Among University Students in Jordan in the Midst of COVID-19 Pandemic. Front. Psychol. 2020, 11, 562213. [Google Scholar] [CrossRef]
  77. Friedman, N.P.; Miyake, A.; Young, S.E.; DeFries, J.C.; Corley, R.P.; Hewitt, J.K. Individual differences in executive functions are almost entirely genetic in origin. J. Exp. Psychol. Gen. 2008, 137, 201–225. [Google Scholar] [CrossRef] [PubMed]
  78. Hong, J.-C.; Hwang, M.-Y.; Chang, H.-W.; Tai, K.-H.; Kuo, Y.-C.; Tsai, Y.-H. Internet cognitive failure and fatigue relevant to learners’ self-regulation and learning progress in English vocabulary with a calibration scheme. J. Comput. Assist. Learn. 2015, 31, 450–461. [Google Scholar] [CrossRef]
  79. Christodoulou, C. The Assessment and Measurement of Fatigue. In Fatigue as A Window to the Brain; MIT Press: Cambridge, MA, USA, 2005; pp. 19–35. ISBN 0-262-04227-4. [Google Scholar]
  80. DeLuca, J. Fatigue, Cognition, and Mental Effort. In Fatigue as A Window to the Brain; Issues in clinical and cognitive neuropsychology; MIT Press: Cambridge, MA, USA, 2005; pp. 37–57. ISBN 0-262-04227-4. [Google Scholar]
  81. Kanfer, R. Determinants and consequences of subjective cognitive fatigue. In Cognitive Fatigue: Multidisciplinary Perspectives on Current Research and Future Applications; American Psychological Association: Washington, WA, USA, 2011; pp. 189–207. [Google Scholar]
  82. Ding, L.; Velicer, W.F.; Harlow, L.L. Effects of estimation methods, number of indicators per factor, and improper solutions on structural equation modeling fit indices. Struct. Equ. Model. Multidiscip. J. 1995, 2, 119–143. [Google Scholar] [CrossRef]
  83. Law, K.M.Y.; Sandnes, F.E.; Jian, H.L.; Huang, Y.P. A comparative study of learning motivation among engineering students in south east asia and beyond. Int. J. Eng. Educ. 2009, 25, 144. [Google Scholar]
  84. Kroenke, K.; Spitzer, R.L.; Williams, J.B.W. The PHQ-9. J. Gen. Intern. Med. 2001, 16, 606–613. [Google Scholar] [CrossRef]
  85. Spitzer, R.L.; Kroenke, K.; Williams, J.B.W.; Löwe, B. A Brief Measure for Assessing Generalized Anxiety Disorder. Arch. Intern. Med. 2006, 166, 1092. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  86. Smets, E.M.A.; Garssen, B.; Bonke, B.; De Haes, J.C.J.M. The multidimensional Fatigue Inventory (MFI) psychometric qualities of an instrument to assess fatigue. J. Psychosom. Res. 1995, 39, 315–325. [Google Scholar] [CrossRef] [Green Version]
  87. Kocalevent, R.-D.; Hinz, A.; Brähler, E. Standardization of the depression screener Patient Health Questionnaire (PHQ-9) in the general population. Gen. Hosp. Psychiatry 2013, 35, 551–555. [Google Scholar] [CrossRef]
  88. Löwe, B.; Decker, O.; Müller, S.; Brähler, E.; Schellberg, D.; Herzog, W.; Herzberg, P.Y. Validation and Standardization of the Generalized Anxiety Disorder Screener (GAD-7) in the General Population. Med. Care 2008, 46, 266–274. [Google Scholar] [CrossRef]
  89. Schwarz, R.; Krauss, O.; Hinz, A. Fatigue in the General Population. Oncol. Res. Treat. 2003, 26, 140–144. [Google Scholar] [CrossRef]
  90. Kline, R.B. Principles and Practice of Structural Equation Modeling, 4th ed.; Methodology in the Social Sciences; Guilford Press: New York, NY, USA, 2016; ISBN 978-1-4625-2334-4. [Google Scholar]
  91. Bryne, B.M. Structural Equation Modeling with AMOS: Basic Concepts, Applications, and Programming; Routledge: London, UK, 2013. [Google Scholar]
  92. Murtaugh, P.A. In defense of P values. Ecology 2014, 95, 611–617. [Google Scholar] [CrossRef] [Green Version]
  93. Tang, Y.M.; Chen, P.C.; Law, K.M.Y.; Wu, C.H.; Lau, Y.; Guan, J.; He, D.; Ho, G.T.S. Comparative analysis of Student’s live online learning readiness during the coronavirus (COVID-19) pandemic in the higher education sector. Comput. Educ. 2021, 168, 104211. [Google Scholar] [CrossRef] [PubMed]
  94. Frey, A.-L.; McCabe, C. Impaired social learning predicts reduced real-life motivation in individuals with depression: A computational fMRI study. J. Affect. Disord. 2020, 263, 698–706. [Google Scholar] [CrossRef] [PubMed]
  95. McRae, K.; Gross, J.J. Emotion regulation. Emotion 2020, 20, 1–9. [Google Scholar] [CrossRef] [PubMed]
  96. Brackney, B.E.; Karabenick, S.A. Psychopathology and academic performance: The role of motivation and learning strategies. J. Couns. Psychol. 1995, 42, 456–465. [Google Scholar] [CrossRef]
  97. Garvik, M.; Idsoe, T.; Bru, E. Motivation and Social Relations in School Following a CBT Course for Adolescents With Depressive Symptoms: An Effectiveness Study. Scand. J. Educ. Res. 2016, 60, 219–239. [Google Scholar] [CrossRef] [Green Version]
  98. Au, R.C.P.; Watkins, D.; Hattie, J.; Alexander, P. Reformulating the depression model of learned hopelessness for academic outcomes. Educ. Res. Rev. 2009, 4, 103–117. [Google Scholar] [CrossRef]
  99. Roeser, R.W.; Strobel, K.R.; Quihuis, G. Studying Early Adolescents’ Academic Motivation, Social-Emotional Functioning, and Engagement in Learning: Variable- and Person-Centered Approaches. Anxiety Stress Coping 2002, 15, 345–368. [Google Scholar] [CrossRef]
  100. Essau, C.A.; Leung, P.W.L.; Conradt, J.; Cheng, H.; Wong, T. Anxiety symptoms in Chinese and German adolescents: Their relationship with early learning experiences, perfectionism, and learning motivation. Depress. Anxiety 2008, 25, 801–810. [Google Scholar] [CrossRef]
  101. Zeng, L.; Chen, D.; Xiong, K.; Pang, A.; Huang, J.; Zeng, L. Medical University Students’ Personality and Learning Performance: Learning Burnout as a Mediator. In Proceedings of the 2015 7th International Conference on Information Technology in Medicine and Education, Huangshan, China, 13–15 November 2015; pp. 492–495. [Google Scholar]
  102. Lin, S.-H.; Huang, Y.-C. Investigating the relationships between loneliness and learning burnout. Act. Learn. High. Educ. 2012, 13, 231–243. [Google Scholar] [CrossRef]
  103. van Vendeloo, S.N.; Prins, D.J.; Verheyen, C.C.P.M.; Prins, J.T.; van den Heijkant, F.; van der Heijden, F.M.M.A.; Brand, P.L.P. The learning environment and resident burnout: A national study. Perspect. Med. Educ. 2018, 7, 120–125. [Google Scholar] [CrossRef] [Green Version]
  104. Zhang, J.-Y.; Shu, T.; Xiang, M.; Feng, Z.-C. Learning Burnout: Evaluating the Role of Social Support in Medical Students. Front. Psychol. 2021, 12, 625506. [Google Scholar] [CrossRef]
  105. Lenaert, B.; Boddez, Y.; Vlaeyen, J.W.S.; van Heugten, C.M. Learning to feel tired: A learning trajectory towards chronic fatigue. Behav. Res. Ther. 2018, 100, 54–66. [Google Scholar] [CrossRef] [PubMed]
  106. Asadayoobi, N.; Jaber, M.Y.; Taghipour, S. A new learning curve with fatigue-dependent learning rate. Appl. Math. Model. 2021, 93, 644–656. [Google Scholar] [CrossRef]
  107. Forsythe, A.; Jellicoe, M. Predicting gainful learning in Higher Education: A goal-orientation approach. High. Educ. Pedagog. 2018, 3, 103–117. [Google Scholar] [CrossRef] [Green Version]
  108. Mills, J.S.; Blankstein, K.R. Perfectionism, intrinsic vs extrinsic motivation, and motivated strategies for learning: A multidimensional analysis of university students. Pers. Individ. Dif. 2000, 29, 1191–1204. [Google Scholar] [CrossRef]
  109. Nguyen, T.D.; Shultz, C.J.; Westbrook, M.D. Psychological Hardiness in Learning and Quality of College Life of Business Students: Evidence from Vietnam. J. Happiness Stud. 2012, 13, 1091–1103. [Google Scholar] [CrossRef]
  110. Li, W.; Lee, A.M.; Solmon, M. Effects of Dispositional Ability Conceptions, Manipulated Learning Environments, and Intrinsic Motivation on Persistence and Performance. Res. Q. Exerc. Sport 2008, 79, 51–61. [Google Scholar]
  111. Karlen, Y.; Suter, F.; Hirt, C.; Maag Merki, K. The role of implicit theories in students’ grit, achievement goals, intrinsic and extrinsic motivation, and achievement in the context of a long-term challenging task. Learn. Individ. Differ. 2019, 74, 101757. [Google Scholar] [CrossRef]
  112. Rigolizzo, M.; Zhu, Z. The ebb and flow of learning motivation: The differentiated impact of the implicit theory of intelligence on learning behaviors. Hum. Resour. Dev. Q. 2021, 1, hrdq.21425. [Google Scholar]
  113. Reis, S.; Coelho, F.; Coelho, L. Success Factors in Students’ Motivation with Project Based Learning: From Theory to Reality. Int. J. Online Biomed. Eng. 2020, 16, 4. [Google Scholar] [CrossRef]
  114. Truzoli, R.; Viganò, C.; Galmozzi, P.G.; Reed, P. Problematic internet use and study motivation in higher education. J. Comput. Assist. Learn. 2020, 36, 480–486. [Google Scholar] [CrossRef]
  115. Reed, P.; Reay, E. Relationship between levels of problematic Internet usage and motivation to study in university students. High. Educ. 2015, 70, 711–723. [Google Scholar] [CrossRef] [Green Version]
  116. Santamaría-Vázquez, M.; Del Líbano, M.; Martínez-Lezaun, I.; Ortiz-Huerta, J.H. Self-Regulation of Motivation and Confinement by COVID-19: A Study in Spanish University Students. Sustainability 2021, 13, 5435. [Google Scholar] [CrossRef]
  117. Moore, K.P.; Richards, A.S. The Effects of Instructor Credibility, Grade Incentives, and Framing of a Technology Policy on Students’ Intent to Comply and Motivation to Learn. Commun. Stud. 2019, 70, 394–411. [Google Scholar] [CrossRef]
  118. Murty, V.P.; LaBar, K.S.; Hamilton, D.A.; Adcock, R.A. Is all motivation good for learning? Dissociable influences of approach and avoidance motivation in declarative memory. Learn. Mem. 2011, 18, 712–717. [Google Scholar] [CrossRef] [Green Version]
  119. Luria, E.; Shalom, M.; Levy, D.A. Cognitive Neuroscience Perspectives on Motivation and Learning: Revisiting Self-Determination Theory. Mind Brain Educ. 2021, 15, 5–17. [Google Scholar] [CrossRef]
  120. Jayalath, J.; Esichaikul, V. Gamification to Enhance Motivation and Engagement in Blended eLearning for Technical and Vocational Education and Training. Technol. Knowl. Learn. 2020, 1–28. [Google Scholar] [CrossRef]
  121. Borovay, L.A.; Shore, B.M.; Caccese, C.; Yang, E.; Hua, O. Flow, Achievement Level, and Inquiry-Based Learning. J. Adv. Acad. 2019, 30, 74–106. [Google Scholar] [CrossRef]
Figure 1. Standardized results on the model of associations between learning motivating factors (challenging goals, punishment, social pressure, and competition), anxiety, depression, and fatigue in the group of participants of e-learning-based computer programming courses.
Figure 1. Standardized results on the model of associations between learning motivating factors (challenging goals, punishment, social pressure, and competition), anxiety, depression, and fatigue in the group of participants of e-learning-based computer programming courses.
Ijerph 18 09158 g001
Figure 2. Standardized results of the model of associations between learning motivating factors (challenging goals, punishment, social pressure, and competition), anxiety, depression, and fatigue in the group of respondents who did not participate in e-learning-based computer programming courses.
Figure 2. Standardized results of the model of associations between learning motivating factors (challenging goals, punishment, social pressure, and competition), anxiety, depression, and fatigue in the group of respondents who did not participate in e-learning-based computer programming courses.
Ijerph 18 09158 g002
Figure 3. Path diagram: challenging goals, mental fatigue, depression, and anxiety in participants of e-learning-based computer programming courses.
Figure 3. Path diagram: challenging goals, mental fatigue, depression, and anxiety in participants of e-learning-based computer programming courses.
Ijerph 18 09158 g003
Figure 4. Alternative path diagrams (challenging goals, mental fatigue, depression, and anxiety) in groups of participants and non-participants in e-learning-based computer programming courses.
Figure 4. Alternative path diagrams (challenging goals, mental fatigue, depression, and anxiety) in groups of participants and non-participants in e-learning-based computer programming courses.
Ijerph 18 09158 g004
Table 1. Cronbach alphas for the Patient Health Questionnaire-9 (PHQ-9), the Generalized Anxiety Disorder Scale-7 (GAD-7), the Multidimensional Fatigue Inventory-20 (MFI-20), and the Learning Motivating Factors Questionnaire.
Table 1. Cronbach alphas for the Patient Health Questionnaire-9 (PHQ-9), the Generalized Anxiety Disorder Scale-7 (GAD-7), the Multidimensional Fatigue Inventory-20 (MFI-20), and the Learning Motivating Factors Questionnaire.
Scales and SubscalesCronbach Alpha
GAD-70.915
PHQ-90.889
MFI-200.933
General Fatigue0.823
Physical Fatigue 0.869
Reduced Activity0.784
Reduced Motivation0.671
Mental Fatigue0.854
Learning Motivating Factors Questionnaire (LMF)0.868
Individual Attitude and Expectation0.811
Challenging Goals0.866
Clear Direction0.698
Reward and Recognition0.743
Punishment0.778
Social pressure and competition0.824
Table 2. The frequencies of the PHQ-9 self-reported categories.
Table 2. The frequencies of the PHQ-9 self-reported categories.
PHQ-9FrequencyPercent95% CIp
Minimal depression (0–4)10824.3[2.06–2.61]<0.001
Mild depression (5–9)13029.3[6.71–7.20]<0.001
Moderate depression (10–14)7416.7[11.62–12.33]<0.001
Moderately severe depression (15–19)5011.3[16.31–17.05]<0.001
Severe depression (20–27)327.2[21.33–22.86]<0.001
CI, confidence interval.
Table 3. The frequencies of the GAD-7 self-reported categories.
Table 3. The frequencies of the GAD-7 self-reported categories.
GAD-7FrequencyPercent95% CIp
Minimal anxiety (0–4)16136.3[1.98–2.42]<0.001
Mild anxiety (5–9)15134[6.41–6.85]<0.001
Moderate anxiety (10–14)7316.4[11.43–12.11]<0.001
Severe anxiety (15–21)5311.9[17.36–18.46]<0.001
Table 4. The frequencies of the MFI-20 self-reported categories.
Table 4. The frequencies of the MFI-20 self-reported categories.
MFI-20: General FatigueFrequencyPercent95% CIp
Minimal fatigue (4–7)5311.9[5.56–6.21]<0.001
Mild fatigue (8–11)13330[9.49–9.87]<0.001
Moderate fatigue (12–15)16837.8[13.31–13.65]<0.001
Severe fatigue (16–20)9020.3[16.99–17.59]<0.001
Table 5. The MFI-20: descriptive statistics and correlations between the subscales.
Table 5. The MFI-20: descriptive statistics and correlations between the subscales.
MFI-20 VariablesMSD1234
Physical fatigue2.8131.030-
Reduced activity2.9880.9050.630 ***-
Reduced motivation2.5120.7900.569 ***0.729 ***-
Mental fatigue2.8460.9110.416 ***0.647 ***0.631 ***-
General fatigue3.0520.9340.748 ***0.661 ***0.615 ***0.545 ***
M, mean; SD, standard deviation. *** p < 0.001.
Table 6. The Learning Motivating Factors Questionnaire: descriptive statistics and correlations between the subscales.
Table 6. The Learning Motivating Factors Questionnaire: descriptive statistics and correlations between the subscales.
Learning Motivation VariablesMSD12345
Individual attitude and expectation4.710.86-
Challenging goals4.331.080.407 ***-
Clear direction4.970.780.648 ***0.449 ***-
Reward and recognition4.850.900.546 ***0.118 *0.504 ***-
Punishment3.461.330.230 ***0.158 **0.257 ***0.161 **-
Social pressure and competition3.461.210.295 ***0.284 ***0.199 ***0.230 ***0.422 ***
* p < 0.05; ** p < 0.01; *** p < 0.001.
Table 7. The PHQ-9 and the GAD-7: descriptive statistics and correlations between the scales.
Table 7. The PHQ-9 and the GAD-7: descriptive statistics and correlations between the scales.
ScalesMSD1
PHQ-99.0946.240-
GAD-77.2215.3780.499 ***
*** p < 0.001.
Table 8. Differences in learning motivating factors based on the PHQ-9 categories.
Table 8. Differences in learning motivating factors based on the PHQ-9 categories.
Learning Motivating FactorsDepression CategoriesNMeanStandard
Deviation
Standard
Error
95% Confidence Interval for Mean
Lower BUpper B
Individual attitude and expectationMinimal depression1084.8590.7830.0754.7095.008
Mild depression1304.7640.8180.0714.6214.905
Moderate depression 734.6780.8480.0994.4804.876
Moderately severe depression 494.4030.9040.1294.1434.662
Severe depression 324.4451.1140.1974.0434.846
Challenging goalsMinimal depression1084.8330.8080.0774.6794.988
Mild depression1304.3541.0910.0954.1644.543
Moderate depression 734.0731.0260.1203.8334.312
Moderately severe depression 493.7081.0790.1543.3984.018
Severe depression 323.8441.1730.2073.4204.267
Clear directionMinimal depression1085.1720.7370.0705.0325.313
Mild depression1305.0150.7190.0634.8905.140
Moderate depression 734.9950.7480.0874.8205.170
Moderately severe depression 494.6120.6810.0974.4174.808
Severe depression 324.5831.0570.1874.2024.965
Reward and recognitionMinimal depression1084.8110.9710.0934.6264.997
Mild depression1304.9170.8090.0714.7785.058
Moderate depression 734.9540.8630.1014.7535.156
Moderately severe depression 494.7760.9890.1414.4915.060
Severe depression 324.6460.9390.1664.3074.984
PunishmentMinimal depression1083.4351.3540.1303.1773.693
Mild depression1303.5271.2030.1063.3183.736
Moderate depression 733.5961.3840.1623.2733.919
Moderately severe depression 492.9801.3420.1922.5943.365
Severe depression 323.5161.5110.2672.9714.060
Social pressure and competitionMinimal depression1083.4951.1700.1133.2723.719
Mild depression1303.6041.1760.1033.4003.808
Moderate depression 733.5001.1870.1393.2233.777
Moderately severe depression 492.9751.1980.1712.6303.319
Severe depression 323.2971.4180.2512.7863.808
Table 9. Differences in learning motivating factors based on the GAD-7 categories.
Table 9. Differences in learning motivating factors based on the GAD-7 categories.
Learning Motivating FactorsAnxiety CategoriesNMeanStandard
Deviation
Standard Error95% Confidence Interval for Mean
Lower BUpper B
Individual attitude and expectationMinimal anxiety1484.7970.8320.0684.6624.932
Mild anxiety1374.7250.8850.0764.5754.874
Moderate anxiety714.5850.8280.9824.3894.781
Severe anxiety494.6120.9200.1314.3484.877
Challenging goalsMinimal anxiety1484.6041.0200.0844.4384.516
Mild anxiety1374.3291.1120.0954.1404.516
Moderate anxiety714.1550.9460.1123.9314.378
Severe anxiety493.7821.1540.1653.4504.114
Clear directionMinimal anxiety1485.0450.7630.0634.9215.169
Mild anxiety1375.0590.7590.0654.9305.187
Moderate anxiety714.8260.7560.0904.6475.005
Severe anxiety494.7280.8890.1274.4724.983
Reward and recognitionMinimal anxiety1484.7460.9250.0764.5954.896
Mild anxiety1374.9660.8830.0754.8175.115
Moderate anxiety714.8590.8610.1024.6555.063
Severe anxiety494.8030.9020.1334.5364.935
PunishmentMinimal anxiety1483.4491.3260.1093.2343.665
Mild anxiety1373.5331.3200.1133.3103.756
Moderate anxiety713.5211.2910.1533.2163.827
Severe anxiety493.2141.3310.0663.3323.592
Social pressure and competitionMinimal anxiety1483.5251.1270.0933.3423.708
Mild anxiety1373.5641.3270.1133.3403.788
Moderate anxiety713.4501.0900.1293.1923.709
Severe anxiety493.0101.1870.1702.6703.581
Table 10. Differences in learning motivating factors based on the MFI-20 categories.
Table 10. Differences in learning motivating factors based on the MFI-20 categories.
Learning Motivating FactorsFatigue CategoriesNMeanStandard DeviationStandard Error95% Confidence Interval for Mean
Lower BUpper B
Individual attitude and expectationMinimal fatigue484.7810.8440.1224.5365.026
Mild fatigue1224.7300.8480.0774.5784.881
Moderate fatigue1564.8010.8310.0674.6704.933
Severe fatigue804.4810.9180.1034.2774.686
Challenging goalsMinimal fatigue484.7781.1120.1604.4555.100
Mild fatigue1224.4591.0580.0964.2694.649
Moderate fatigue1564.3061.0230.0824.1434.467
Severe fatigue803.9211.0960.1233.6774.416
Clear directionMinimal fatigue485.0760.9510.1374.8005.352
Mild fatigue1225.0710.6990.0634.9465.196
Moderate fatigue1564.9150.8040.6444.7875.042
Severe fatigue804.8790.7410.8294.7145.044
Reward and recognitionMinimal fatigue484.5421.1040.1594.2214.862
Mild fatigue1224.9620.8210.7444.8155.109
Moderate fatigue1564.8530.8990.0724.71044.995
Severe fatigue804.8580.8730.0984.6645.053
PunishmentMinimal fatigue483.2291.3130.1892.8483.610
Mild fatigue1223.6101.3730.1243.3653.857
Moderate fatigue1563.4901.2490.1003.2933.688
Severe fatigue803.3131.4150.1582.9983.627
Social pressure and competitionMinimal fatigue483.1721.2440.1802.8113.533
Mild fatigue1223.6871.2550.1143.4183.911
Moderate fatigue1563.5851.0570.0853.4183.752
Severe fatigue803.0531.2700.1422.7703.336
Table 11. Multiple regression models in which the dependent variable is anxiety and the predictors are learning motivating factors.
Table 11. Multiple regression models in which the dependent variable is anxiety and the predictors are learning motivating factors.
ModelNon-Standardized
Coefficients
Standardized
Coefficients
tSignificance
BStandard
Error
Beta
A. Respondents do not participate in e-learning-based computer programming courses
  (Constant)12.2442.655 4.6120.000
  Individual attitude and expectation−0.0650.642−0.010−0.1020.919
  Challenging goals−0.5920.401−0.126−1.4770.141
  Clear direction−0.5810.661−0.085−0.8790.381
  Reward and recognition0.0330.5430.0050.0600.952
  Punishment0.0370.3010.0100.1240.901
  Social pressure and competition0.1410.3470.0330.4050.686
R = 0.181; R Square = 0.033; Adjusted R Square = 0.005;
Standard Error of the Estimate = 5.24862; F (6, 212) = 1.192, p = 0.312
B. Respondents participate in e-learning-based computer programming courses
  (Constant)15.2872.747 5.5650.000
  Individual attitude and expectation0.2450.6080.0400.4040.687
  Challenging goals−1.6920.417−0.318−4.0610.000
  Clear direction−0.9350.702−0.134−1.3310.185
  Reward and recognition0.7830.4990.1311.5700.118
  Punishment0.1850.3300.0430.5610.576
  Social pressure and competition−0.4310.364−0.091−1.1830.239
R = 0.395; R Square = 0.156; Adjusted R Square = 0.128;
Standard Error of the Estimate = 5.16559; F (6, 179) = 5.508, p < 0.001
Table 12. Multiple regression models in which the dependent variable is depression and the predictors are learning motivating factors.
Table 12. Multiple regression models in which the dependent variable is depression and the predictors are learning motivating factors.
ModelNon-Standardized
Coefficients
Standardized
Coefficients
tSignificance
BStandard
Error
Beta
A. Respondents do not participate in e-learning-based computer programming courses
  (Constant)18.0683.077 5.8720.000
  Individual attitude and expectation−0.1920.747−0.026−0.2570.797
  Challenging goals−1.1330.459−0.211−2.4690.014
  Clear direction−0.4640.758−0.059−0.6120.541
  Reward and recognition−0.2710.641−0.038−0.4230.673
  Punishment0.1750.3460.0400.5070.613
  Social pressure and competition−0.0140.394-0.003−0.0360.972
R = 0.272; R Square = 0.074; Adjusted R Square = 0.046;
Stadard Error of the Estimate = 5.86205; F (6, 199) = 2.656, p = 0.017
B. Respondents participate in e-learning-based computer programming courses
  (Constant)24.1303.065 7.8730.000
  Individual attitude and expectation0.3700.6770.0520.5460.586
  Challenging goals−2.2330.464−0.357−4.8090.000
  Clear direction−2.1970.783−0.268−2.8060.006
  Reward and recognition0.8740.5540.1251.5780.116
  Punishment0.3350.3680.0660.9110.363
  Social pressure and competition−0.4780.407−0.085−1.1760.241
R = 0.493; R Square = 0.243; Adjusted R Square = 0.218;
Standard Error of the Estimate = 5.75620; F (6, 179) = 9.584, p < 0.001
Table 13. Multiple regression models in which the dependent variable is general fatigue and the predictors are learning motivating factors, anxiety, and depression.
Table 13. Multiple regression models in which the dependent variable is general fatigue and the predictors are learning motivating factors, anxiety, and depression.
ModelNon-Standardized
Coefficients
Standardized
Coefficients
tSignificance
BStandard
Error
Beta
A. Respondents do not participate in e-learning-based computer programming courses
  (Constant)2.0720.466 4.4430.000
  Individual attitude and expectation0.2030.1020.1841.9820.049
  Challenging goals−0.0340.064−0.043−0.5390.590
  Clear direction−0.0280.104−0.024−0.2720.786
  Reward and recognition−0.0680.088−0.065−0.7770.438
  Punishment−0.0300.047−0.045−0.6230.534
  Social pressure and competition0.0110.0540.0150.2000.842
  Anxiety (GAD-7)0.0610.0110.3605.5570.000
  Depression (PHQ-9)0.0330.0100.2193.2960.001
R = 0.472; R Square = 0.223; Adjusted R Square = 0.191;
Standard Error of the Estimate = 0.80231; F (8, 197) = 7.058, p < 0.001
B. Respondents participate in e-learning-based computer programming courses
  (Constant)1.7120.394 4.3460.000
  Individual attitude and expectation−0.2620.075−0.246−3.5140.001
  Challenging goals−0.0160.054−0.017−0.2980.766
  Clear direction0.2090.0880.1722.3690.019
  Reward and recognition0.1210.0620.1161.9570.052
  Punishment0.0080.0410.0110.1990.842
  Social pressure and competition−0.0170.045−0.020−0.3740.709
  Anxiety (GAD-7)0.0390.0130.2222.9070.004
  Depression (PHQ-9)0.0820.0120.5516.8120.000
R = 0.768; R Square = 0.589; Adjusted R Square = 0.571;
Standard Error of the Estimate = 0.63359; F (8, 176) = 31.554, p < 0.001
Table 14. Multiple regression models in which the dependent variable is mental fatigue and the predictors are learning motivating factors, anxiety, and depression.
Table 14. Multiple regression models in which the dependent variable is mental fatigue and the predictors are learning motivating factors, anxiety, and depression.
ModelNon-Standardized
Coefficients
Standardized
Coefficients
tSignificance
BStandard
Error
Beta
A. Respondents do not participate in e-learning-based computer programming courses
  (Constant)3.2470.478 6.7870.000
  Individual attitude and expectation0.0790.1050.0720.7540.452
  Challenging goals−0.1230.066−0.154−1.8710.063
  Clear direction−0.0340.107−0.029−0.3200.749
  Reward and recognition−0.1270.090−0.121−1.4130.159
  Punishment0.0050.0490.0070.0980.922
  Social pressure and competition0.0000.0550.0010.0090.993
  Anxiety (GAD-7)0.0410.0110.2433.6450.000
  Depression (PHQ-9)0.0260.0100.1772.5800.011
R = 0.419; R Square = 0.175; Adjusted R Square = 0.142;
Standard Error of the Estimate = 0.82302; F (8, 197) = 5.229, p < 0.001
B. Respondents participate in e-learning-based computer programming courses
  (Constant)2.4510.416 5.8930.000
  Individual attitude and expectation−0.1310.079−0.123−1.6570.099
  Challenging goals−0.2520.057−0.274−4.3870.000
  Clear direction0.1480.0930.1221.5840.115
  Reward and recognition0.1220.0650.1181.8760.062
  Punishment−0.0950.043−0.127−2.2170.028
  Social pressure and competition0.0920.0470.1111.9330.055
  Anxiety (GAD-7)0.0170.0140.1001.2290.221
  Depression (PHQ-9)0.0730.0130.4905.6950.000
R = 0.732; R Square = 0.535; Adjusted R Square = 0.514;
Standard Error of the Estimate = 0.66896; F (8, 176) = 25.338, p < 0.001
Table 15. Scalar estimates of the model of associations between learning motivating factors, anxiety, depression, and fatigue in the sample of participants of e-learning-based computer programming courses.
Table 15. Scalar estimates of the model of associations between learning motivating factors, anxiety, depression, and fatigue in the sample of participants of e-learning-based computer programming courses.
Factors VariablesBSECRβ
Punishment->LMF Item 141.000 0.929
Punishment->LMF Item 150.7780.1624.8040.716
Social pressure and competition->LMF Item 161.000 0.625
Social pressure and competition->LMF Item 170.8770.1266.9780.636
Social pressure and competition->LMF Item 181.0560.1347.8670.756
Social pressure and competition->LMF Item 191.2460.1528.1830.835
Anxiety->GAD-7 Item 11.000 0.866
Anxiety->GAD-7 Item 21.0270.06316.2390.874
Anxiety->GAD-7 Item 31.0740.06716.1420.872
Anxiety->GAD-7 Item 40.8700.06812.8320.764
Anxiety->GAD-7 Item 50.7010.06211.3280.704
Anxiety->GAD-7 Item 60.7610.06511.7640.722
Anxiety->GAD-7 Item 70.8410.07111.7950.724
Depression->PHQ-9 Item 11.000 0.746
Depression->PHQ-9 Item 21.1140.09711.5110.822
Depression->PHQ-9 Item 31.0270.1089.4820.690
Depression->PHQ-9 Item 41.0280.09211.1230.797
Depression->PHQ-9 Item 51.0760.1109.7800.709
Depression->PHQ-9 Item 61.2560.11111.2960.808
Depression->PHQ-9 Item 70.8380.0948.8660.648
Depression->PHQ-9 Item 80.5630.0797.1340.529
Depression->PHQ-9 Item 90.7080.0808.8740.649
Challenging goals->LMF Item 71.000 0.794
Challenging goals->LMF Item 61.1410.10510.8460.874
Challenging goals->LMF Item 50.7980.0869.2800.688
Anxiety->General fatigue0.0810.1200.6770.071
Depression->General fatigue0.9890.1586.2540.725
Depression<->Anxiety0.5060.0727.0560.831
Depression<->Social pressure and competition−0.1460.063−2.313−0.204
Social pressure and competition<->Punishment0.4910.1263.8910.382
Anxiety<->Punishment−0.0910.089−1.016−0.083
Depression<->Challenging goals−0.3390.069−4.906−0.491
Anxiety<->Social pressure and competition−0.1700.074−2.290−0.199
Depression<->Punishment−0.0900.075−1.187−0.097
Punishment<->Challenging goals0.2870.1092.6280.230
Social pressure and competition<->Challenging goals0.3000.0933.2170.311
Anxiety<->Challenging goals−0.3240.075−4.296−0.393
SE, standard error; CR, critical ratio. Group number 1 (Group number 1—Default model); Estimates (Group number 1—Default model); Scalar Estimates (Group number 1—Default model); Maximum Likelihood Estimates; Regression Weights (Group number 1—Default model).
Table 16. Scalar estimates of the model of associations between learning motivating factors, anxiety, depression, and fatigue in the sample of respondents who did not participate in e-learning-based computer programming courses.
Table 16. Scalar estimates of the model of associations between learning motivating factors, anxiety, depression, and fatigue in the sample of respondents who did not participate in e-learning-based computer programming courses.
Factors VariablesBSECRβ
Punishment->LMF Item 141.000 0.733
Punishment->LMF Item 151.0650.1606.6490.828
Social pressure and competition->LMF Item 161.000 0.733
Social pressure and competition->LMF Item 170.8470.0909.3690.678
Social pressure and competition->LMF Item 180.9080.08510.6370.774
Social pressure and competition->LMF Item 191.1150.09811.3850.847
Anxiety->GAD-7 Item 11.000 0.794
Anxiety->GAD-7 Item 21.1260.07315.4920.862
Anxiety->GAD-7 Item 31.1890.07316.2090.892
Anxiety->GAD-7 Item 40.9950.07413.3640.771
Anxiety->GAD-7 Item 50.8570.07112.0270.709
Anxiety->GAD-7 Item 60.9290.08111.4780.683
Anxiety->GAD-7 Item 70.9950.08212.1180.714
Depression->PHQ-9 Item 11.000 0.773
Depression->PHQ-9 Item 21.0980.09311.7740.791
Depression->PHQ-9 Item 31.0510.1159.1100.631
Depression->PHQ-9 Item 41.1380.09911.4870.774
Depression->PHQ-9 Item 51.0470.10310.1850.697
Depression->PHQ-9 Item 61.1280.10211.0390.748
Depression->PHQ-9 Item 70.8070.0968.3860.586
Depression->PHQ-9 Item 80.5500.0806.8750.487
Depression->PHQ-9 Item 90.5610.0816.9110.490
Challenging goals->LMF Item 71.000 0.858
Challenging goals->LMF Item 61.0610.06516.3520.911
Challenging goals->LMF Item 50.8950.06114.5550.815
Anxiety->General fatigue0.4430.0815.4780.348
Depression->General fatigue0.3350.0913.6680.251
Depression<->Anxiety0.1200.0383.1730.251
Depression<->Social pressure and competition−0.0640.0631.017-0.081
Social pressure and competition<->Punishment0.7390.1494.9510.555
Anxiety<->Punishment−0.0080.064−0.124−0.010
Depression<->Challenging goals−0.2140.060−3.588−0.294
Anxiety<->Social pressure and competition−0.0040.063−0.068−0.005
Depression<->Punishment−0.0380.064−0.593−0.050
Punishment<->Challenging goals0.2680.1052.5580.219
Social pressure and competition<->Challenging goals0.4240.1063.9820.334
Anxiety<->Challenging goals−0.1280.057−2.230−0.168
Table 17. Results of structural equation modeling of challenging goals, mental fatigue, depression, and anxiety in the group of participants of e-learning-based computer programming courses.
Table 17. Results of structural equation modeling of challenging goals, mental fatigue, depression, and anxiety in the group of participants of e-learning-based computer programming courses.
Factors FactorsBSEzpLLULβR2
Challenging goals->Mental fatigue −0.4670.061−7.717<0.001−0.586−0.349−0.5070.257
Mental fatigue ->Depression4.4710.34512.967<0.0013.7955.1470.6640.441
Depression ->Anxiety0.6590.04016.631<0.0010.5820.7370.7690.591
LL, lower limit; UL, upper limit.
Table 18. Results of structural equation modelling of challenging goals, mental fatigue, depression, and anxiety in groups of participants and non-participants of e-learning-based computer programming courses.
Table 18. Results of structural equation modelling of challenging goals, mental fatigue, depression, and anxiety in groups of participants and non-participants of e-learning-based computer programming courses.
Factors FactorsBSEzpLLULβGroup *
Challenging goals ->Mental fatigue−0.4670.061−7.717<0.001−0.586−0.349−0.5072
Mental fatigue ->Depression4.4710.34512.967<0.0013.7955.1470.6642
Mental fatigue ->Anxiety3.2620.3359.726<0.0012.6053.9200.5652
Challenging goals ->Mental fatigue−0.1870.057−3.298<0.001−0.298−0.076−0.2351
Mental fatigue ->Depression1.8710.4414.239<0.0011.0062.7360.2771
Mental fatigue ->Anxiety1.8330.4254.313<0.0011.0002.6650.3091
* Group 2: participants of e-learning-based computer programming courses; Group 1: non-participants of e-learning-based computer programming courses.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Dirzyte, A.; Vijaikis, A.; Perminas, A.; Rimasiute-Knabikiene, R. Associations between Depression, Anxiety, Fatigue, and Learning Motivating Factors in e-Learning-Based Computer Programming Education. Int. J. Environ. Res. Public Health 2021, 18, 9158. https://doi.org/10.3390/ijerph18179158

AMA Style

Dirzyte A, Vijaikis A, Perminas A, Rimasiute-Knabikiene R. Associations between Depression, Anxiety, Fatigue, and Learning Motivating Factors in e-Learning-Based Computer Programming Education. International Journal of Environmental Research and Public Health. 2021; 18(17):9158. https://doi.org/10.3390/ijerph18179158

Chicago/Turabian Style

Dirzyte, Aiste, Aivaras Vijaikis, Aidas Perminas, and Romualda Rimasiute-Knabikiene. 2021. "Associations between Depression, Anxiety, Fatigue, and Learning Motivating Factors in e-Learning-Based Computer Programming Education" International Journal of Environmental Research and Public Health 18, no. 17: 9158. https://doi.org/10.3390/ijerph18179158

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop