Programming. Exam Validation 1-10 Technical words such as Method of validation Do not use “Something”.

Slides:



Advertisements
Similar presentations
Part 2.  Arrays  Functions  Passing Variables in a URL  Passing variables with forms  Sessions.
Advertisements

Order Statistics Sorted
CS 111: Introduction to Programming Midterm Exam NAME _________________ UIN __________________ 10/30/08 1.Who is our hero? 2.Why is this person our hero?
Session Objectives# 24 COULD code the solution for an algorithm
Programming recap. Do you know these? LOW LEVEL 1 st generation: machine language (110011) 2 nd generation: assembly language (ADD, SUB) HIGH LEVEL 3.
Starting Out with C++, 3 rd Edition 1 Chapter 1. Introduction to Computers and Programming.
Functions.
Program Flow Charting How to tackle the beginning stage a program design.
Program Flow Charting How to tackle the beginning stage a program design.
Programming Fundamentals (750113) Ch1. Problem Solving
A452 – Programming project – Mark Scheme
Chapter 1 Program Design
The Program Design Phases
Introduction To C++ Programming 1.0 Basic C++ Program Structure 2.0 Program Control 3.0 Array And Structures 4.0 Function 5.0 Pointer 6.0 Secure Programming.
Your Interactive Guide to the Digital World Discovering Computers 2012.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
Variables in Java Part 2. ICS-3M1 - Mr. Martens - Variables Part 2 Recall the “int” Data Types When you divide one integer by another – you always get.
Simple Program Design Third Edition A Step-by-Step Approach
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
The Software Development Life Cycle. Software Development SDLC The Software Development Life-Cycle Sometimes called the program development lifecycle.
CPS120 Introduction to Computer Science Iteration (Looping)
Describe the Program Development Cycle. Program Development Cycle The program development cycle is a series of steps programmers use to build computer.
CMPS 1371 Introduction to Computing for Engineers CONDITIONAL STATEMENTS.
Python Programming Using Variables and input. Objectives We’re learning to build functions and to use inputs and outputs. Outcomes Build a function Use.
BUILDING JAVA PROGRAMS CHAPTER 1 ERRORS. 22 OBJECTIVES Recognize different errors that Java uses and how to fix them.
Data Structures and Algorithms Introduction to Algorithms M. B. Fayek CUFE 2006.
Chapter 1 Program design Objectives To describe the steps in the program development process To introduce the current program design methodology To introduce.
INTRODUCTION SELECTION STATEMENTS -Control Expression -Single/Compound Clauses -Dangling Else MUTLIPLE SELECTION CONSTRUCTS -C/Java Switch -C# Switch -Ada.
Review, Pseudocode, Flow Charting, and Storyboarding.
CMP-MX21: Lecture 5 Repetitions Steve Hordley. Overview 1. Repetition using the do-while construct 2. Repetition using the while construct 3. Repetition.
Basic Programming Lingo. A program is also known as a  Sequence of instructions  Application  App  Binary  Executable.
1 Program Planning and Design Important stages before actual program is written.
Chapter 4 Controlling Execution CSE Objectives Evaluate logical expressions –Boolean –Relational Change the flow of execution –Diagrams (e.g.,
CPS120 Introduction to Computer Science Iteration (Looping)
Fundamentals of Algorithms MCS - 2 Lecture # 5. Representation of Algorithms (continued) Flowcharts.
Introduction to Testing CSIS 1595: Fundamentals of Programming and Problem Solving 1.
 In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached.  PHP Loops :  In.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
A Level Computing#BristolMet Session Objectives#U2 S3 MUST use/read programme flow charts accurately SHOULD adapt the calculator programme to include a.
Testing.
Algorithms and Pseudocode
ALGORITHMS AND FLOWCHARTS. Why Algorithm is needed? 2 Computer Program ? Set of instructions to perform some specific task Is Program itself a Software.
PROGRAMMING. Computer Programs  A series of instructions to the computer  pre-written/packaged/off-the-shelf, or  custom made  There are 6 steps to.
Break-Even Very important concept for the exam For some of you it will be building on prior knowledge.
PROBLEM SOLVING. What is a Problem? A problem is a situation that needs to be resolved.
Chapter 6 Testing and running a solution. Errors X Three types Syntax Logic Run-time.
Selection Using IF THEN ELSE CASE Introducing Loops.
 Problem Analysis  Coding  Debugging  Testing.
Debuggers. Errors in Computer Code Errors in computer programs are commonly known as bugs. Three types of errors in computer programs –Syntax errors –Runtime.
Algorithms and Flowcharts
ICS 3UI - Introduction to Computer Science
Component 1.6.
Exam 1 Review.
Chapter 2- Visual Basic Schneider
Software Design and Development
Example: Finding the Mode
Programming Fundamentals (750113) Ch1. Problem Solving
Programming Fundamentals (750113) Ch1. Problem Solving
Chapter 2- Visual Basic Schneider
Spot the bug!.
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Programming Fundamentals (750113) Ch1. Problem Solving
Software Development Process
Programming Fundamentals (750113) Ch1. Problem Solving
ICS 3U Thursday, September 9.
Basic Concepts of Algorithm
Java Lessons 9 – 12 Mr. Kalmes.
Review of Previous Lesson
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Presentation transcript:

Programming

Exam Validation 1-10 Technical words such as Method of validation Do not use “Something”.

Why do we programme? Break the problem down and fix it in most efficient way Start by Pseudo code or flow chart and then Coding

Array elements? ALWAYES start with 0 unless otherwise instructed Example: There are 10 variables in one Array, variable no 10 comes under what Array element?

Errors in terms of running the programme Syntax errors Logical errors The difference?

Testing System Functional testing A solution with a validation: System do not crash

Pseudo code Is a rough out line of codes We use it before we start programming Example 1- Calculate the area of a triangle

Born in the 20 th century Ask for age Ask for date of birth Output “born in the 20 th century”