ES107 Computer Programming For EE

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Document Code No.

UNIVERSITY OF SCIENCE AND TECHNOLOGY


FM-USTP-ACAD-01
OF SOUTHERN PHILIPPINES Rev. No. Effective Date Page No.
Alubijid | Cagayan de Oro | Claveria | Jasaan | Oroquieta | Panaon 01 12.01.21 1 of 10

SYLLABUS
College: College of Engineering and Architecture Course Title: Computer Programming for EE
Department: Electrical Engineering Course Code: ES107
Credits: 1 unit
USTP Vision Semester/Year:2nd Semester 2021-2022 Prerequisite(s): None
A nationally - recognized Science Bldg/Rm no.: Co-requisite(s):
and Technology University Instructor: Lorenz Jan C. Crujido Consultation Schedule: Wednesday
providing the vital link between Email: lorenzjan.crujido@ustp.edu.ph Bldg./Rm: EE Faculty Office
education and the economy. Mobile no.: 09679955649 Office Phone no./Local:
I. Course Description:
USTP Mission This course introduces core programming basics—including data types, control structures, algorithm development, and program design with functions—via
• Bring the world of work the Python programming language. The course discusses the fundamental principles of Object-Oriented Programming, as well as in-depth data and
(industry) into the actual higher information processing techniques.
education and training of II. Course Outcomes(CO) Program Outcomes (PO)
students; a b c d e f g h i j k l m
• Offer entrepreneurs the CO1: The students will be able to identify with the basic constituents of
opportunity to maximize their a programming language (variables, data types, expressions, conditional
I I I I I I I I I
business potentials through a statement, and iteration). Apply computer programming process and
gamut of services from product use various design tools to design and code a computer program.
conceptualization to CO2: The students will be able to perform the basic analysis, design
commercialization; debugging for computer programming. Apply flowcharting and the most I I E I I I E E I
• Contribute significantly to the adequate algorithmic solutions to solve problems.
national development goals of CO3: Students will be able to solve problems, explore real-world software
E E E I E I I I E E I
food security and energy development challenges, and create practical and contemporary applications.
sufficiency through Technology
solutions

III. Course Outline:


Document Code No.
UNIVERSITY OF SCIENCE AND TECHNOLOGY
FM-USTP-ACAD-01
OF SOUTHERN PHILIPPINES Rev. No. Effective Date Page No.
Alubijid | Cagayan de Oro | Claveria | Jasaan | Oroquieta | Panaon 01 12.01.21 2 of 10

Program Educational Objectives:


Three to Five years from
Graduation: Course
Allotted Out- Intended Learning Suggested Teaching-Learning Assessment Grading
Topic/s Remarks
Time comes Outcomes(ILO) Readings Activities Tasks/Tools Criteria
PEO1: The graduates are industry-
(CO)
competent electrical practitioners.

PEO2: The graduates are significant 1. 1Describe the basic Conceptual Ref (a) 1. 1. Problem 1. Online Rubrics for
contributors to the national phases of software introduction: topics in Chapter 1 Sets/ Drills Quizzes Lab
development through electrical development: Exercises
computer science,
engineering solutions and innovations. analysis, design, 2. Hands-On (Algorithms
algorithms; modern 2. Online and Code)
coding, and testing activities
computer systems: Assignment
PEO3: The graduates are thought 2. Use strings for the hardware architecture, s Rubrics for
3. Interaction
leaders and catalyst for improvement terminal input and data representation in assignment
in the industry, business, and output of text computers, software (Reaction
academe. 3. Use integers and 3. Exams Paper and
and operating system;
floating-point 4. Final Code)
Installing Python; basic
Program Outcomes: numbers in Projects
syntax, interactive shell,
arithmetic
editing, saving, and
6hrs CO1 operations
The graduates of the Electrical running a script. .
4. Construct
Engineering Program will be able
arithmetic
to: expressions
The concept of
5. Initialize and use
data types;
a.Apply knowledge of mathematics, variables with variables,
Ref (a)
sciences, and engineering to solve appropriate names assignments;
complex engineering problems immutable Chapter 2
Import functions
appropriate to the field of electrical from library variables;
engineering practice. modules numerical types;
6. Call functions with arithmetic
b.Analyze complex electrical arguments and use operators and
engineering problems and formulate expressions;
Document Code No.
UNIVERSITY OF SCIENCE AND TECHNOLOGY
FM-USTP-ACAD-01
OF SOUTHERN PHILIPPINES Rev. No. Effective Date Page No.
Alubijid | Cagayan de Oro | Claveria | Jasaan | Oroquieta | Panaon 01 12.01.21 3 of 10

solutions using principles of returned values comments in the


mathematics and engineering appropriately program;
sciences. 7. Construct a simple understanding
Python program error messages
c.Design, implement, and evaluate that performs
systems, components, or processes to inputs,
meet desired needs and requirements calculations, and
within identified constraints. outputs
Use docstrings to
d.Design and conduct experiments, document Python
analyze and interpret data in electrical programs
engineering fields specifically on
power systems, power electronics, 1. Write a loop to repeat a Conditions, boolean Ref (a) Chapter 1. Problem Sets/ 1. Online Rubrics for
renewable energy, and power sequence of actions a fixed logic, logical operators; 3 Drills Quizzes Lab
economics. Exercises
number of times ranges;
2. Hands-On (Algorithms
Control statements: if- activities 2. Online and Code)
e.Apply knowledge through the use of 2. Construct appropriate else, loops (for, while); Assignment
current techniques, skills, modern
conditions for condition- 3. Interaction s Rubrics for
engineering tools necessary for
controlled loops and Strings and text files; 4. Project based assignment
electrical engineering practice. (Reaction
selection statements manipulating files and
directories, os and sys 3. Exams Paper and
f.Discuss contemporary issues CO1 & 4. Final Code)
12hrs 3. Use logical operators to modules; text files: Ref (a)
involving societal, health, safety, CO2 Projects
professional, ethical, legal, and cultural construct compound reading/writing text and Chapter 4 Rubric for
concerning the practice of electrical Boolean expressions numbers from/to a file; project
engineering profession. creating and reading a
4. Use a selection formatted file (csv or
g.Explain the effects of electrical statement and a break tab-separated).
engineering solutions in a statement to exit a loop String manipulations:
comprehensive societal, economics that is not entry-controlled subscript operator,
and environmental context for indexing, slicing a string;
sustainable development goals. strings and number
Document Code No.
UNIVERSITY OF SCIENCE AND TECHNOLOGY
FM-USTP-ACAD-01
OF SOUTHERN PHILIPPINES Rev. No. Effective Date Page No.
Alubijid | Cagayan de Oro | Claveria | Jasaan | Oroquieta | Panaon 01 12.01.21 4 of 10

5. Access individual system: converting


h.Recognize professional, social, and characters in a string strings to numbers and
ethical responsibility for the practice of vice versa.
electrical engineering profession. 6. Use library functions to Binary, octal,
access and navigate a file hexadecimal numbers
i.Work effectively as an individual and system
as a member or a leader in a trans–
disciplinary and multi–cultural teams 7. Construct lists and
recognizing the different roles within a
access items in those lists
team to accomplish a common goal.
8. Construct dictionaries Lists, tuples, and
j.Proficient in business and technical dictionaries; basic list
and access entries in those
communication, and internationally operators, replacing,
accepted Electrical Engineering dictionaries
inserting, removing an
standards.
9. Determine whether a list element; searching and
or a dictionary is an sorting lists; dictionary
k.Use engineering and management
appropriate data structure literals, adding and
principles as a member or a leader in a
team, to manage projects and in for a given application removing keys,
multidisciplinary environment. accessing and replacing
10. Explain why functions values;
l.Recognize the need to be updated of are useful in structuring traversing dictionaries. Ref (a)
the developments in the specific field code in a program Chapter 5
of practice of electrical engineering Design with functions:
and be prepared to engage in life – 11. Employ top-down hiding redundancy,
long learning design to assign tasks to complexity; arguments
functions and return values;
m.Participate in the generation of new formal vs actual
knowledge and advancement of 12. Define a function with arguments, named
existing knowledge, in research and required and optional arguments.
development projects, and in Program structure and
parameters
technopreneurial activities in the areas design.
Document Code No.
UNIVERSITY OF SCIENCE AND TECHNOLOGY
FM-USTP-ACAD-01
OF SOUTHERN PHILIPPINES Rev. No. Effective Date Page No.
Alubijid | Cagayan de Oro | Claveria | Jasaan | Oroquieta | Panaon 01 12.01.21 5 of 10

of power systems, power electronics, 13. Use higher-order Recursive functions.


renewable energy, and power functions for mapping,
economics aligned to regional and filtering, and reducing
national development agenda or goals.
Ref (a)
Chapter 6

Code Descriptor
I Introductory Course MIDTERM EXAMINATION
3 hrs
E Enabling Course
D Demonstrative Course 1. Online Rubrics for
1. Use the concepts of Simple Graphics and Ref(a)
Code Definition object-based 1. Problem Sets/ Quizzes Lab
Image Processing: Chapter 7
Drills Exercises
An introductory programming—classes,
I “turtle” module; (Algorithms
course to an outcome objects, and methods— 2. Hands-On 2. Online and Code)
to solve a problem simple 2d drawing -
activities Assignment
A course that 2.Develop algorithms colors, shapes; digital s Rubrics for
E strengthens the that use simple images, image file assignment
outcome CO1 & graphics operations to (Reaction
formats, image
30hrs CO2 & draw two-dimensional 3. Exams Paper and
A course processing Simple 4. Final Code)
D demonstrating an CO3 shapes
image manipulations Projects
outcome Write a nested loop to
process a two- with 'image' module
dimensional grid (convert to bw,
greyscale, blur, etc).
Document Code No.
UNIVERSITY OF SCIENCE AND TECHNOLOGY
FM-USTP-ACAD-01
OF SOUTHERN PHILIPPINES Rev. No. Effective Date Page No.
Alubijid | Cagayan de Oro | Claveria | Jasaan | Oroquieta | Panaon 01 12.01.21 6 of 10

1. Determine the Classes and OOP: Ref (a) 1. Problem 1. Online Rubrics for
classes, objects, Chapter 9 Sets/ Drills Quizzes Lab
attributes and behavior of
Exercises
a class of objects required attributes and 2. Hands-On (Algorithms
by a program methods; defining activities 2. Online and Code)
classes; design with Assignment
2. List the methods, classes, data 3. Interaction s Rubrics for
modeling; persistent assignment
including their parameters (Reaction
and return types, that storage of objects . 3. Exams Paper and
realize the behavior of a OOP, continued: 4. Final Code)
class of objects inheritance, Projects
polymorphism,
3. List the methods, operator overloading
12hrs CO2 including their parameters (_eq_, _str_, etc);
and return types, that abstract classes;
realize the behavior of a exception handling, try
class of objects block
4. Define a constructor,
instance variables, and
methods for a class of
objects

5. Transfer objects to and


from files

1. program Graphical user Ref(a) 1. Problem 1. Online Rubrics for


C01, 2. Define a new class interfaces; event- Chapter 8 Sets/ Drills Quizzes Lab
C02 & Exercises
using subclassing driven programming
C03 2. Hands-On (Algorithms
and inheritance paradigm; tkinter activities and Code)
Document Code No.
UNIVERSITY OF SCIENCE AND TECHNOLOGY
FM-USTP-ACAD-01
OF SOUTHERN PHILIPPINES Rev. No. Effective Date Page No.
Alubijid | Cagayan de Oro | Claveria | Jasaan | Oroquieta | Panaon 01 12.01.21 7 of 10

3. Instantiate and lay module, creating 2. Online


out different types simple GUI; buttons, 3. Interaction Assignment Rubrics for
s assignment
of window labels, entry fields, (Reaction
components, such dialogs; widget Paper and
as labels, entry attributes - sizes, 3. Exams Code)
fields, and fonts, colors layouts, 4. Final
command nested frames Projects
buttons, in a
window’s frame

1. Measure the Searching, Sorting, Ref(a) 1. Problem 1. Online Rubrics for


performance of an and Complexity Chapter 11 Sets/ Drills Quizzes Lab
Exercises
algorithm by obtaining Analysis 2. Hands-On (Algorithms
running times and activities 2. Online and Code)
instruction counts with Assignment
different data sets 3. Interaction s Rubrics for
4. assignment
2. Analyze an (Reaction
algorithm’s 3. Exams Paper and
4. Final Code)
performance by
Projects
determining its order of
complexity, using big-O
notation

3. Design, implement, and


analyze search and sort
algorithms
Document Code No.
UNIVERSITY OF SCIENCE AND TECHNOLOGY
FM-USTP-ACAD-01
OF SOUTHERN PHILIPPINES Rev. No. Effective Date Page No.
Alubijid | Cagayan de Oro | Claveria | Jasaan | Oroquieta | Panaon 01 12.01.21 8 of 10

Describe what threads do Multithreading, Ref(a) 1. Problem 1. Online Rubrics for


and how they are Networks, and Chapter 10 Sets/ Drills Quizzes Lab
Exercises
manipulated in an Client/Server 2. Hands-On (Algorithms
application Programming; activities 2. Online and Code)
2. Code an algorithm to introduction to HTML, Assignment
run as a thread interacting with 3. Interaction s Rubrics for
3. Use conditions to solve remote HTML server, 4. Project Based assignment
a simple synchronization (Reaction
running html-based 3. Exams Paper and
C01, problem with thread queries, downloading 4. Final Code)
C02 & 4. Use IP addresses,
pages; CGI Projects
C03 ports, and sockets to Rubric for
programming,
create a simple Project
programming a
client/server application
simple CGI form
on a network
5. Restructure existing
applications for
deployment as client/
server applications on a
network
FINALTERM EXAMINATION
3hrs

IV. Course Requirements:


1. Class attendance and participation policy:
• Attendance refer to Student Handbook
2. Course Readings/Materials:
(a) • Fundamentals of Python: First Programs by Kenneth Lambert 2nd Ed.
• Fundamentals of Python Programming by Richard Halterman 2nd Ed
• Think Python by Allen Downey 2nd Ed
(b) Supplies needed (calculators, softwares, workbooks, disks, CDs, lab supplies, art supplies, etc.)
Document Code No.
UNIVERSITY OF SCIENCE AND TECHNOLOGY
FM-USTP-ACAD-01
OF SOUTHERN PHILIPPINES Rev. No. Effective Date Page No.
Alubijid | Cagayan de Oro | Claveria | Jasaan | Oroquieta | Panaon 01 12.01.21 9 of 10

• Anaconda/Jupyter Notebook software


• PyCharm software
• Computer Lab/Laptop
(c) URLs for online resources
• YouTube
3. Assignments, Assessment, and Evaluation
(a) Policy concerning homework
• To be pass every meeting
(b) Policy concerning make-up exams
• refer to student handbook
(c) Policy concerning late assignments/requirements
• assignment/s should be submitted at the start of the class (and not later than 15 min. from start of class) late submission of
assignments will not be accepted
• late submission of requirement/s will have corresponding deduction
(d) Preliminary information on term papers or projects, with due dates
• late projects/reaction paper will be given equivalent deduction per hour
(e) List of assignments :
a. Student should read atleast one chapter for the quiz every week.
b. To apply their learning students will create a practical application such as building machines/technology before/after periodic Exam
(f) Description in detail of grading processes and criteria (how many Lab Activity, quiz, exam, reaction paper and amount of homework, etc.)
or the GRADING POLICY

(Passing Percentage is 70%)

Periodic Grade: Grade:


Periodic Exam - 40 % Midterm = 40%CO1 + 60%CO2 - 50%
Lab Exercises/Report - 30 % Final = 20%CO1 + 40%CO2 + 40% CO3 - 50%
Hands On Exercises - 30% Final Gade = 100%
-
100 %
Document Code No.
UNIVERSITY OF SCIENCE AND TECHNOLOGY
FM-USTP-ACAD-01
OF SOUTHERN PHILIPPINES Rev. No. Effective Date Page No.
Alubijid | Cagayan de Oro | Claveria | Jasaan | Oroquieta | Panaon 01 12.01.21 10 of 10

(g) Subject-to-change notice - TBA


(h)) Date and time of Midterm and Final Exam - TBA
4. Use of VLS/email/edmodo in class to distribute course materials, to communicate and collaborate online, to post grades, to submit assignments,
and to give you online quizzes and surveys.

Disclaimer:

Every attempt is made to provide a complete syllabus that provides an accurate overview of the subject. However, circumstances and events make it necessary for the instructor to modify the syllabus during the semester. This may depend, in part, on the progress, needs, and experiences of the students.

Prepared by: Recommending Approval: Approved by:

Engr. Lorenz Jan C. Crujido, REE Engr. Clark Darwin M. Gozon, MOE Dr. Lory Liza D. Bulay-og
Instructor 1 Chairman Dean

You might also like