Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 12

Slide:1 - Programming Flow and Syntax

BEP2073

Programming
for Engineers
>> Revision
>>.
Course Learning Outcome
CLO1 Outline the operational procedure of programming
language.
CLO2 Outline the object-oriented attribute in the programming
flow.
CLO3 Evaluate the program structure on function, branching
and condition.
CLO4 Develop a programming/syntax solution for chemical
engineering case study.
CLO5 Differentiate between solution error and syntax error for
complex engineering case study
Face to Face Student
(F2F) Preparation
Topic/Content SLT
Time (SPT)
L T P O L T P O
1. Programming Flow and
syntax
Procedure of the writing 6 6 12
pseudocode and move on to
specific programming
language.
2. Object-oriented: variable,
types and class
Basic element of object- 8 8 16
oriented usage, operational
and implementation.
3. Control flow: Branching
and repetition
Programming procedure on 8 8 16
the interaction of data and
statement for option,
requirement and condition.
4. Function, method and class
Functions as a type, 11 11 22
anonymous functions and list
comprehensions codes
5. Data science
Big data and real-world 9 9 18
analytical solution
Total 42 42 84
Revision
>> Slide 1
>> Programming Flow and Syntax
Procedure of the writing pseudocode and move on to
specific programming language.

>> Slide 2
>> Object-oriented: variable, types and class
Basic element of object-oriented usage, operational
and implementation.

>> Slide 3
>> Function, method and class
Functions as a type, anonymous functions and list
comprehensions codes.
Revision
>> Slide 1
>> Programming Flow and Syntax
Procedure of the writing pseudocode and move on to
specific programming language.
Revision
>> Slide 2
>> Object-oriented: variable, types and class
Basic element of object-oriented usage, operational
and implementation.

Operator Description Example


= Assignment num = 7
+ Addition num = 2 + 2
- Subtraction num = 6 - 4
* Multiplication num = 5 * 4
/ Division num = 9 / 2
// Integer division num = 9 // 2
% Modulo num = 9 % 2
** Exponent num = 9 ** 2
Revision
>> Slide 3
>> Function, method and class
Functions as a type, anonymous functions and list
comprehensions codes.

def name_of_function (input_arguments):


body of function

You might also like