Download presentation
Presentation is loading. Please wait.
Published byCory Willis Modified over 9 years ago
1
1 Advanced Computer Programming
2
2 Overview Coding C#.Net Framework C# - C++ -Java
3
3 Programming Problem determination Analysis Algorithm Writing code Testing
4
4 Problem Determination Define what to do Field investigation Other arguments
5
5 Analysis Program inputs and outputs Variables that are going to be in the program Data flow within the program
6
6 Algorithm Defines how to do a job Automates jobs
7
7 Coding Converting the algorithm to a programming language Realization of the program Fixing coding errors and bugs
8
8 Testing Checking whether program produces expected outputs to given inputs. Fixing logical errors Step-by-step investigation of program execution with using a special program “Debugger”
9
9 Example Make an Omelet
10
10 Problem determination Determine the phases to make an omelet. What kind of problems that we may encounter. What kind of help could we get.
11
11 Analysis Inputs Egg, oil, salt, spices. Variables Oven, pan, fork, plate Inputs Egg, oil, salt, spices. Variables Oven, pan, fork, plate
12
12 Algorithm Turn on oven Put the pan to the oven Pour some oil to the pan Break eggs in to the pan Add salt Mix Add spices Mix Turn on oven Put the pan to the oven Pour some oil to the pan Break eggs in to the pan Add salt Mix Add spices Mix
13
13 Coding
14
14 C# (C Sharp) Object oriented Visual Studio 2015.Net Framework.Net Compact Framework.Net Micro Framework
15
15 C# - C++ - Java C is the ancestor language Different purposes Different platforms Similar notations Competition
16
16 C# - C++ - Java Defining variables C++: int x = 0; C# : int x = 0; Java : int x = 0; For Loop C++: for(int i = 0;i<10;i++) printf(“%d”,i); C# : for(int i = 0;i<10;i++) console.WriteLine(“{0}”,i); Java : for(int i = 0;i<10;i++) system.out.println(i); if-else C++: if(nCount<Max) nCount++; else total += nCount; C# : if(nCount<Max) nCount++; else total += nCount; Java : if(nCount<Max) nCount++; else total += nCount;
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.