0% found this document useful (0 votes)
64 views4 pages

ICT 1 - Course Outline

This course introduces computer fundamentals and programming. Over 17 weeks, students will learn about algorithms, Python programming language, variables, expressions, conditionals, iterations, functions, files and more. Key topics include data types, operators, modules, strings, lists, tuples, dictionaries, object oriented concepts, and transforming sequences. Students will take a midterm exam in week 9 and a final exam in week 18.
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)
64 views4 pages

ICT 1 - Course Outline

This course introduces computer fundamentals and programming. Over 17 weeks, students will learn about algorithms, Python programming language, variables, expressions, conditionals, iterations, functions, files and more. Key topics include data types, operators, modules, strings, lists, tuples, dictionaries, object oriented concepts, and transforming sequences. Students will take a midterm exam in week 9 and a final exam in week 18.
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/ 4

Course Outline

Course Code/ Number: ICT 1/L


Course Title: COMPUTER FUNDAMENTALS AND PROGRAMMING

Course Description:
This course discusses the fundamentals of algorithm development; high-level language and
programming applications; computer solutions of engineering problems.

WEEK CONTENT

1 General Introduction

• Introduction: The Way of the Program


• Algorithms
• The Python Programming Language
• Preview of Control Structures
• Formal and Natural Languages
2 Variables, Statements, and Expressions

• Values and Data Types


• Operators and Operands
• Function Calls
• Function calls as part of complex expressions
• Functions are objects; parentheses invoke functions
• Data Types
• Type conversion functions
• Variables
• Variable Names and Keywords
• Statements and Expressions
• Order of Operations
• Reassignment
• Updating Variables
• Input

Debugging

• How to Avoid Debugging


• Beginning tips for Debugging
• Syntax errors
• Runtime Errors
• Semantic Errors

Page 1 of 4
WEEK CONTENT

3 Python Modules

• Modules
• Importing Modules
• Syntax for Importing Modules and Functionality
• The random module

Python Turtle

• Our First Turtle Program


• Instances: A Herd of Turtles
• Object Oriented Concepts
• User-defined Classes
• Instances
• Attributes
• Methods
• Repetition with a For Loop
4-5 Sequences

• Strings and Lists


• Strings
• Lists
• Tuples
• Index Operator: Working with the Characters of a String
• Index Operator: Accessing Elements of a List or Tuple
• Disambiguating []: creation vs indexing
• Length
• The Slice Operator
• List Slices
• Tuple Slices
• Concatenation and Repetition
• Count and Index
• Count
• Index
• Splitting and Joining
6 Conditionals

• Boolean Values and Boolean Expressions


• Logical operators
• The in and not in operators
• Precedence of Operators
• Conditional Execution: Binary Selection
• Omitting the else Clause: Unary Selection
• Nested conditionals
• Chained conditionals
• The Accumulator Pattern with Conditionals
• Accumulating the Max Value

Page 2 of 4
WEEK CONTENT

7-8 Iteration

• The for Loop


• Flow of Execution of the for Loop
• Strings and for loops
• Lists and for loops
• Using the range Function to Generate a Sequence to Iterate Over
• Iteration Simplifies our Turtle Program
• The Accumulator Pattern
• Traversal and the for Loop: By Index
• Nested Iteration: Image Processing
9 MIDTERM EXAM

10-11 Transforming Sequences

• Mutability
• Lists are Mutable
• Strings are Immutable
• Tuples are Immutable
• List Element Deletion
• Objects and References
• Aliasing
• Cloning Lists
• Mutating Methods
• List Methods
• Append versus Concatenate
• Non-mutating Methods on Strings
• String Format Method
• The Accumulator Pattern with Lists
• The Accumulator Pattern with Strings
• Accumulator Pattern Strategies
12 Dictionaries

• Getting Started with Dictionaries


• Dictionary operations
• Dictionary methods
• Aliasing and copying
• Introduction: Accumulating Multiple Results In a Dictionary
• Accumulating Results From a Dictionary
• Accumulating the Best Key
• When to use a dictionary

Page 3 of 4
WEEK CONTENT

13-14 Functions

• Function Definition
• Function Invocation
• Function Parameters
• Returning a value from a function
• Decoding a Function
• A function that accumulates
• Variables and parameters are local
• Global Variables
• Functions can call other functions (Composition)
• Print vs. return
• Passing Mutable Objects
• Side Effects
15-16 Files

• Reading a File
• Alternative File Reading Methods
• Iterating over lines in a file
• Finding a File in your Filesystem
• Using with for Files
• Recipe for Reading and Processing a File
• Writing Text Files
• CSV Format
• Reading in data from a CSV File
• Writing data to a CSV File
17 READING WEEK

18 FINAL EXAM

Prepared by

Kristine Joy V. Martinez

Faculty, Computer Studies Department

Checked by

Imelda R. Lactuan

Dean, College of Sciences

Page 4 of 4

You might also like