Page 8 - Bilgisayar Bilimi-Kur 1- 2017-2018
P. 8
3.6.2. Alfanümerik/Karakter Veri ...........................................................................................................................................................................................................................................................................................50
3.6.3. Mantıksal Veri .....................................................................................................................................................................................................................................................................................................................................50
3.7. Bilgisayar Veriyi Nasıl Saklar? ..........................................................................................................................................................................................................................................................................................52
3.8. Sabit ve Değişkenler ..........................................................................................................................................................................................................................................................................................................................52
3.9. Fonksiyonlar ...................................................................................................................................................................................................................................................................................................................................................53
3.10. Operatörler ....................................................................................................................................................................................................................................................................................................................................................55
3.11. İşlem Önceliği ..........................................................................................................................................................................................................................................................................................................................................55
3.12. İfade ve Eşitlikler ...............................................................................................................................................................................................................................................................................................................................56
4. PROBLEM ÇÖZME YAKLAŞIMLARI
4.1. Bilgisayar ile Nasıl İletişim Kurulur? ...................................................................................................................................................................................................................................................................59
4.2. Çözümün Düzenlenmesi .........................................................................................................................................................................................................................................................................................................59
4.2.1. Problemin Analiz Çizelgesi ...............................................................................................................................................................................................................................................................................60
4.2.2. Etkileşim Çizelgesi Geliştirme ...................................................................................................................................................................................................................................................................60
4.2.3. GSÇ Çizelgesi .........................................................................................................................................................................................................................................................................................................................61
4.2.4. Algoritmalar ...............................................................................................................................................................................................................................................................................................................................61
4.2.5. Akış Şemaları............................................................................................................................................................................................................................................................................................................................61
4.3. Algoritma Yönergeleri ve Akış Şeması Sembolleri .........................................................................................................................................................................................................................62
4.4. Haricî ve Dâhilî Dokümantasyon .............................................................................................................................63
4.5. Çözümün Programlanması/Kodlanması ...................................................................................................................63
5. PROGRAMLAMA YAPISI
5.1. Programlama Yapısına Giriş ................................................................................................................................................................................................................................................................................................65
5.1.1. Göstergeler .....................................................................................................................................................................................................................................................................................................................................65
5.1.2. Modüller ve İşlevleri ..................................................................................................................................................................................................................................................................................................... 72
5.1.3. Bağlılık ve Birleşim ........................................................................................................................................................................................................................................................................................................ 72
5.1.4. Yerel ve Global Değişkenler ............................................................................................................................................................................................................................................................................. 73
5.1.5. Parametreler ................................................................................................................................................................................................................................................................................................................................ 74
5.1.6. Dönen Değerler .................................................................................................................................................................................................................................................................................................................... 75
6. DOĞRUSAL MANTIK YAPISI İLE PROBLEM ÇÖZME
6.1. Doğrusal Mantık Yapısı ............................................................................................................................................................................................................................................................................................................. 78
6.2. Çözüm Üretilmesi .............................................................................................................................................................................................................................................................................................................................. 78
6.2.1. Problem Analiz Çizelgesi ..................................................................................................................................................................................................................................................................................... 79
6.2.2. Etkileşim Çizelgesi ........................................................................................................................................................................................................................................................................................................ 79
6.2.3. GSÇ Çizelgesi ........................................................................................................................................................................................................................................................................................................................ 80
6.2.4. Birleşim Çizelgesi ve Veri Sözlüğü ...................................................................................................................................................................................................................................................... 80
6.2.5. Algoritma ve Akış Şemaları ............................................................................................................................................................................................................................................................................. 81
6.2.6. Çözümün Test Edilmesi: .................................................................................................................................................................................................................................................................................. 82
6.3 Özet ............................................................................................................................................................................................................................................................................................................................................................................... 82
7. KARAR MANTIK YAPISI İLE PROBLEM ÇÖZME
7.1. Karar Mantık Yapısı .......................................................................................................................................................................................................................................................................................................................... 84
7.1.1. Tek Koşullu Yapılar ......................................................................................................................................................................................................................................................................................................... 85
7.1.2. Çok Koşullu Karar Yapıları .............................................................................................................................................................................................................................................................................. 86
7.1.3. İç İçe Karar Yapıları ....................................................................................................................................................................................................................................................................................................... 86
7.2. Düz Mantık Kullanımı ............................................................................................................................................................................................................................................................................................................... 87
7.3. Pozitif Mantık Kullanımı ....................................................................................................................................................................................................................................................................................................... 89
VIII