Programlama Süreci.

Slides:



Advertisements
Benzer bir sunumlar
Do you know who I am? Kim olduğumu biliyor musun?.
Advertisements

Alakalı müşterileri hedefleyin. Google ile Yeniden Pazarlama Remarketing with Google. Target customers who are already showing interest in your business.
I ASİMO I ASİMO PREPARED: CENGİZ MURAT TEKİNBÜĞRÜ English Course Presentation TURKEY Mechatronics Engineering at SAKARYA UNIVERSITY PREPARED: CENGİZ.
Atama ve eşleme (eşleştirme) problemleri (Matching and Assignment problems)
Bir Problemin Programa Dönüştürülme Süreci
21. Yüzyılda Tıpta Kök Hücrenin Yeri. “ I magination is more Important than knowledge ” Albert Eistein.
Hareket halindeki insanlara ulaşın.Mobil Arama Ağı Reklamları Reach customers with Mobile Search Network.
EXPRESSING OPINIONS ( fikirleri belirtme)
Programlama Araçları Metin Editörleri Araçlar
NOUN CLAUSES (İSİM CÜMLECİKLERİ).
UNIT- 3 OUR NATURAL HERITAGE.
Bilgisayarlar kodu nasıl işler?
Kampanyanızı optimize edin. Görüntülü Reklam Kampanyası Optimize Edici'yi Kullanma Display Ads Campaign Optimizer. Let Google technology manage your diplay.
INTRODUCTION TO JAVASCRIPT. JAVASCRIPT ► JavaScript is used in millions of Web pages to improve the design, validate forms, detect browsers, create cookies,
Yapısal Programlama Yüksek Düzeyli Dillerin Gelişim Süreci – , Fortran (by IBM), for creating scientific and engineering applications, first commercial.
S ÜLEYMAN Ş AH ÜN İ VERS İ TES İ DERS KAYIT İŞ LEMLER İ / COURSE REGISTRATION PROCESS.
21/02/2016 A Place In My Heart Nana Mouskouri « Istanbul « (A Different Adaptation)
SORU KELİMELERİ TEOG SINAVINDA HAYAT KURTARIR!
Superstatious. Two people should never wash their hands together in the same water - this will lead to a quarrel between them. (İki insan aynı suda ellerini.
ULUBATLI HASAN PRIMARY SCHOOL (ULUBATLI HASAN İLKÖĞRETİM OKULU) BERGAMA, İZMİR TURKEY.
MUSIC FOR COMENIUS BROTHER HOOD NEVER ENDS BROTHERHOOD NEVER ENDS…. *We are not going to give up yet *It's time for us to make our move *We fed up with.
SIK kullanılan CÜMLELER
LITERARY TRANSLATION 2 Week 5. In-class translation workshop.
Practice your writing skills
First Conditional Sentences. LOOK AT THE EXAMPLES If the weather is fine, we’ll play tenis If I have enough money, I’ll buy the car If it rains, we’ll.
Neil Armstrong
CHAPTER Section 1.1 What Is Entrepreneurship? Section 1.2 Characteristics of an Entrepreneur Introduction to Entrepreneurship.
CHILD PORNOGRAPHY IŞIK ÜNİVERSİTESİ
Students social life and join the social clubs. BARIŞ KILIÇ - EGE DÖVENCİ IŞIK ÜNİVERSİTESİ
INTRODUCTION TO JAVASCRIPT
INTRODUCTION TO JAVASCRIPT
CHAPTER 1 uzm. Psk. Özlem ataoğlu
YDI101 YABANCI DIL 1 HAFTA 1. We use subject pronouns when the pronoun is the subject of the sentence. When the subject appears the second time, we don’t.
M.E. 4 N./H.E.P. Perşembe Toplantısı yontembilimsel_hatirlatma
BİLİMSEL ÇALIŞMA BASAMAKLARI SCIENTIFIC WORKING STEPS MHD BASHAR ALREFAEI Y
Bilgisayarlar kodu nasıl işler?
Bir Problemin Programa Dönüştürülme Süreci
Web Programming– UFCFB Lecture 13
W O R D A M G E U FOR N I T 1.
Would you like a different color?
The Need for Program Design
I’m sorry Michael but I have to go now.My friends are waiting for me.
INTRODUCTION TO JAVASCRIPT
FINLAND EDUCATION SYSTEM I am talking about the Finnish education system today.
INTRODUCTION TO JAVASCRIPT
If you delete this after reading... you'll spend a year of ill luck!
MUSTAFA KEMAL ATATÜRK. THE LIFE OF MUSTAFA KEMAL.
Future: I will/shall & I am going to. Structure: Subject+will/shall+verb(base form)+object.
tomorrow soon next week / year in five minutes/ in two hours later today I'll go to the market tomorrow. Don’t worry. He will be here soon. There.
taşınabilir Akilli Tahta Kullanım kılavuzu
CONDITIONALS TYPE
NİŞANTAŞI ÜNİVERSİTESİ
The Need for Program Design
“Differentiation for making a positive Difference!!!!”
NİŞANTAŞI ÜNİVERSİTESİ
NİŞANTAŞI ÜNİVERSİTESİ
NİŞANTAŞI ÜNİVERSİTESİ
NİŞANTAŞI ÜNİVERSİTESİ
Feminism, unlike the idea of ​​ mankind, is a trend that is prioritized to bring gender inequality to the agenda. The notion of feminism, which is not.
Yapısal Programlama Yüksek Düzeyli Dillerin Gelişim Süreci
Imagine that you are a teacher and you are taking your 20 students to England for the summer school.
PREPARED BY: 9-B STUDENTS. Sumerians, who laid the foundations of great civilizations and the world cultural heritage, emerged to the st The Sumerians.
Bilgisayarlar kodu nasıl işler?
CONDITIONALS TYPE
Programlama Araçları Metin Editörleri Araçlar
SUBJECT NAME Prepeared by Write the names of group members here
People with an entrepreneurial mindset are always brave.
Sunum transkripti:

Programlama Süreci

STAIR problem çözme süreci State the problem (Problemi tanımlayın) Identify the tools available for solving the problem (Problemi çözmek için mevcut araçları belirleyin) Write an algorithm (Bir algoritma yazın) Implement the solution (Çözümü gerçekleştirin) Refine the solution (Çözümü sadeleştirin) Testing the solution, fixing bugs, and making enhancements

Debug terimi nerden geliyor? National Museum of American History

Hataları Gidermek Neden Önemli? Tarihteki Büyük Yazılım Hataları July 28, 1962 -- Mariner I space probe 1982 -- Soviet gas pipeline 1985-1987 -- Therac-25 medical accelerator 1988 -- Buffer overflow in Berkeley Unix finger daemon 1988-1996 -- Kerberos Random Number Generator January 15, 1990 -- AT&T Network Outage 1993 -- Intel Pentium floating point divide 1995/1996 -- The Ping of Death June 4, 1996 -- Ariane 5 Flight 501 November 2000 -- National Cancer Institute, Panama City

Debugging (Hata Ayıklama, Hata Giderme) Errors are a fact of life when it comes to programming. The trick is knowing how to trace them and then fixing them before other people get their hands on your program! Bu derste bahsedeceklerimiz: Programlama hataları çeşitleri, Programlama hataları neden olur, Programlama hataları nasıl düzeltilir, Programlama hatalarının ardındaki psikoloji ve bazı hatalarla neden diğerlerinden fazla karşılaştığımız.

Yamalar, düzeltmeler, güncellemeler, v.s. Microsoft Windows XP SP1, SP2, SP3 Microsoft Windows 2000 SP1, SP2, SP3, SP4 Office 2003 Örnek Güncellemeler, yamalar, düzeltmeler

Psikolojik Gaz  New programmers quickly get the impression that making mistakes and getting error messages is something to be ashamed of, and that they are a sign of failure and something to be embarrassed about. Errors are a fact of life, and any programmers who tell you that they can write prefect code all the time are either lying through their teeth or don’t actually do much programming — at least, much serious programming. Eliminate any testing and beta test stages of software releases, and save millions of dollars, releasing perfect software that didn’t need service packs, maintenance releases, or patches and so save even more money. Windows Vista: Ekimde çıkan hazırlık sürümlerinden RC2’yi 50,000 - 100,000 arası kullanıcı sınadı. Windows Vista Geliştirme Tarihçesi Dell Windows Vista Hazırlıkları: >100,000 hours of testing (52 years)

Herkes hata yapabilir. Bu hayatın gerçeği.

Initially, you are bound to make more errors in your coding simply because you are learning. The syntax of statements takes time to grasp, operators are unfamiliar, and basic coding practices are foreign to you: until you are comfortable with these, errors will happen. Look at mistakes as learning pointers, showing you areas that you need to pay attention to, while error-free statements are examples of things that you are doing right! Stick with programming, and you’ll notice that you make fewer and fewer errors in your code — that’s good progress and something you should feel proud of. But don’t worry with trying to be 100 percent error-free, leave that to the “perfect” programmers who feel they have to show off!

Hata Çeşitleri Are errors all created the same? Are there different types of errors? Different Kinds of Error Compiler errors Runtime errors Logic errors

Compiler errors (Derleyici Hataları) A compiler error is an error thrown up by the compiler as you are in the process or turning your source code into a standalone application. It’s important to note that you will only get a compiler error if you use a compiler 

Compiler Errors: Örnek 1

Compiler Errors: Örnek 2

Compiler Errors: Örnek 3

Compiler Errors: Örnek 4

Compiler Errors: Örnek 5

Compilers also can generate warnings.

Error vs. Warning When the compiler encounters an error it aborts the compile and generates the warning. With a warning, the compiler doesn’t abort compiling and still builds an executable as normal.

Runtime Errors (Çalışma Zamanı Hataları) Runtime errors are errors that appear in your program when you run it. With an application that you’ve compiled, such as a C++ application, runtime errors generally mean that you have to go back to the source code to discover what the problem is. With languages that are interpreted, an error like this means that you have to go back to the code and examine it. When you are using a language that is an interpreted language as opposed to a compiled language, the errors that would normally be picked up and highlighted by the compiler will not show up until the code is run and these become runtime errors.

Runtime Errors: Örnek Tracing runtime errors in compiled code is tricky in that the application gives you a memory address and not much more. Debugging can be time-consuming and tricky.

Logic Errors (Mantık Hataları) Logic errors are among the hardest errors to spot simply because they aren’t errors that affect whether the code runs or compiles, but they are errors that affect how the code works. Usually, you wanted your code to do one thing, but wrote something else by mistake.

Logic Errors: Örnek Olması gereken Dükkan zararda Müşteri zararda

Logic Errors: Infinite Loops

Logic Errors: Using the wrong operator = (Atama) == (Karşılaştırma)

Mantık hataları nasıl önlenir? The only effective ways to prevent code containing logic errors from making it out into the wide world is by thorough analysis of the code and careful, comprehensive testing of the code, using a variety of inputs and checking them against independently worked-out outputs.

Spotting Errors (Hataların Bulunması) Proper Testing Is Vital Perform desk checking Perform a beta test Compare results of the beta test against the old system's parallel test results Read Each Line After You Press Enter Does it look right? Can you spot any typos or other odd errors? Does it accomplish what you set out for it to do? Have you used the appropriate line terminator? Check the Preceding Statements

Spotting Errors (Hataların Bulunması) Keep the Layout Clear void functionname() { // Code goes here. } Comments, Comments, Comments! If you comment out a line of code to replace it with another or just to get rid of it, remember to add a comment detailing why you removed it and when

Spotting Errors (Hataların Bulunması) Remove Ambiguity (Belirsizlik) in Code Semicolons Semicolons go after complete statements. for( x = 0; x < 100; x++); { cout << “Hello, World!” << endl; }

Spotting Errors (Hataların Bulunması) Test the Code Keep Track of Variables