1 Advanced Computer Programming. 2 Overview Coding C#.Net Framework C# - C++ -Java.

Slides:



Advertisements
Similar presentations
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Advertisements

FIT FIT1002 Computer Programming Unit 19 Testing and Debugging.
LECTURE 1 CMSC 201. Overview Goal: Problem solving and algorithm development. Learn to program in Python. Algorithm - a set of unambiguous and ordered.
Computer Science 101 Overview of Algorithms. Example: Make Pancakes Prepare batter Beat 2 eggs Add 1 tablespoon of brown sugar Add 1 cup of milk Add 2.
C# Console Application
Programing Concept Ken Youssefi/Ping HsuIntroduction to Engineering – E10 1 ENGR 10 Introduction to Engineering (Part A)
Algorithm Design CS105. Problem Solving Algorithm: set of unambiguous instructions to solve a problem – Breaking down a problem into a set of sub- problems.
Programming Fundamentals (750113) Ch1. Problem Solving
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Original Source : and Problem and Problem Solving.ppt.
The for-statement. Different loop-statements in Java Java provides 3 types of loop-statements: 1. The for-statement 2. The while-statement 3. The do-while-statement.
Introduction to High-Level Language Programming
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
UNIT 3 TEMPLATE AND EXCEPTION HANDLING. Introduction  Program errors are also referred to as program bugs.  A C program may have one or more of four.
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
Chapter 5: Control Structures II (Repetition)
CHAPTER 5: CONTROL STRUCTURES II INSTRUCTOR: MOHAMMAD MOJADDAM.
EGR 2261 Unit 5 Control Structures II: Repetition  Read Malik, Chapter 5.  Homework #5 and Lab #5 due next week.  Quiz next week.
How to make scones A special recipe made by form 54.
C++ Programming Language Lecture 1 Introduction By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
BİL528 – Bilgisayar Programlama II Making Decisions, Loops, Debugging, Designing Objects Using Classes 1.
1 Debugging. 2 A Lot of Time is Spent Debugging Programs Debugging. Cyclic process of editing, compiling, and fixing errors. n Always a logical explanation.
Overview of Programming and Problem Solving Textbook Chapter 1 1.
Testing. 2 Overview Testing and debugging are important activities in software development. Techniques and tools are introduced. Material borrowed here.
How to start Visual Studio 2008 or 2010 (command-line program)
1 C# A brief overview by Jack Senechal and Bryan Powell.
Lecture 1 Introduction Figures from Lewis, “C# Software Solutions”, Addison Wesley Richard Gesick.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
New Tools And Workshop Mod & For Loops. Modulo Calculates the remainder (remember long division?) % Examples: 7 % 3 10 % 2 2 % 3 evaluates to 1 evaluates.
Chapter 5: Control Structures II (Repetition). Objectives In this chapter, you will: – Learn about repetition (looping) control structures – Learn how.
The basics of the programming process The development of programming languages to improve software development Programming languages that the average user.
Advanced Program Design. Review  Step 1: Problem analysis and specification –Specification description of the problem’s inputs and output –Analysis generalize.
JAVIER ROJO 1ºB. 4 potatoes A glass of olive oil Some salt 4 eggs 1 onion.
Computing with C# and the.NET Framework Chapter 3 Software Engineering with Control Structures.
Java Basics Hussein Suleman March 2007 UCT Department of Computer Science Computer Science 1015F.
Program Design. The design process How do you go about writing a program? –It’s like many other things in life Understand the problem to be solved Develop.
Testing Chapter 23 IB103 Week 12 (part 3). Verify that a complex (any) program works correctly, that the program meets specifications The chapter reviews.
The Hashemite University Computer Engineering Department
Comments, Conditional Statements Continued, and Loops Engineering 1D04, Teaching Session 4.
Flow Control in Imperative Languages. Activity 1 What does the word: ‘Imperative’ mean? 5mins …having CONTROL and ORDER!
1 Structured Programming Arab Academy for Science and Technology CC112 Dr. Sherif Mohamed Tawfik The Course.
Introduction to Programming G50PRO University of Nottingham Unit 6 : Control Flow Statements 2 Paul Tennent
Debugging and Testing Hussein Suleman March 2007 UCT Department of Computer Science Computer Science 1015F.
Debuggers. Errors in Computer Code Errors in computer programs are commonly known as bugs. Three types of errors in computer programs –Syntax errors –Runtime.
Testing and Debugging UCT Department of Computer Science Computer Science 1015F Hussein Suleman March 2009.
Conditionals, Block Statements, Style
Lecture 1 Introduction Richard Gesick.
Dept of Computer Science University of Maryland College Park
Java for Beginners University Greenwich Computing At School DASCO
Loop Structures.
Numbering System TODAY AND TOMORROW 11th Edition
BRITISH FOOD.
An Introduction to Visual Basic .NET and Program Design
VISUAL BASIC – CHAPTER ONE NOTES An Introduction to Visual Basic
Unit 1: Introduction Lesson 1: PArts of a java program
CSCI 3328 Object Oriented Programming in C# Review: Exam I
Programming Fundamentals (750113) Ch1. Problem Solving
Programming Fundamentals (750113) Ch1. Problem Solving
CSE 403 Lecture 17 Coding.
Lab5 PROGRAMMING 1 Loop chapter4.
POWERPOINT PRESENTATION
Programming Fundamentals (750113) Ch1. Problem Solving
An Introduction to Linux
Programming Fundamentals (750113) Ch1. Problem Solving
Agenda Remarks about last homework for loop Nested for loop Flowchart
An Overview of C.
How to allow the program to know when to stop a loop.
break & continue Statements
CSCI 3328 Object Oriented Programming in C# Review: Exam I
Chapter 15 Debugging.
Presentation transcript:

1 Advanced Computer Programming

2 Overview Coding C#.Net Framework C# - C++ -Java

3 Programming Problem determination Analysis Algorithm Writing code Testing

4 Problem Determination Define what to do Field investigation Other arguments

5 Analysis Program inputs and outputs Variables that are going to be in the program Data flow within the program

6 Algorithm Defines how to do a job Automates jobs

7 Coding Converting the algorithm to a programming language Realization of the program Fixing coding errors and bugs

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 Example Make an Omelet

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 Analysis Inputs Egg, oil, salt, spices. Variables Oven, pan, fork, plate Inputs Egg, oil, salt, spices. Variables Oven, pan, fork, plate

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 Coding

14 C# (C Sharp) Object oriented Visual Studio 2015.Net Framework.Net Compact Framework.Net Micro Framework

15 C# - C++ - Java C is the ancestor language Different purposes Different platforms Similar notations Competition

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;