Course info
Course Details
Course Code |
COMP 420/COMP 314 |
Course Name |
EVENT DRIVEN PROGRAMMING |
Credit Hours |
3.5 |
Lecturer |
Mr Mogoi OB |
Email Address |
bartmogoi@kisiiuniversity.ac.ke |
Prerequisite: None
Contact Hours: Lectures 45 and Practical/Tutorials 15
1.0 Purpose of the course
This course introduces computer programming using the Visual BASIC programming language with object-oriented programming principles. Emphasis is on event-driven programming methods, including creating and manipulating objects, classes, and using object-oriented tools such as the class debugger.
1.1 Expected learning outcome of the course;
By the end of the course the learner will be will be able to:
i. Design, create, build, and debug Visual Basic applications.
ii. Write and apply decision structures, repetitive structures for determining different operations.
iii. Write Windows applications using forms, controls, and events.
iv. Develop programs using VB and connect to database applications
1.2 Course Content
Introduction to Event-Driven Programming (EDP) paradigm, Control-driven Vs. Event-driven Programs, Events and Events Generation in EDP, Event Handlers and Event Handling Process EDP Languages. Event-Driven Programming in Visual Basic: Introduction to Visual Programming and Visual Basic.net, Components of Visual Basic: GUI, programming language, IDE, Entering the IDE: menu bar, toolbars, toolbox, form window, developing a Visual Basic Project. Basics of Visual Basic programming language: Variable declaration, data types and assigning values to variables, Loops: For…Next, While…Wend, Do…Loop While … and Do While….Loop, Conditional statements: If…then, if...then...else, Select case, Common Visual Basic Controls and EDP. Databases, Properties and methods of the data control, ADO objects, Properties and methods of the record-set object, Programs connecting to Database
Week |
Topic |
Sub-Topics |
|
1 |
Introduction to Event-Driven Programming (EDP) paradigm |
· Concept Definition · Event Driven Programming Applications · Control-driven Vs. Event-driven Programs · Key concepts/components of event-driven programming: Ø Event Ø Event handler Ø Event Loop Ø Asynchrony/Event Queue |
|
2 |
Events and Events Generation in EDP |
· Concept Definition · Types of Events · Event Handlers · Handling Process · Key Features And Characteristics Of Event-driven Programming Ø Service-Oriented Ø Time-Driven Ø Trigger Functions Ø Events Ø The Simplicity of Programming and Ease of Development |
|
3 |
EDP Languages |
· C # events · Java · Delphi programming language. · Perl events and DAEMON daemons and their PRIO priorities. |
|
4 |
Event-Driven Programming in Visual Basic
|
· Introduction to Visual Programming · Visual Basic.net |
|
5 |
Components of Visual Basic: |
· GUI, · Programming language, · IDE, |
|
6 |
CAT 1 |
• PRACTICAL ASSIGNMENT |
|
6 |
Entering the IDE: |
· Menu bar, · Toolbars, · Toolbox, · Form window, · Developing a Visual Basic Project. |
|
7 |
Basics of Visual Basic programming language: |
|
· Variable declaration, · Data types Ø Integer Ø Double Ø Long Ø Float Ø String Ø Char Ø Boolean · Assigning values to variables |
8 |
Loops: |
|
· For…Next, · While…Wend, · Do…Loop · While … and · Do While….Loop |
9 |
Conditional statements |
· If…then, · if...then...else, · Select/Switch case |
|
9 |
CAT 2 |
CAT 2 PRACTICAL PROJECT PRESENTATION |
|
10 |
Common Visual Basic Controls and EDP |
Ø Databases, Ø Properties and methods of the data control, Ø ADO objects, Ø Properties and methods of the record-set object, Ø Programs connecting to Database |
|
11 |
ADMINISTRATION OF EXAMS |
SEMESTER EXAMS |
|
12 |
ADMINISTRATION OF EXAMS |
SEMESTER EXAMS |
1.4 Mode of delivery:
The course will be taught by using lectures, practical demonstrations, and Computer lab
Practicals using relevant software, tutorials and assignments.
1.5 Instructional Materials and/or Equipment:
Textbooks, hand-outs, LCD projectors, laptops/computers installed with VB, chalk/white boards, simulation DVDs.
1.6 Course assessment
Course work (Assessments and tests) 30%
Final Examination 70%
Total 100%
1.7Core Reading Materials for the course
i. Jose, G., (2004), Object-Oriented Programming: From problem solving to Java, Laxmi Publications (2004), ISBN: 81-7008-625-6
ii. Mohit, M., (2010), Programming with VB, Laxmi Publications, (1st edition), ISBN: 978-93 80298-375
1.8 Recommended Reference Materials
i. Karthika V., (2011), Programming in VB.net, Laxmi Publications, (1sted), ISBN: 979-93-80856-
94-0
- Teacher: Barthlomew Mogoi