Lecture by: Hugo Johnson INTRODUCTION TO PROGRAMMING PART I
|
|
- Sylvia Chase
- 5 years ago
- Views:
Transcription
1 Lecture by: Hugo Johnson INTRODUCTION TO PROGRAMMING PART I
2 WHY BOTHER LEARNING TO PROGRAM A COMPUTER? For the fun To fill a need For a new or second Career As an intellectual challenge
3 PROGRAMMING IS PROBLEM-SOLVING To tell a computer how to solve one big problem, you usually must tell the computer how to solve a bunch of little problems that make up the bigger problem. If you want to make your own video game, for example, you need to solve some of the following problems: Determine how far to move a cartoon figure. Detect whether the cartoon figure bumps into a wall, falls off a cliff, or runs into another cartoon figure on-screen. Make sure that the cartoon figure doesn t make any illegal moves, such as walking through a wall. Draw the terrain surrounding the cartoon figure and make sure that if the cartoon figure walks behind an object such as a tree, the tree realistically blocks the figure from sight. Determine whether bullets that another cartoon figure fires are hitting the player s cartoon figure. If so, determine the amount of damage, how it affects the movement of the damaged cartoon figure, and how the damage appears on-screen.
4 PROGRAMMING IS PROBLEM SOLVING The simpler that the problem is that you need to solve, the more easily you can write a program that tells the computer how to work. Otherwise the more complex the problem, the bigger the program and it takes more time to be written.
5 PROGRAMMING IS LIKE WRITING ENGLISH ESSAY OR GIVING DIRECTIONS: If you can write step by step instructions directing someone to your house, you can write a program. The hardest part about programming is identifying all the little problems that make up the big problem that you re trying to solve. Eg. Giving some simple directions to someone: Go south on Highway I-5. I5 Get off at the Sweetwater Road exit. Turn right at the light. Turn into the second driveway on the left.
6 PROGRAMMING IS LIKE WRITING ENGLISH ESSAY OR GIVING DIRECTIONS: Of course, if you try giving these instructions to a computer, the computer gets confused and wants to know the following additional information: Where do I start and exactly how far south do I drive down Highway I- 5? How do I recognize the Sweetwater Road exit, and how do I get off at this exit? After I turn right at the light, how far to the right do I turn, and do you mean the traffic light or the street light on the corner? After I turn into the second driveway on the left, what do I do next? Park the car? Honk the horn? Gun the engine and accelerate through your garage door?
7 PROGRAMMING IS LIKE WRITING ENGLISH ESSAY OR GIVING DIRECTIONS: Unless you specify everything that you want the computer to do and exactly how to do it, the computer just plain doesn t do what you want it to do. N.B. A collection of instructions that tell the computer what to do is known as a program. The instructions, written in a specific programming language, is, p p g g g g, known as the source code.
8 WHY SO MANY DIFFERENT PROGRAMMING LANGUAGES? You have many programming languages to choose among because each language serves a specific purpose, and people are always creating new languages to solve different types of problems. Essentially, computers really understand only one language, which consists of zeroes and ones, also known as machine language. A typical program that you could write in machine language might look something like the following example:
9 MACHINE LANGUAGE HAS THE FOLLOWING TWO MAJOR DRAWBACKS: You can easily type a 0 or 1 by mistake, thereby preventing you from giving the computer the correct instructions. Machine language takes a long time to write (and an even longer time to understand d what the language is actually telling the computer to do). Because of these two huge problems, few people write programs in machine language. To make writing a program easier, programmers quickly invented asimpler programming language known as assembly language. g
10 EXAMPLE OF ASSEMBLY LANGUAGE CODE: title Nap Program ; This program displays Take a nap! on the screen dosseg.model small.stack 100h.data my_message db Take a nap!,0dh,0ah, $.code main proc mov ax,@data mov ds,ax mov ah,9 mov dx,offset my_message
11 UNDERSTANDING ASSEMBLY LANGUAGE Because computers can t read assembly language instructions, programmers created special programs that translate assembly language into machine language. These special programs are known as assemblers.
12 TWO DISTINCT ADVANTAGES OVER MACHINE LANGUAGE: Assembly language programs are easier to read than machine language programs. A bl l g g g i t Assembly language programs are easier to write (and modify) than machine language programs.
13 ASSEMBLY LANGUAGE HAS THE FOLLOWING DISADVANTAGES: Programs that t you create by using assembly language g run slower and gobble up more space (both physical disk space and memory) than equivalent programs that you may create with machine language. You can t easily transfer (or, to use programming lingo, port) a program that you write in assembly language for one computer to another computer. Writing a program in assembly language can prove extremely tedious, time-consuming, and complicated. That s why few people bother to write large programs in assembly language.
14 THE HOLY GRAIL OF PROGRAMMING N.B. In general, the easier the programming language is to read and write, the slower and larger are the programs it creates. The Holy Grail of computer programming is to create programs that t are easy to write, run as fast as possible, and take up as little space as possible.
15 WHAT ARE HIGH LEVEL LANGUAGES? Is it s a language that closely resembles English like statements and mathematic notations. It is independent of the internal machine code of any particular computer. The program written in High Level Language is called the Source Code while the translated version is called the Object Code.
16 EXAMPLE OF SOURCE CODE: main() { printf ( Take a nap!\n ); } This language g is known as C programming glanguage.the g above program is equivalent to the assembly language program for taking a nap. Not to worry about knowing the Syntax for now, it will all come to fruition. N.B. The Object code is really the raw 0s and 1s that the machine understands, in other words it s the machine code.
17 HIGH LEVEL LANGUAGES ARE SLOWER TO CREATE A program that you write in C runs slower and creates larger program files than does an equivalent assembly language program. That s because assembly language is closer to the native language of computers (which is machine code) d)than C. So C programs need to first get translated into assembly language code before finally being converted into machine language code.
18 KEY ADVANTAGES OF HIGH LEVEL PROGRAMMING LANGUAGES: It is easier to learn and code programs because the programmer does not need detailed knowledge of the computer or its internal operation. Errors are easier to avoid and detect. t Many high level languages are machine independent, making them portable (transferable from say a Mac to a PC or even a Smart Phone). Easier to maintain and shared with other programmers.
19 KEY DIS-ADVANTAGES OF HIGH LEVEL PROGRAMMING LANGUAGES: Takes longer to create because of the steps it has to take: converting from source code to assembly language code and then to machine code. Gives the user access to the computer s memory, which h has disastrous effects if misused.
20 THERE TWO WAYS TO CONVERT SOURCE CODE INTO OBJECT CODE: Using a Compiler: Translates to Object Code which is stored for processing at a later time. Using an Interpreter: Translates and runs the program in real time, object code created while program is being executed.
21 DIAGRAM OF SOURCE CODE TRANSITION TO MACHINE LANGUAGE
22 WHAT ARE FOURTH GENERATION LANGUAGES? It is type of Language that consists of more English like commands Which makes it easier to deploy a program vs its predicecer languages. A Perfect example would be the language SQL (Structured Query Language) Used in most Database Management System Software.
23 OBJECTIVES OF 4GLS: I th d f g d l t Increase the speed of program development Minimizing the end-user effort to obtain information from a computer. Decreasing the skill level required of end users, so they can concentrate on an application rather than on the intricacies of coding. They can therefore solve their own problems without the aid of a professional programmer. Minimize the maintenance by reducing errors and making programs easy to change.
24 NATURAL LANGUAGES Its a language that makes computer language as close to human As possible, allowing computers to interpret real English sentences. For example, if a user enters the command Get me sales Figures for January 2009, a computer understanding natural languages Could interpret this and supply the desired information. Read more on Natural language processing (NLP).
25 END OF LECTURE In our next lecture (Part II) we will focus on algorithm Development and its rules and principles.
Game keystrokes or Calculates how fast and moves a cartoon Joystick movements how far to move a cartoon figure on screen figure on screen
Computer Programming Computers can t do anything without being told what to do. To make the computer do something useful, you must give it instructions. You can give a computer instructions in two ways:
More informationSoftware Development. Integrated Software Environment
Software Development Integrated Software Environment Source Code vs. Machine Code What is source code? Source code and object code refer to the "before" and "after" versions of a computer program that
More informationLecture 1: Overview
15-150 Lecture 1: Overview Lecture by Stefan Muller May 21, 2018 Welcome to 15-150! Today s lecture was an overview that showed the highlights of everything you re learning this semester, which also meant
More informationassembler Machine Code Object Files linker Executable File
CSCE A211 Programming Intro What is a Programming Language Assemblers, Compilers, Interpreters A compiler translates programs in high level languages into machine language that can be executed by the computer.
More informationProgramming Languages and Program Development Life Cycle Fall Introduction to Information and Communication Technologies CSD 102
Programming Languages and Program Development Life Cycle Fall 2016 Introduction to Information and Communication Technologies CSD 102 Outline The most common approaches to program design and development
More informationAn Overview of Visual Basic.NET: A History and a Demonstration
OVERVIEW o b j e c t i v e s This overview contains basic definitions and background information, including: A brief history of programming languages An introduction to the terminology used in object-oriented
More informationLecture 01 & 02 Computer Programming
Lecture 01 & 02 Computer Programming 15 Computer Systems Engineering Second Semester By: Mr. Ali Asghar Manjotho, Lecturer, CSE-MUET Contents Computer programming (LL 02) Why programming? (LL 02) Instructions
More informationWeek - 01 Lecture - 04 Downloading and installing Python
Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 04 Downloading and
More informationChapter Twelve. Systems Design and Development
Chapter Twelve Systems Design and Development After reading this chapter, you should be able to: Describe the process of designing, programming, and debugging a computer program Explain why there are many
More informationwhat is an algorithm? analysis of algorithms classic algorithm example: search
event-driven programming algorithms event-driven programming conditional execution robots and agents resources: cc3.12/cis1.0 computing: nature, power and limits robotics applications fall 2007 lecture
More informationThis chapter is intended to take you through the basic steps of using the Visual Basic
CHAPTER 1 The Basics This chapter is intended to take you through the basic steps of using the Visual Basic Editor window and writing a simple piece of VBA code. It will show you how to use the Visual
More informationDetailed instructions for video analysis using Logger Pro.
Detailed instructions for video analysis using Logger Pro. 1. Begin by locating or creating a video of a projectile (or any moving object). Save it to your computer. Most video file types are accepted,
More informationCOMPUTER ENGINEERING PRE-ENGINEERING SUMMER Nayda G. Santiago Electrical and Computer Engineering Department, June 1, 2009
COMPUTER ENGINEERING WORKSHOP PRE-ENGINEERING PROGRAM @UPRM SUMMER 2009 Nayda G. Santiago Electrical and Computer Engineering Department, June 1, 2009 This workshop Purpose Students should understand the
More information1. Review of program specifications 2. Program design 3. Coding 4. Testing 5. Finalizing documentation
1.1 Computer Program A computer program is a detailed set of instructions that directs a computer to perform the tasks necessary to process data into information. These instructions, usually written by
More informationIntro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming
Intro to Programming Unit 7 Intro to Programming 1 What is Programming? 1. Programming Languages 2. Markup vs. Programming 1. Introduction 2. Print Statement 3. Strings 4. Types and Values 5. Math Externals
More informationPROGRAMMING CONCEPTS
ch01.qxd 9/19/02 9:17 AM Page 1 C H A P T E R 1 PROGRAMMING CONCEPTS CHAPTER OBJECTIVES In this Chapter, you will learn about: The Nature of a Computer Program and Programming Languages Page 2 Good Programming
More informationCSCI 3136 Principles of Programming Languages
CSCI 3136 Principles of Programming Languages Summer 2013 Faculty of Computer Science Dalhousie University 1 / 100 CSCI 3136 Principles of Programming Languages Summer 2013 Aminul Islam Faculty of Computer
More informationLecture 1 - Introduction (Class Notes)
Lecture 1 - Introduction (Class Notes) Outline: How does a computer work? Very brief! What is programming? The evolution of programming languages Generations of programming languages Compiled vs. Interpreted
More information6.001 Notes: Section 8.1
6.001 Notes: Section 8.1 Slide 8.1.1 In this lecture we are going to introduce a new data type, specifically to deal with symbols. This may sound a bit odd, but if you step back, you may realize that everything
More informationVisual Design. Simplicity, Gestalt Principles, Organization/Structure
Visual Design Simplicity, Gestalt Principles, Organization/Structure Many examples are from Universal Principles of Design, Lidwell, Holden, and Butler Why discuss visual design? You need to present the
More informationComputing and compilers
Computing and compilers Comp Sci 1570 to Outline 1 2 3 4 5 Evaluate the difference between hardware and software Find out about the various types of software Get a high level understanding of how program
More informationCSI31 Introduction to Computer Programming I. Dr. Sharon Persinger Fall
CSI31 Introduction to Computer Programming I Dr. Sharon Persinger Fall 2018 1 Overview Basic definitions: Computer Computer science Algorithm Programming language What is a computer? A modern computer
More informationAssignment #4 Minesweeper
Assignment #4 Minesweeper Date assigned: Friday, January 9, 2015 Date due: Java Minesweeper, Tuesday, January 13, 2015 Android Minesweeper, Friday, January 17, 2015 Points: 100 Java Minesweeper The game
More informationComputer Organization & Assembly Language Programming
Computer Organization & Assembly Language Programming CSE 2312 Lecture 11 Introduction of Assembly Language 1 Assembly Language Translation The Assembly Language layer is implemented by translation rather
More informationCS103 Handout 29 Winter 2018 February 9, 2018 Inductive Proofwriting Checklist
CS103 Handout 29 Winter 2018 February 9, 2018 Inductive Proofwriting Checklist In Handout 28, the Guide to Inductive Proofs, we outlined a number of specifc issues and concepts to be mindful about when
More informationIntro to Computer Science. Introductory Class
Intro to Computer Science Introductory Class First Syllabus Lets look at the outline Reverse Roll Call Lets see who is here Expectations So what is Computer Science? An Architectural Discipline Building
More informationCOPYRIGHTED MATERIAL. Starting Strong with Visual C# 2005 Express Edition
1 Starting Strong with Visual C# 2005 Express Edition Okay, so the title of this chapter may be a little over the top. But to be honest, the Visual C# 2005 Express Edition, from now on referred to as C#
More informationAn Introduction to Python (TEJ3M & TEJ4M)
An Introduction to Python (TEJ3M & TEJ4M) What is a Programming Language? A high-level language is a programming language that enables a programmer to write programs that are more or less independent of
More informationIn the hardware module, you saw the basic execution of a program Programs are written in specific languages Each language has it s strengths and
In the hardware module, you saw the basic execution of a program Programs are written in specific languages Each language has it s strengths and weaknesses, and own grammar and syntax We will take a high-
More informationIntroduction to Programming: Variables and Objects. HORT Lecture 7 Instructor: Kranthi Varala
Introduction to Programming: Variables and Objects HORT 59000 Lecture 7 Instructor: Kranthi Varala What is a program? A set of instructions to the computer that perform a specified task in a specified
More informationLaboratory 1: Eclipse and Karel the Robot
Math 121: Introduction to Computing Handout #2 Laboratory 1: Eclipse and Karel the Robot Your first laboratory task is to use the Eclipse IDE framework ( integrated development environment, and the d also
More informationStoryStylus Scripting Help
StoryStylus Scripting Help Version 0.9.6 Monday, June 29, 2015 One More Story Games, Inc. 2015 Contents Versions... 3 Scripting User Interface... 4 Script Triggers... 5 If-Then Scripting Language... 6
More informationThe Drone War. Motivation and Introduction: Project Proposal
The Drone War Project Proposal COMS W4115 Programming Languages and Translators Columbia University, Fall 2012 Professor: Stephen A. Edwards Students: George Brink gb2280 Xiaotong Chen xc2230 Shuo Qiu
More informationLock Picking and Physical Security. Tyler Nighswander
Lock Picking and Physical Security Tyler Nighswander Lock Picking and Physical Security Tyler Nighswander Introduction Who I am: PPP member (specializes in crypto and hardware interested in everything!)
More informationOutline Key Management CS 239 Computer Security February 9, 2004
Outline Key Management CS 239 Computer Security February 9, 2004 Properties of keys Key management Key servers Certificates Page 1 Page 2 Introduction Properties of Keys It doesn t matter how strong your
More informationUsing Classes and Objects. Lecture 7. Midterms Save the Dates! Extra Credit Survey
University of British Columbia CPSC 111, Intro to Computation Alan J. Hu Readings Your textbook is Big Java (3rd Ed). This Week s Reading: Ch 2.6-2.10, Finish Ch 4 Using Classes and Objects Lecture 7 Some
More informationExercises: Instructions and Advice
Instructions Exercises: Instructions and Advice The exercises in this course are primarily practical programming tasks that are designed to help the student master the intellectual content of the subjects
More informationHigh-Performance Computing
Informatik und Angewandte Kognitionswissenschaft Lehrstuhl für Hochleistungsrechnen Rainer Schlönvoigt Thomas Fogal Prof. Dr. Jens Krüger High-Performance Computing http://hpc.uni-duisburg-essen.de/teaching/wt2013/pp-nbody.html
More informationObjective: To learn meaning and concepts of programming. Outcome: By the end of this students should be able to describe the meaning of programming
30 th September 2018 Objective: To learn meaning and concepts of programming Outcome: By the end of this students should be able to describe the meaning of programming Section 1: What is a programming
More informationCMSC 201 Fall 2016 Lab 09 Advanced Debugging
CMSC 201 Fall 2016 Lab 09 Advanced Debugging Assignment: Lab 09 Advanced Debugging Due Date: During discussion Value: 10 points Part 1: Introduction to Errors Throughout this semester, we have been working
More informationComputer Science 2500 Computer Organization Rensselaer Polytechnic Institute Spring Topic Notes: C and Unix Overview
Computer Science 2500 Computer Organization Rensselaer Polytechnic Institute Spring 2009 Topic Notes: C and Unix Overview This course is about computer organization, but since most of our programming is
More informationData Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi.
Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi Lecture 18 Tries Today we are going to be talking about another data
More informationHave the students look at the editor on their computers. Refer to overhead projector as necessary.
Intro to Programming (Time 15 minutes) Open the programming tool of your choice: If you ve installed, DrRacket, double-click the application to launch it. If you are using the online-tool, click here to
More informationHCA Tech Note. Port Forwarding
Port Forwarding Before you read this note hopefully you will have already read and followed the instructions in the Getting Started Guide for deploying client-server and being able to connect a client
More informationIntro to C: Pointers and Arrays
Lecture 4 Computer Science 61C Spring 2017 January 25th, 2017 Intro to C: Pointers and Arrays 1 Administrivia Teaching Assistants: Let s try that again. Lectures are recorded. Waitlist/Concurrent Enrollment
More informationChapter 1: An Overview of Computers and Logic
Chapter 1: An Overview of Computers and Logic Programming Logic and Design, Third Edition Comprehensive Objectives After studying Chapter 1, you should be able to: Understand computer components and operations
More informationReversing. Time to get with the program
Reversing Time to get with the program This guide is a brief introduction to C, Assembly Language, and Python that will be helpful for solving Reversing challenges. Writing a C Program C is one of the
More informationLecture 10: Protocol Design
Lecture 10: Protocol Design Prof. Shervin Shirmohammadi SITE, University of Ottawa Fall 2005 CEG 4183 10-1 Introduction TCP and UDP are generic protocols: They fulfill the needs of a wide range of applications
More informationELEC 242 Using Library Procedures
ELEC 242 Using Library Procedures There are a number of existing procedures that are already written for you that you will use in your programs. In order to use the library procedures that come with the
More informationKinematics Review. Physics 2012
Kinematics Review Physics 2012 Question 1 Mom and Junior are driving north in a car. They pass Spike who is standing on the side of the road. Which of these statements are correct? 1. Spike sees mom and
More informationComp 11 Lectures. Mike Shah. June 26, Tufts University. Mike Shah (Tufts University) Comp 11 Lectures June 26, / 57
Comp 11 Lectures Mike Shah Tufts University June 26, 2017 Mike Shah (Tufts University) Comp 11 Lectures June 26, 2017 1 / 57 Please do not distribute or host these slides without prior permission. Mike
More informationDiscrete structures - CS Fall 2017 Questions for chapter 2.1 and 2.2
Discrete structures - CS1802 - Fall 2017 Questions for chapter 2.1 and 2.2 1. (a) For the following switch diagrams, write the corresponding truth table and decide whether they correspond to one of the
More informationLecture 3: Recursion; Structural Induction
15-150 Lecture 3: Recursion; Structural Induction Lecture by Dan Licata January 24, 2012 Today, we are going to talk about one of the most important ideas in functional programming, structural recursion
More informationMemory Organization. 27 December 2016 Pramod Ghimire. Slide 1 of 21
Memory Organization Slide 1 of 21 The assembler uses two basic formats for developing software. One method uses memory models and the other uses fullsegment definitions. MASM uses memory models. The TASM
More informationLECTURE 7. Announcements
LECTURE 7 Announcements Minecraft 4 Feedback Looks good! A game that minimally involves platforms Not based on any game in particular Super Mario 64? Team Fortress 2? Completely up to you to make unique
More informationIf Statements, For Loops, Functions
Fundamentals of Programming If Statements, For Loops, Functions Table of Contents Hello World Types of Variables Integers and Floats String Boolean Relational Operators Lists Conditionals If and Else Statements
More informationMicrosoft SQL Server 2012 Administration: Real-World Skills For MCSA Certification And Beyond (Exams , , And ) Free Download PDF
Microsoft SQL Server 2012 Administration: Real-World Skills For MCSA Certification And Beyond (Exams 70-461, 70-462, And 70-463) Free Download PDF Implement, maintain, and repair SQL Server 2012 databases
More informationChapter 9. Introduction to High-Level Language Programming. INVITATION TO Computer Science
Chapter 9 Introduction to High-Level Language Programming INVITATION TO Computer Science 1 Objectives After studying this chapter, students will be able to: Explain the advantages of high-level programming
More informationLECTURE 6. Announcements
LECTURE 6 Announcements Minecraft 3 Feedback Infinite worlds! Terrain looks good Gameplay not super varied Happy Birthday Hassan! The Voxel Engine You re done with your first collision engine! Environment
More informationASCII Art. Introduction: Python
Python 1 ASCII Art All Code Clubs must be registered. Registered clubs appear on the map at codeclub.org.uk - if your club is not on the map then visit jumpto.cc/18cplpy to find out what to do. Introduction:
More informationIntroduction to Programming in C Department of Computer Science and Engineering. Lecture No. #03 The Programming Cycle
Introduction to Programming in C Department of Computer Science and Engineering Lecture No. #03 The Programming Cycle (Refer Slide Time: 00:22) Once we are understood what algorithms are, we will start
More informationCreating Breakout - Part 2
Creating Breakout - Part 2 Adapted from Basic Projects: Game Maker by David Waller So the game works, it is a functioning game. It s not very challenging though, and it could use some more work to make
More informationActivity Robot Behaviors and Writing Pseudocode
Activity 2.3.2 Robot Behaviors and Writing Pseudocode Introduction A behavior is anything your robot does: turning on a single motor is a behavior, moving forward is a behavior, tracking a line is a behavior,
More informationChapter 1 Introduction
Chapter 1 Introduction Why I Am Writing This: Why I am I writing a set of tutorials on compilers and how to build them? Well, the idea goes back several years ago when Rapid-Q, one of the best free BASIC
More informationNotebook Assignments
Notebook Assignments These six assignments are a notebook using techniques from class in the single concrete context of graph theory. This is supplemental to your usual assignments, and is designed for
More informationInstalling and Configuring the Voice UPB Bridge updated 1-Jan-2019
Installing and Configuring the Voice UPB Bridge updated 1-Jan-2019 Before starting these instructions, you should already have your Voice assistant installed and working. These instructions can be used
More information10 Strategies for Effective Marketing Campaigns
10 Strategies for Effective Email Marketing Campaigns Most people do not send effective email messages. I know. I spend a lot of time analyzing email messages for our clients, and measuring and tracking
More informationNetworked Virtual Environments and Distributed Rendering IGS HT Background and history. Background and history. Background and history
Networked Virtual Environments and Distributed Rendering IGS HT 2003-09-24 Multiplayer games 1961 Spacewar, MIT 1979 MUD, Essex University 1993 Doom, Id Software Lars Pettersson 1994 Warcraft, Blizzard
More informationHow to approach a computational problem
How to approach a computational problem A lot of people find computer programming difficult, especially when they first get started with it. Sometimes the problems are problems specifically related to
More informationSteps to program development
Automate processes - Programming Concepts and Design Steps to program development A computer program is a set of formal instructions, which the computer executes in order to carry out some designated task.
More information6.096 Introduction to C++
MIT OpenCourseWare http://ocw.mit.edu 6.096 Introduction to C++ January (IAP) 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 6.096 Lecture 3 Notes
More informationCONTENTS: What Is Programming? How a Computer Works Programming Languages Java Basics. COMP-202 Unit 1: Introduction
CONTENTS: What Is Programming? How a Computer Works Programming Languages Java Basics COMP-202 Unit 1: Introduction Announcements Did you miss the first lecture? Come talk to me after class. If you want
More informationCPE 101. Overview. Programming vs. Cooking. Key Definitions/Concepts B-1
CPE 101 Lecture 2: Problems, Algorithms, and Programs (Slides adapted from a UW course, copyrighted and used by permission) Overview High-level survey Problems, algorithms, and programs Problem solving
More informationPython Programming: An Introduction to Computer Science
Python Programming: An Introduction to Computer Science Introduction Python Programming, 2/e 1 Website https://cs.gsu.edu/~xyu3/csc1310 Python Programming, 2/e 2 What s a modern computer? Used almost everywhere
More informationGoogle SketchUp Design Exercise 1
Google SketchUp Design Exercise 1 The first thing students like to do in SketchUp is make a basic house and try out different colors and materials. They also love making windows and doors, and trying out
More informationLecture 2: SML Basics
15-150 Lecture 2: SML Basics Lecture by Dan Licata January 19, 2012 I d like to start off by talking about someone named Alfred North Whitehead. With someone named Bertrand Russell, Whitehead wrote Principia
More informationLast Time. Introduction to Design Languages. Syntax, Semantics, and Model. This Time. Syntax. Computational Model. Introduction to the class
Introduction to Design Languages Prof. Stephen A. Edwards Last Time Introduction to the class Embedded systems Role of languages: shape solutions Project proposals due September 26 Do you know what you
More informationIntroduction to Computer Programming for Non-Majors CSC 2301, Fall The Department of Computer Science
Introduction to Computer Programming for Non-Majors CSC 2301, Fall 2015 The Department of Computer Science CSC 2301 Welcome to Class CSC 2301! Introduction to Computer Programming for Non-Majors Who are
More informationIntroduction to Embedded Systems
Introduction to Embedded Systems Sanjit A. Seshia UC Berkeley EECS 149/249A Fall 2015 2008-2015: E. A. Lee, A. L. Sangiovanni-Vincentelli, S. A. Seshia. All rights reserved. Chapter 3: Discrete Dynamics,
More informationProgramming 1. Lecture 1 COP 3014 Fall August 28, 2017
Programming 1 Lecture 1 COP 3014 Fall 2017 August 28, 2017 Main Components of a computer CPU - Central Processing Unit: The brain of the computer. ISA - Instruction Set Architecture: the specific set of
More informationValuable points from Lesson 6 Adobe Flash CS5 Professional Classroom in a Book
Valuable points from Lesson 6 Adobe Flash CS5 Professional Classroom in a Book You are expected to understand and know how to use/do each of these tasks in Flash CS5, unless otherwise noted below. If you
More informationAPCS-AB: Java. Recursion in Java December 12, week14 1
APCS-AB: Java Recursion in Java December 12, 2005 week14 1 Check point Double Linked List - extra project grade Must turn in today MBCS - Chapter 1 Installation Exercises Analysis Questions week14 2 Scheme
More informationDesign of Embedded Systems
Design of Embedded Systems José Costa Software for Embedded Systems Departamento de Engenharia Informática (DEI) Instituto Superior Técnico 2015-01-02 José Costa (DEI/IST) Design of Embedded Systems 1
More informationThis book is about using Visual Basic for Applications (VBA), which is a
In This Chapter Describing Access Discovering VBA Seeing where VBA lurks Understanding how VBA works Chapter 1 Where VBA Fits In This book is about using Visual Basic for Applications (VBA), which is a
More informationGet Virtual. Get Bids. Get Real. Win bids by wowing your clients with 3D or virtual reality presentations with the power to impress.
Get Virtual. Get Bids. Get Real. Win bids by wowing your clients with 3D or virtual reality presentations with the power to impress. Turn virtual into reality with winning presentations. Technology is
More informationCS4450. Computer Networks: Architecture and Protocols. Lecture 13 THE Internet Protocol. Spring 2018 Rachit Agarwal
CS4450 Computer Networks: Architecture and Protocols Lecture 13 THE Internet Protocol Spring 2018 Rachit Agarwal 2 Reflection The events in last few days have left me sad! Such events must be condemned
More informationVARIABLES. Aim Understanding how computer programs store values, and how they are accessed and used in computer programs.
Lesson 2 VARIABLES Aim Understanding how computer programs store values, and how they are accessed and used in computer programs. WHAT ARE VARIABLES? When you input data (i.e. information) into a computer
More information(Refer Slide Time: 00:01:53)
Digital Circuits and Systems Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology Madras Lecture - 36 Design of Circuits using MSI Sequential Blocks (Refer Slide Time:
More informationWhat Is a Program? Pre-Quiz
What Is a Program? What Is a Program? Pre-Quiz 1. What is a program? 2. What is an algorithm? Give an example. 2 What Is a Program? Pre-Quiz Answers 1. What is a program? A program is a sequence of instructions
More informationIntroduction. A Brief Description of Our Journey
Introduction If you still write RPG code as you did 20 years ago, or if you have ILE RPG on your resume but don t actually use or understand it, this book is for you. It will help you transition from the
More informationInstalling and Configuring the Voice UPB Bridge updated 22-Jan-2018
Installing and Configuring the Voice UPB Bridge updated 22-Jan-2018 Before starting these instructions, you should already have your Voice assistant installed and working. These instructions can be used
More informationLast Time. University of British Columbia CPSC 111, Intro to Computation Alan J. Hu. Readings
University of British Columbia CPSC 111, Intro to Computation Alan J. Hu Writing a Simple Java Program Intro to Variables Readings Your textbook is Big Java (3rd Ed). This Week s Reading: Ch 2.1-2.5, Ch
More informationUsing Karel with Eclipse
Chris Piech Handout #3 CS 106A January 10, 2018 Using Karel with Eclipse Based on a handout by Eric Roberts and Nick Troccoli Once you have downloaded a copy of Eclipse as described on the course website,
More informationPremiere Pro Export Settings
Premiere Pro Export Settings Premiere has many export settings for your content and it can be confusing to figure out which one is right for your project. The most important thing to know before exporting
More informationLecture 2 Finite Automata
Lecture 2 Finite Automata August 31, 2007 This lecture is intended as a kind of road map to Chapter 1 of the text just the informal examples that I ll present to motivate the ideas. 1 Expressions without
More informationFundamentals of Programming (Python) Basic Concepts. Ali Taheri Sharif University of Technology Spring 2018
Fundamentals of Programming (Python) Basic Concepts Ali Taheri Sharif University of Technology Outline 1. What is a Computer? 2. Computer System Organization 3. What is a Computer Program? 4. Programming
More informationSemantic Analysis. Lecture 9. February 7, 2018
Semantic Analysis Lecture 9 February 7, 2018 Midterm 1 Compiler Stages 12 / 14 COOL Programming 10 / 12 Regular Languages 26 / 30 Context-free Languages 17 / 21 Parsing 20 / 23 Extra Credit 4 / 6 Average
More informationComputer Principles and Components 1
Computer Principles and Components 1 Course Map This module provides an overview of the hardware and software environment being used throughout the course. Introduction Computer Principles and Components
More informationInput (part 2: input models)
Input (part 2: input models) Dealing with diversity Saw lots of diversity in devices actual details of devices (e.g., device drivers) is a real pain how do we deal with the diversity? Need a model (abstraction)
More informationCS187 - Science Gateway Seminar for CS and Math
CS187 - Science Gateway Seminar for CS and Math Fall 2013 Class 6 Sep. 19, 2013 Programming and Programming Languages Why, How and What? A programming language is a formal language (vs. natural language)
More information