SlideShare a Scribd company logo
1 of 22
• Programlama Sanatını Tanıyabilecek,
• Algoritma nedir? Tanımlayabilecek,
• Problem nedir? Tanımlayabilecek,
• Çevrenizdeki problemlerin farkında olabilecek,
• Problemlerin çözüm aşamalarını içeren algoritma adımlarını oluşturabilecek
• Algoritma adımlarının taşıması gereken özellikleri bileceksiniz.
En genel anlamıyla yaratıcılığın ve hayal gücünün ifadesi olarak anlaşılır.
• Problem Nedir?
• Algoritma Nedir?
• Algoritma Adımları
• Algoritmaların Taşıması Gereken Özellikler
• Bilgisayar Programı Nedir?
• Algoritma Örnekleri
• Algoritma Çalıştırma
Problem Nedir?
Bir Problemin Çözümü İçin…
Problemi
iyi
anlamak
Kısa ve
anlaşılır
biçimde
çözmek
Ve sonucun
doğruluğunu
kontrol etmek
Problem Çözme
1. Kalemtıraşı çıkar.
2. Kalemi al.
3. Çöp kovasının yanına git.
4. Kalemin ucunu aç.
5. Sırana geri dön.
6. Yazmaya devam et.
Peki Ya Bilgisayarlar?
Kodlamadan Önce…
Algoritma
• Algoritma en yalın tanımıyla bir problemin çözüm
aşamalarıdır.
• Diğer bir ifadeyle problemi çözmek için tespit edilen
işlem basamaklarıdır.
Örnek Algoritma
Örnek Algoritma - 2
• Uyanmak (Uyanmadan okula gitmemeliyiz. Gidebilir miyiz? Evet, gidebiliriz fakat bu
istenmeyen bir durumdur.)
• Elimizi yüzümüzü yıkamak. (Aynı şekilde elimizi yüzümüzü yıkamadan da okula
gidebiliriz fakat bu da istenmeyen bir durumdur.)
• Kahvaltı yapmak (Yine aynı şekilde kahvaltı günün en önemli öğünlerindendir…)
• Hazırlık (…)
• Ulaşım araçlarını kullanmak (…)
• Okula varış (…ve problem çözülmüş oldu)
• Gerçek hayatta problem, bir işlemin, otomasyonun ya da bilimsel hesaplamanın
bilgisayarla çözülmesi fikrinin ortaya çıkmasıdır.
• Bu tip fikirlerde insanların bu sorunları beyinle çözmeleri ya imkânsızdır ya da
çok zor ve zaman alıcıdır.
• Bu tip bir sorunu bilgisayarla çözebilme fikrinin ortaya çıkması bir bilgisayar
probleminin ortaya çıkmasına neden olmuştur.
• Bazen de bir işletme veya yönetimin otomasyonunu sağlamak amacı ile bu tip
problemler tanımlanır.
Neden Algoritma Kullanıyoruz?
Neden Algoritma Kullanıyoruz?
• Uyan
• Uyanıp-uyanmadığını kontrol et
• Eğer uyanmadıysan başa dön, uyandıysan devam et…
Programcılık dilinde numaralandırılmış olan bu işlem basamaklarının her birine bir “algoritma adımı”
denmektedir.
Yukarıdaki aşamayı algoritma adımları ile ifade edecek olursak aşağıdaki gibi olur:
1. Uyan
2. Uyanıp-uyanmadığını kontrol et
3. Eğer uyanmadıysan 1. Adıma geri dön, uyandıysan 4.Adımdan devam et
4. Elini-yüzünü yıka…
• Her adım son derece belirleyici olmalıdır ve aynı zamanda hiç bir şey şansa bağlı
olmamalıdır (yukarıdaki örnekte uyanmak adımının geliştirilerek şansa
bırakılmadığı gibi)
• Belirli bir sayıda adım sonunda algoritma sonlanmalıdır (sonsuz bir döngüye
girmemelidir)
• Algoritmalar karşılaşılabilecek tüm ihtimalleri ele alabilecek kadar genel
olmalıdır.

More Related Content

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Programlamaya Giriş ve Algoritma Kavramı

  • 1.
  • 2. • Programlama Sanatını Tanıyabilecek, • Algoritma nedir? Tanımlayabilecek, • Problem nedir? Tanımlayabilecek, • Çevrenizdeki problemlerin farkında olabilecek, • Problemlerin çözüm aşamalarını içeren algoritma adımlarını oluşturabilecek • Algoritma adımlarının taşıması gereken özellikleri bileceksiniz.
  • 3. En genel anlamıyla yaratıcılığın ve hayal gücünün ifadesi olarak anlaşılır.
  • 4.
  • 5. • Problem Nedir? • Algoritma Nedir? • Algoritma Adımları • Algoritmaların Taşıması Gereken Özellikler • Bilgisayar Programı Nedir? • Algoritma Örnekleri • Algoritma Çalıştırma
  • 7. Bir Problemin Çözümü İçin… Problemi iyi anlamak Kısa ve anlaşılır biçimde çözmek Ve sonucun doğruluğunu kontrol etmek
  • 8. Problem Çözme 1. Kalemtıraşı çıkar. 2. Kalemi al. 3. Çöp kovasının yanına git. 4. Kalemin ucunu aç. 5. Sırana geri dön. 6. Yazmaya devam et.
  • 12. • Algoritma en yalın tanımıyla bir problemin çözüm aşamalarıdır. • Diğer bir ifadeyle problemi çözmek için tespit edilen işlem basamaklarıdır.
  • 15. • Uyanmak (Uyanmadan okula gitmemeliyiz. Gidebilir miyiz? Evet, gidebiliriz fakat bu istenmeyen bir durumdur.) • Elimizi yüzümüzü yıkamak. (Aynı şekilde elimizi yüzümüzü yıkamadan da okula gidebiliriz fakat bu da istenmeyen bir durumdur.) • Kahvaltı yapmak (Yine aynı şekilde kahvaltı günün en önemli öğünlerindendir…) • Hazırlık (…) • Ulaşım araçlarını kullanmak (…) • Okula varış (…ve problem çözülmüş oldu)
  • 16. • Gerçek hayatta problem, bir işlemin, otomasyonun ya da bilimsel hesaplamanın bilgisayarla çözülmesi fikrinin ortaya çıkmasıdır. • Bu tip fikirlerde insanların bu sorunları beyinle çözmeleri ya imkânsızdır ya da çok zor ve zaman alıcıdır. • Bu tip bir sorunu bilgisayarla çözebilme fikrinin ortaya çıkması bir bilgisayar probleminin ortaya çıkmasına neden olmuştur. • Bazen de bir işletme veya yönetimin otomasyonunu sağlamak amacı ile bu tip problemler tanımlanır.
  • 19. • Uyan • Uyanıp-uyanmadığını kontrol et • Eğer uyanmadıysan başa dön, uyandıysan devam et…
  • 20. Programcılık dilinde numaralandırılmış olan bu işlem basamaklarının her birine bir “algoritma adımı” denmektedir. Yukarıdaki aşamayı algoritma adımları ile ifade edecek olursak aşağıdaki gibi olur: 1. Uyan 2. Uyanıp-uyanmadığını kontrol et 3. Eğer uyanmadıysan 1. Adıma geri dön, uyandıysan 4.Adımdan devam et 4. Elini-yüzünü yıka…
  • 21.
  • 22. • Her adım son derece belirleyici olmalıdır ve aynı zamanda hiç bir şey şansa bağlı olmamalıdır (yukarıdaki örnekte uyanmak adımının geliştirilerek şansa bırakılmadığı gibi) • Belirli bir sayıda adım sonunda algoritma sonlanmalıdır (sonsuz bir döngüye girmemelidir) • Algoritmalar karşılaşılabilecek tüm ihtimalleri ele alabilecek kadar genel olmalıdır.