Top Banner
Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management. Jason Williams [email protected] Richard Adlam [email protected] Lynne Norris-Jones [email protected] Kelvin Hughes [email protected]
35

Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Mar 28, 2015

Download

Documents

Jaden Russell
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Teaching programming with an event-driven programming language – problems and considerations.

University of Wales Institute CardiffCardiff School of Management.

Jason Williams [email protected] Adlam [email protected] Lynne Norris-Jones [email protected] Kelvin Hughes [email protected]

Page 2: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Introduction

Event driven programming is commonly used as a first language.

Novel interfaces with controls helps in gaining the students interest.

Develop small applications in a relatively short amount of time.

Industry often demands students with skills in visual programming languages.

Page 3: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Introduction

Perceived problems “Focus on the controls, events and properties.” “Less focus on basic constructs of sequence,

selection and iteration.” “Undermines logic of programming for future

work.”

Page 4: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Introduction

Aim Document the problems associated with

teaching programming using event driven programming languages.

Evaluate teaching programming with and without the tools.

Develop a model for teaching using an event driven programming language.

Page 5: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Method

Page 6: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Method Students for 2006 (n=41) and 2007 (n=60) intake 2006 with controls, 2007 without Results for first 3 assignments Questionnaire Mann-Whitney analysis Interview

Mixed-method approach try to neutralise bias

Page 7: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results – Assignment Marks

Page 8: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results

Assignment Questions Sets of questions to do each week for

Assignment 1&2. Similar questions, but 2007 didn’t use controls. Assignment 3 – similar assignment with both

using controls.

Page 9: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results – Assignment MarksAssignment mark

0.0

10.0

20.0

30.0

40.0

50.0

60.0

70.0

Ass1 Ass2 Ass3

Assignmnet

Gra

de

%

2006

2007

Ass1 Ass2 Ass32006 62.1

(±15.5)54.6 (±21.5)

49.1 (±31.1)

2007 60.5 (±16.3)

61.7 (±16.5)

53.7 (±25.9)

No significant differences between years

Page 10: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

2006 Assignment Results

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

Ass1 Ass2 Ass3

Assignment

Gra

de

70+

60-69

50-59

40-49

0-39

2007 Assignment Results

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

Ass1 Ass2 Ass3

Assignment

Gra

de

70+

60-69

50-59

40-49

0-39

Page 11: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results – Assignment Marks2006Band Ass1 Ass2 Ass370+ 39% 24% 27%60-69 29% 32% 32%50-59 17% 12% 5%40-49 5% 10% 5%0-39 10% 22% 32%

2007Band Ass1 Ass2 Ass370+ 40% 40% 33%60-69 18% 18% 13%50-59 23% 22% 20%40-49 12% 13% 10%0-39 7% 7% 23%

More students with A grade

Less students failing

Page 12: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Questionnaires

Page 13: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Questionnaires

Understanding – Do students understand how to program with controls in EDPL.

Perceptions – What do students think of EDPL. Confusion – Do controls in EDPL confuse

students? Learning technique – How do they prioritise the

use controls in EDPL.

Strongly Agree – Agree - Don’t know – Disagree - Strongly Disagree1 2 3 4 5

Page 14: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - QuestionnairesUnderstanding - Do students understand how to program

with controls in EDPL.1. The controls in VB are more important than things like loops and

If Statements.

2. I felt that I understood how to program in VB by the end of the first term.

3. Controls in VB are just as important as the programming.

4. I can develop good programs in VB without any programming.

5. I can develop a program in VB with only one control on the form.

1 0 5.1 20.5 2.6 10.3 12.8 5.1 2.6 20.5 10.32 38.5 43.6 56.4 23.1 74.4 61.5 5.1 20.5 61.5 53.83 15.4 7.7 15.4 61.5 2.6 10.3 15.4 10.3 12.8 17.94 46.2 35.9 7.7 5.2 12.8 12.8 56.4 51.3 5.1 15.45 0.0 7.7 0.0 7.7 0.0 2.6 17.9 15.4 0.0 2.6

51 2 3 4 P<0.05

Page 15: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Questionnaires

2006 students thought they understood programming by end of 1st term. Marks would disagree. False sense of understanding.

2006 students thought that they could develop a program using 1 control (20% difference). Actually no need for any controls. Differentiation between programming and controls.

Page 16: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - QuestionnairesPerceptions - What do students think of EDPL6. I felt more comfortable setting control properties rather than

programming in VB.

7. You don’t need controls in VB to program.

8. Setting control properties in VB is as important as the programming.

9. I spend just as much time on designing the screen in VB as I do with programming.

10. I spend a lot of time on designing the user interface in VB when I program.

1 7.7 10.3 2.6 7.7 7.7 2.6 0.0 2.6 7.7 5.12 25.6 35.9 25.6 20.5 64.1 7.7 38.5 43.6 51.3 74.43 30.8 15.4 17.9 12.8 15.4 64.1 12.8 12.8 7.7 7.74 35.9 35.9 48.7 46.2 12.8 10.3 41.0 38.5 30.8 12.85 0.0 2.6 5.1 12.8 0.0 15.4 7.7 2.6 2.6 0.0

6 7 8 9 10P<0.05

Page 17: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Questionnaires

“Setting control properties in VB is as important as the programming.”

64.1% of 2006 students agreed Too much focus on controls

“I spend a lot of time on designing the user interface in VB when I program.”

Large percentage of students agreed with this Over emphasis on moving controls around

Page 18: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Questionnaires

“You don’t need controls in VB to program.” Students think that controls are always needed Unaware of running programs without controls Surprising for 2007 students

Page 19: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - QuestionnairesConfusion - Do controls in EDPL confuse students?11. I found the controls in VB confusing.

12. I found it difficult to understand how the programming linked to controls in VB.

13. I can change the appearance of controls through programming in VB.

14. I feel that the controls in VB are difficult to use.

15. I try not to use too many controls in VB when I program.

1 2.6 2.6 0.0 2.6 20.5 2.6 0.0 2.6 7.7 5.12 17.9 20.5 28.2 23.1 61.5 17.9 10.3 10.3 28.2 43.63 2.6 10.3 10.3 2.6 12.8 48.7 10.3 25.6 28.2 15.44 59.0 56.4 46.2 59.0 5.1 12.8 64.1 56.4 33.3 35.95 17.9 10.3 15.4 12.8 0.0 17.9 15.4 5.1 2.6 0.0

1511 12 13 14 P<0.05

Page 20: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Questionnaires

“I found it difficult to understand how the programming linked to controls in VB.”

2007 students disagreed more than 2006. 2007 student had a better understanding of controls.

“I can change the appearance of controls through programming in VB.”

Much focus on this with 2006 students 2007 students indifferent answer More focus with 2006 students on controls

Page 21: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Questionnaires

“I feel that the controls in VB are difficult to use.” All students happy with using controls.

“I try not to use too many controls in VB when I program.”

2007 agreed with this statement. More focus on programming, less on the controls. Less confusion on how controls used and their

purpose.

Page 22: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - QuestionnairesLearning technique – How do they prioritise the use

controls in EDPL. 16. I find it easier to program in VB without using controls.

17. I design the screen in VB before thinking about the programming.

18. I don’t need to use a lot of controls when I program in VB.

19. The layout of the form is more important than the programming in VB.

20. Controls are as important as the programming in VB.

1 2.6 5.1 7.7 10.3 2.6 7.7 0.0 7.7 5.1 15.42 7.7 5.1 61.5 46.2 51.3 33.3 12.8 35.9 59.0 61.53 23.1 23.1 12.8 10.3 17.9 20.5 17.9 12.8 20.5 5.14 59.0 20.5 17.9 33.3 25.6 35.9 59.0 41.0 15.4 12.85 7.7 46.2 0.0 0.0 2.6 2.6 10.3 2.6 0.0 5.1

16 17 18 19 20P<0.05 P<0.05

Page 23: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Questionnaires

“I find it easier to program in VB without using controls.” Most students disagreed with this More so with 2007 students

“I design the screen in VB before thinking about the programming.”

2006 students focused more on screen design 2007 students disagreed No student strongly disagreed – worrying!

Page 24: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Questionnaires“The layout of the form is more important than the

programming in VB.” More 2007 students agreed with this 2006 students disagreed Undermines findings so far, but interesting area for

further study?

“Controls are as important as the programming in VB.” All students recognise the importance of controls in VB

Page 25: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Interviews

Page 26: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Interviews

“I found it easier without controls.”

“I’d like to do some more proper programming.”

“I was OK until we started using text boxes and stuff.”

“I spent far too long on designing the screen.”

“I liked creating the interface more than the programming.”

Page 27: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Interviews

Themes Initially, controls confused students. Students spent far too much time designing the

interface. 2007 students comfortable with the basic

programming constructs. Enjoyed creating the screen, apart form above

issues.

Page 28: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Results - Interviews

Themes Discussion on what was more important –

controls/programming. 2007 students more comfortable with

programming environment. 2006 students struggled linking code to the

controls.

Page 29: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Discussion

Page 30: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Discussion

No significant differences with results, but an overall increase in marks with 2007 students.

More A grade students and less failures in 2007. 2007 students had a clearer understanding on

how controls were used with programming. Students enjoyed using controls.

Page 31: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Discussion The addition of controls took focus away from

the programming and all students focused more on the design.

2007 students could program better with controls.

All students, once shown controls, spent a lot of time on designing screens.

2007 students had a better understanding of programming.

Page 32: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Conclusions

Page 33: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Conclusions

Event driven programming languages make programming interesting for students.

Too much attention on controls confuses/distract students.

Controls introduced after understanding the basics.

Page 34: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Conclusions

“In my experience the biggest deficiency with many programmers taken on from universities is probably their lack of analysis skills in being able to develop appropriate algorithms.  This may stem from an over-emphasis on interface development skills at university.”

Software Development Manager with Logicom

Page 35: Teaching programming with an event-driven programming language – problems and considerations. University of Wales Institute Cardiff Cardiff School of Management.

Teaching programming with an event-driven programming language – problems and considerations.

University of Wales Institute CardiffCardiff School of Management.

Jason Williams [email protected] Adlam [email protected] Lynne Norris-Jones [email protected] Kelvin Hughes [email protected]