DEFINITIONS FOR DR. HALVERSON’S CLASSES. DEFINING TERMS A correctly formed DEFINITION of a term consists of 2 parts  Noun – statement of the basic nature.

Slides:



Advertisements
Similar presentations
Repetition Statements Perform the same task repeatedly Allow the computer to do the tedious, boring things.
Advertisements

compilers and interpreters
Chapter 4 Ch 1 – Introduction to Computers and Java Flow of Control Loops 1.
CS107 Introduction to Computer Science Lecture 3, 4 An Introduction to Algorithms: Loops.
The LC-3 – Chapter 6 COMP 2620 Dr. James Money COMP
Repetition control structures
CHAPTER 5: Repetition Control Structure. Objectives  To develop algorithms that use DOWHILE and REPEAT.. UNTIL structures  Introduce a pseudocode for.
PSEUDOCODE & FLOW CHART
ALGORITHMS THIRD YEAR BANHA UNIVERSITY FACULTY OF COMPUTERS AND INFORMATIC Lecture two Dr. Hamdy M. Mousa.
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming The software development method algorithms.
REPETITION (loops or iteration) Schneider: Sec. 6.1 & 6.3.
What is an algorithm? Informally: An Algorithm is a step by step method for solving a problem. It’s purpose is to break a larger task down so that each.
Program Design and Development
Chapter 2 The Algorithmic Foundations of Computer Science
Unit 171 Algorithms and Problem Solving  Introduction  Algorithm Design  Algorithm Properties  Algorithm Control Flow  Examples  Comparing Algorithms.
Slides prepared by Rose Williams, Binghamton University Chapter 3 Flow of Control Loops in Java.
Basic Building Blocks of Programming. Variables and Assignment Think of a variable as an empty container Assignment symbol (=) means putting a value into.
Algorithms. Introduction Before writing a program: –Have a thorough understanding of the problem –Carefully plan an approach for solving it While writing.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To understand basic loop concepts: ■ pretest loops and post-test loops ■ loop.
TMF1013 : Introduction To Computing Lecture 1 : Fundamental of Computer ComputerFoudamentals.
Chapter 8 High-Level Programming Languages. 8-2 Chapter Goals Describe the translation process and distinguish between assembly, compilation, interpretation,
Programming Logic and Design Sixth Edition Chapter 5 Looping.
Basic Control Structures
Algorithm Design.
Advanced Program Design. Review  Step 1: Problem analysis and specification –Specification description of the problem’s inputs and output –Analysis generalize.
 In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached.  PHP Loops :  In.
Repetition: Definite Loops Sec 53 Web Design. Objectives The Student will: Understand loops and why they are used Understand definitive loops Know how.
1 Overview of Programming Principles of Computers.
Introduction to Computers Lesson 13A. home Computer Program A set of instructions or statements, also called code, to be carried out by the computer’s.
ALGORITHMS AND FLOWCHARTS. Why Algorithm is needed? 2 Computer Program ? Set of instructions to perform some specific task Is Program itself a Software.
Repetition: Definite Loops Alice. Repetition In many kinds of animations, especially simulations and games, some actions happen again and again. Example:
Chapter 1 The Phases of Software Development. Software Development Phases ● Specification of the task ● Design of a solution ● Implementation of solution.
Flow Control in Imperative Languages. Activity 1 What does the word: ‘Imperative’ mean? 5mins …having CONTROL and ORDER!
Fundamentals of Algorithms MCS - 2 Lecture # 3. Representation of Algorithms.
Repetition In today’s lesson we will look at: why you would want to repeat things in a program different ways of repeating things creating loops in Just.
1 Structured Programming Arab Academy for Science and Technology CC112 Dr. Sherif Mohamed Tawfik The Course.
Intro. to Computer Programming Eng. Nehal A. Mohamed Spring Semester-2016.
Introduction to Algorithms
Computer Programming.
GC211Data Structure Lecture2 Sara Alhajjam.
Scratch: iteration / repetition / loops
CHAPTER 5A Loop Structure
Lecturer CS & IT Department UOS MBDIN
Computer Science Faculty
CS 240 – Lecture 11 Pseudocode.
COMS W1004 Introduction to Computer Science and Programming in Java
Chapter 6 Repetition Objectives ❏ To understand basic loop concepts:
Intro to Computer Science CS1510 Dr. Sarah Diesburg
Program Design Introduction to Computer Programming By:
MSIS 655 Advanced Business Applications Programming
Loops CIS 40 – Introduction to Programming in Python
Design and Implementation
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Intro to Computer Science CS1510 Dr. Sarah Diesburg
Abstraction and Repetition
Algorithm and Ambiguity
Computer Science Core Concepts
A programming language
Introduction to Algorithms
ICT Gaming Lesson 3.
Language Constructs Construct means to build or put together. Language constructs refers to those parts which make up a high level programming language.
Click to add Text Computers & Instructions. Computers are given instructions in the form of computer programs that are created through the development.
Vocabulary Algorithm - A precise sequence of instructions for processes that can be executed by a computer Low level programming language: A programming.
Print the following triangle, using nested loops
Basic Concepts of Algorithm
The structure of programming
Do it now activity Log onto the computer.
Type Topic in here! Created by Educational Technology Network
Thinking procedurally
Abstraction and Repetition
Presentation transcript:

DEFINITIONS FOR DR. HALVERSON’S CLASSES

DEFINING TERMS A correctly formed DEFINITION of a term consists of 2 parts  Noun – statement of the basic nature of the term  Description – explanation that distinguishes the term from other similar terms  Context – must be in the context of the course 2

DEFINE: FOR LOOP A FOR LOOP is  A programming construct or instruction  But so is an assignment statement, a read or print statemen

DEFINE: FOR LOOP A FOR LOOP is  A programming construct or instruction  Allows for repetition of a set of instructions  So is a WHILE loop, so is not ‘distinguished’

DEFINE: FOR LOOP A FOR LOOP is  A programming construct or instruction  Allow for repetition of a set of instructions  Having a built in counting feature

DEFINE EFFICIENCY  A measure  What does it measure or how does it measure

DEFINE EFFICIENCY  A measure of effort or work  So is “speed” but not the same thing – Can something be efficient but not fast?...Yes  Can something have “bad” efficiency?...Yes

DEFINE EFFICIENCY  A measure of effort or work  Of an algorithm or computer system

DEFINE PROGRAMMING  A process

DEFINE PROGRAMMING  A process  Through which an algorithm is converted to a computer language for execution on a computer

DEFINE COMPUTER PROGRAM  A list of instructions  Specified in a computer language  To accomplish a task

NOTE  A statement may be “true” but not constitute a correct definition.  Examples:  A computer program runs on a computer.  A for loop is a counting loop.  A tree is green and brown.