0% found this document useful (0 votes)
13 views2 pages

COMP-122 for Non-majors Course Outline

The document outlines the module 'Introduction to Computer Programming for Non-majors' at Malawi University of Science and Technology, aimed at introducing basic programming techniques to first-year students. It includes details on module aims, learning outcomes, indicative content, assessment methods, and prescribed texts. The course covers programming tools, syntax, control structures, functions, data structures, and file handling, with a balanced assessment of exams and continuous evaluation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

COMP-122 for Non-majors Course Outline

The document outlines the module 'Introduction to Computer Programming for Non-majors' at Malawi University of Science and Technology, aimed at introducing basic programming techniques to first-year students. It includes details on module aims, learning outcomes, indicative content, assessment methods, and prescribed texts. The course covers programming tools, syntax, control structures, functions, data structures, and file handling, with a balanced assessment of exams and continuous evaluation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

MALAWI UNIVERSITY OF SCIENCE AND TECHNOLOGY

MALAWI INSTITUTE OF TECHNOLOGY

1. Programme(s): Computer Science Non-majors


2. Module Title: Introduction to Computer Programming for Non-majors
3. Module Code: COMP-122
4. Year: 1
5. Credit: 10
6. Presented to: Senate
7. Presented by: Malawi Institute of Technology
8. Lecture (hrs/wk): 2
9. Tutorial/Lab (hrs/wk): 2
10. Prerequisites: COMP-111, MATH-111
11. Co-requisites: None
12. Module Aims:
To introduce computer programming to students with an emphasis on the basics of good
programming techniques and style.

13. Intended Learning Outcomes


On completion, the student should be able to:
a) Translate a problem specification into a corresponding computer program
b) Demonstrate effective debugging techniques.
c) Determine proper control structures for implementation of problem solutions.
d) Code programs that read/write files
e) Use control structures and functions to implement programs
f) Define and manipulate elementary data structures
g) Produce design, testing and maintenance documentation for programs.

14. Indicative Content


a) Programming Tools – language versions, installation, IDLE, interactive consoles
b) Programming syntax – variables and naming rules; comments, syntax errors (includes
NameError, TypeError and IndentationError); multiple assignments
c) Numeric Types and Operators - Integer, float, and complex number; type casting,
arithmetic operators, operator precedence and expressions
d) Strings – single quotes, double quotes, and triple quotes; print(f“ ”), slicing methods,
useful string functions (split, find, replace, upper, lower, len); interact with users
e) Control Structures – Boolean type, relational operators, logical operators, if-elif-else
statements, and nested if-elif-else statements; for loop and while loop (include range
function), escaping statements (break, continue)
f) Functions – writing pseudocode, converting pseudocode to program, converting
pseudocode to a function, defining function parameters, calling functions, the return
statement.
g) Data Structures using lists and dictionaries – creating lists, traversing lists, and in
operator; built-in list functions (append, remove, len); lists comprehension,
multidimensional lists, lists vs tuples vs dictionaries, traversing dictionaries
h) Work with Files – read from and write to files (csv and txt formats); basic exception
handling

15. Assessment
a) End of module examination – 50%
b) Continuous assessment (Quizzes, Tests, Assignments, Labs) – 50%

16. Teaching and Learning Methods / Activities


Lectures, tutorials, programming assignments, presentations and projects.

17. Prescribed texts


Sweigart, A. (2019). Automate the boring stuff with Python: practical programming for
total beginners. No Starch Press.

Shaw, Z. A. (2017). Learn python 3 the hard way: A very simple introduction to the
terrifyingly beautiful world of computers and code. Addison-Wesley Professional.

18. Recommended texts


Matthes, E. (2019). Python Crash Course: A hands-on, project-based introduction to
programming. No Starch Press.

Lutz, M. (2014). Python Pocket Reference: Python In Your Pocket. " O'Reilly Media,
Inc.".

19. Date: 23rd February, 2021.

You might also like