0% found this document useful (0 votes)
5 views

Week 1

Uploaded by

Ara K.b
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Week 1

Uploaded by

Ara K.b
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 24

Programming concept & algorithms

Susan Al Naqshbandi, PhD

FALL 2024

Week #1
First Quotes

2
Preferences for participation
- Raising hands and waiting to be called better than jumping in the
discussion

What I prefer my students to call me?


Dr. Susan

3
PC&A class policy

1 2 3 4 5

Don’t be Pay Read Ask Don’t Talk


late attention carefully questions
6 7

No Mobile Be prepared
Computer Lab rules and
regulations
• Focus on the speaker, not your computer screen.
• Refrain from accessing unauthorized websites.
• Keep the laboratory clean and organized.
• No eating or drinking in the lab (only water is allowed).
• Before leaving the lab, make sure to:
 Shut down your computer.
 Dispose of waste and clean your workspace.
 Align chairs properly in their designated spots.
5
Programming Concept
& Algorithms Syllabus

6
What Is Sutainable
Development?
• The 2030 Agenda for Sustainable Development, adopted by all
United Nations members in 2015, created 17 world Sustainable
Development Goals (SDGs).

• The United Nation’s Sustainable Development Goals (SDGs) are a


universal call to action to end poverty, protect the planet and ensure
that all people can enjoy peace and prosperity.

• The goals and targets are interdependent, acknowledging that only a


systemic approach can help us to transform our world and societies.
7
8
9
Home work
Take time to understand each of the SDGs and reflect on how, as a
programmer, you can contribute.

Share your thoughts on which specific goal you can impact and how
your skills can help achieve it.?

10
Group Disscution
Work in pairs and complete the following tasks:

1. Write your names on a piece of paper.


2. Without using any online resources, answer these questions based on
your own understanding:

1. What do you think a program is?


2. What is the difference between a program and programming?

11
What is a computer?
A computer is an electronic device that stores and processes data.
Hardware
Software.

12
Introduction
• Did you ever think about the logic behind computer programming and how
it started?

• What do you do when you face a problem that needs to be solved


logically?

• Do you think solving math equations is hard?

• How to simplify the process of solving problem?


What is
programming?
The term programming means to create (or develop) software, which is
also called a program.

In basic terms, software contains instructions that tell a computer—or a


computerized device—what to do.

Software developers create software with the help of powerful tools called
programming languages.

14
Seasoned programmers try to master as many different programming
languages as they can, giving them access to a vast arsenal of software-
development tools.

The key is to learn how to solve problems using a programming


approach. That is the main theme of this course.

You are about to begin an exciting journey:


learning how to program
15
Algorithm
• What Algorithm means?
• it is a set of steps to solve a problem, so an algorithm is nothing but a
set of steps to solve your problem.
• What exactly is an algorithm? Algorithms explained | BBC Ideas
• What's an algorithm? TED-Ed
• Algorithms - 6 Minute English
Real-life example:

How to bake cake?

How to find the area of a circle?

How to buy the programming concept book from amazon.com?


Step 1:

Step 2:

Step 3:

The algorithm of baking cake


Step 4:

Step 5:

Step 6:

Step 7:
the algorithm for buying a book
from Amazon

• Step 1 – Login to Your Amazon Account


• Step 2 – Search for a Book to Buy
• Step 3 – Review the Book
• Step 4 – Click on “Buy Now”
• Step 5 – Confirm the Address Details
• Step 6 – Confirm the Payment Method
Algorithm for Area of circle
• What is Area of Circle?
• The area of circle is the area enclosed
inside the dimensions of a circle. Formula
for Area of Circle is:
• Area = π*r*r
• To calculate the Area of circle we are
given the radius of the circle as input and
we use the given formula to calculate the
area.
Algorithm for Area of circle

• 1. Start
• 2. Input the value of radius R
• 3. Let PI=3.14
• 4. Calculate area=PI*R*R
• 5. Print area
• 6.End
Class activity
• How to calculate the following
equation y = X2 + 5
• Think about the problem
• Break it down
• Set the input
• Set the output
• Solve this problem by using the
algorithm
Lab diary – week 1

1. Each week, we will have 2 Lab diary


(LD) sheets.
2. Make sure to print it before class.
3. In this sheet you will write you
information, the topic and CLO that
we’ll cover (as I explained)
Thank you
Questions

24

You might also like