0% found this document useful (0 votes)
2 views6 pages

Course Outline 2024

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views6 pages

Course Outline 2024

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

National University of Science and Technology

Faculty of Applied Science


Department of Informatics and Analytics
BSc. (Hons.) Informatics
SIA1204 Programming Concepts and Development using
Python

Year: 2024 Semester: II

Lecturer: Mrs C. Chivasa Contact:


0773961494
catherine.siban
[email protected]

Synopsis:
Elementary principles of programming, using python including iteration, recursion, and
binary representation of data. Object oriented approach to programming using python.

Description of the Course:


This course introduces the concepts associated with the Python programming language.
The student gains an overview of all aspects of Python programming from algorithm
development to code implementation. The course will further prepare the student for
later courses in data sciences.
National University of Science and Technology
Faculty of Applied Science
Department of Informatics and Analytics
BSc. (Hons.) Informatics
SIA1204 Programming Concepts and Development using
Python

Course Content:

1: Course Introduction, Intro to Programming and The Python Language,


Variables, Conditionals, Jupyter Notebook, and IDLE

Learning Objectives
Identify core aspects of programming and features of the Python language
Use different tools for writing and running Python code
Understand and apply core programming concepts like conditionals and variables
Write code to process user input and do basic error checking
Topics
 Introduction to Programming
 Introduction to Python
 Configuring Python and Tools
 The Python Language
 Downloading & Installing IDLE (Python’s Integrated Development & Learning
Environment)
 Python Scripts
 Variables
 Flow Control: Conditionals
 Catching Errors

2: Intro to Lists, Loops, and Functions


Learning Objectives
Understand and apply core programming concepts like data structures, loops, and func-
tions
Create a list to collect information as a sequence
Define custom functions with proper documentation
Write code to manipulate text
Develop a fully-functional Python program with functions to analyse numbers
Topics
 Data Structures: Introduction to Lists
 Flow Control: Loops
 ‘for’ Loops
 ‘while’ Loops
National University of Science and Technology
Faculty of Applied Science
Department of Informatics and Analytics
BSc. (Hons.) Informatics
SIA1204 Programming Concepts and Development using
Python

 Functions
 Modular Programming

3: More with Lists, Strings, Tuples, Sets, and PyCharm


Learning Objectives
Use PyCharm, an industry standard IDE for writing and running Python code
Discover more operations with lists
Understand and apply data structures including tuples and sets for storing and
manipulating information
Write more advanced code to dissect text
Topics
 Introduction to PyCharm
 Data Structures: More About Lists
 Strings
 Data Structures: Tuples
 Data Structures: Sets

4: Dictionaries and Files


Learning Objectives
Write code to read and write to files
Understand and apply dictionaries to manage data
Create fully-functional dynamic Python programs using data structures, user-defined
functions, and file I/O
Think analytically about complex problems
Topics
 Data Structures: Dictionaries
 Files

Course Assessment
This course will use a variety of assessments. Ungraded code-along lectures
allow students to practice along with the instructor, and self-assess their
ability to apply the concepts and skills they learned, before attempting the
graded assessments. Graded assessments include:

● Quizzes to check your knowledge in each module


National University of Science and Technology
Faculty of Applied Science
Department of Informatics and Analytics
BSc. (Hons.) Informatics
SIA1204 Programming Concepts and Development using
Python

● Programming assignments to test your level of understanding

Learners must earn a passing score on all assessments:

● Homework Assignments: 60% or above

● Quizzes: 75% or above

Recommended Resources

● Python Crash Course, by Eric Matthes:


https://nostarch.com/pythoncrashcourse2e

(You should also be able to find it on the O’Reilly site through the UPenn
library)

● Think Python, by Allen B. Downey:


https://greenteapress.com/wp/think-python/

● Automate the Boring Stuff with Python, by Al Sweigart:


https://automatetheboringstuff.com/

● Python in Easy Steps, by Mike McGrath:


https://www.amazon.com/Python-easy-steps-Covers-3-7/dp/1840788127/

Communication and Support


You can communicate with lecturer and TA and other students through the
discussion forums. Please reach out to us through the discussion forum with
any questions about the course content. Please allow at least 48 hours to
receive a response from a TA or Lecturer.

Note: Never post code or solutions to assignments on the discussion forum. If


you are having difficulty with code or solutions, a TA may provide an email
address to send it in for private assistance.
National University of Science and Technology
Faculty of Applied Science
Department of Informatics and Analytics
BSc. (Hons.) Informatics
SIA1204 Programming Concepts and Development using
Python

Tutorial Questions

Session-No S.No List of Programs

1 A) Create a list and perform the following methods

1) insert() 2) remove() 3) append() 4) len() 5) pop() 6)clear()

1 B) Create a dictionary and apply the following methods

2 1) Print the dictionary items 2) access items 3) useget() 4)change values 5) use len()

3 C) Create a tuple and perform the following methods

1) Add items 2) len() 3) check for item in tuple4)Access items

1 A) Write a python program to add two numbers.

B) Write a python program to print a number is positive/negative using if-else.

2 2

3 C) Write a python program to find largest number among three numbers.


National University of Science and Technology
Faculty of Applied Science
Department of Informatics and Analytics
BSc. (Hons.) Informatics
SIA1204 Programming Concepts and Development using
Python

4 D) Write a python Program to read a number and display corresponding day using
if_elif_else?

A) Write a program to create a menu with the following options

1. TO PERFORM ADDITITON

1 2. TO PERFORM SUBSTRACTION

3. TO PERFORM MULTIPICATION

3 4. TO PERFORM DIVISION

Accepts users input and perform the operation accordingly. Use functions with
arguments.

B) Write a python program to check whether the given string is

2 palindrome or not.

3 C) Write a python program to find factorial of a given number using functions

D) Write a Python function that takes two lists and returns True if they are equal
otherwise false
4

1 A) Write a program to double a given number and add two numbers using
lambda()?
4
2 B) Write a program for filter() to filter only even numbers from a given list.

You might also like