0% found this document useful (0 votes)
16 views27 pages

Understanding Functions in Coding

Session #20 focuses on the concept of functions in programming, including how to write them. It includes multiple activities where participants can try and trace various code snippets using an online interpreter. Additionally, there are assignments for writing session notes and solving related tasks.

Uploaded by

mazen.elmoz
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)
16 views27 pages

Understanding Functions in Coding

Session #20 focuses on the concept of functions in programming, including how to write them. It includes multiple activities where participants can try and trace various code snippets using an online interpreter. Additionally, there are assignments for writing session notes and solving related tasks.

Uploaded by

mazen.elmoz
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

SESSION #20

FUNCTIONS
TOPICS

Functions

01 What is Function?
how to write it?
ACTIVITY#1
Try the following code

You can trace this


code using this
online interpreter
ACTIVITY#1
Output
ACTIVITY#2
Try the following code

You can trace this


code using this
online interpreter
ACTIVITY#2
Output
ACTIVITY#3
Try the following code
ACTIVITY#3
Output
ACTIVITY#4
Try the following code
ACTIVITY#4
Output
ACTIVITY#5
Try the following code
ACTIVITY#5
Output
ACTIVITY#6
Try the following code
ACTIVITY#6
Output
ACTIVITY#7
Try the following code
ACTIVITY#7
Output
ACTIVITY#8
Try the following code
ACTIVITY#8
Output
ACTIVITY#9
Try the following code
ACTIVITY#9
Output
ACTIVITY#10
Try the following code
ACTIVITY#10
Output
ASSIGNMENT

1 NOTES Write session notes

2 SOLVE ASSIGNMENT
ASSIGNMENT
ASSIGNMENT
THANK YOU
FOR YOUR ATTENTION

You might also like