Interactive Programming vs. Stored Programs

Slides:



Advertisements
Similar presentations
COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
Advertisements

Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Command Console Tutorial BCIS 3680 Enterprise Programming.
Cumulus vs. Portfolio: An interactivity slam-down between two Digital Asset Management Applications Theories and Practice of Interactive Media 7 December.
Systems Software Operating Systems.
Objectives  Understand the purpose of the superuser account  Outline the key features of the Linux desktops  Navigate through the menus  Getting help.
PYTHON: LESSON 1 Catherine and Annie. WHAT IS PYTHON ANYWAY?  Python is a programming language.  But what’s a programming language?  It’s a language.
© Copyright 2000, Julia Hartman 1 Next An Interactive Tutorial for SPSS 10.0 for Windows © by Julia Hartman Using Command Syntax.
The Python interpreter CSE 140 University of Washington Michael Ernst.
Just as there are many human languages, there are many computer programming languages that can be used to develop software. Some are named after people,
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
An Introduction to Front-end Web Development Tom Perkins.
Windows Listening Guide.  The software that manages the sharing of the resources of a computer. The overall function of the computer.  MASTER CONTROLLER.
Browsers © Copyright 2014, Fred McClurg All Rights Reserved.
Proxy Installer for Windows Squid: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response.
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
You Need an Interpreter!. Closing the GAP Thus far, we’ve been struggling to speak to computers in “their” language, maybe its time we spoke to them in.
Intro to Programming Web Design ½ Shade Adetoro. Programming Slangs IDE - Integrated Development Environment – the software in which you develop an application.
Microsoft PowerPoint is a presentation program developed by Microsoft
Trinity College Dublin, The University of Dublin GE3M25: Computer Programming for Biologists Python Karsten Hokamp, PhD Genetics TCD, 03/11/2015.
HTML Overview Part 5 – JavaScript 1. Scripts 2  Scripts are used to add dynamic content to a web page.  Scripts consist of a list of commands that execute.
The Python interpreter CSE 160 University of Washington Ruth Anderson 1.
Saving TI-83 List Data to a Program File. Saving TI-83 Lists to a Program Step 1: Create a New Program Press PRGM and arrow over to NEW Press ENTER and.
Practical Kinetics Exercise 0: Getting Started Objectives: 1.Install Python and IPython Notebook 2.print “Hello World!”
OST More about using Macs. Applications An Application is just software that helps a users do something. These include iTunes, Word, Excel, PowerPoint.
Software Development Languages and Environments. Computer Languages Just as there are many human languages, there are many computer programming languages.
Windows Tutorial 2 Organizing Your Files
An Interactive Tutorial for SPSS 10.0 for Windows©
Tutorial 1 Creating a Database
Computer Programming.
Scratch for Interactivity
How to debug an application
A Short DOS Presentation
The Python interpreter
How to Enable pop-ups for Mozilla Firefox? Call Us Toll-free (US & Canada )
Guide To UNIX Using Linux Third Edition
Chrome Developer Tools
How to Fix Norton Error Code "8504, 106"?. If you are running Norton antivirus protecting software and facing error code "8504, 106" while restarting.
Week 1 Gates Introduction to Information Technology cosc 010 Week 1 Gates
When I want to execute the subroutine I just give the command Write()
Today’s lesson – Python next steps
Computer Training.
Week 1 Computer Programming Year 9 – Unit 9.04
Exploring Microsoft Excel
Automation with Gwen Introduction.
basic Python programs, defining functions
The Python interpreter
Lesson Aims Vocabulary In this lesson you are going to:
Task 1 Computer Programming LEVEL 6 PROGRAMMING:
CSE 341: Programming Languages Section 1
Access Tutorial 1 Creating a Database
Web Page Design CIS 300.
Saving TI-83 List Data to a Program File
Windows Shortcuts.
CSCI N207 Data Analysis Using Spreadsheet
Using Script Files and Managing Data
Ball State University - CS4MS - Fall 2018
Chapter 1: Programming Basics, Python History and Program Components
Year 10 Computer Science Hardware - CPU and RAM.
Input and Output Python3 Beginner #3.
The Python interpreter
Mu Editor – New User Cheat Sheet – CircuitPython Mode
1.3.7 High- and low-level languages and their translators
The Python interpreter
Starter Which of these inventions is: Used most by people in Britain
Mu Editor – New User Cheat Sheet – CircuitPython Mode
Visual Studio Code Walkthrough
The Python interpreter
Introduction to Python
Presentation transcript:

Interactive Programming vs. Stored Programs © 2018 Kris Jordan

Interactive Programming Open Google Chrome and navigate it to: http://bit.ly/repl-110 Then press the following shortcut keys simultaneously: Windows: Control + Shift + J Mac: Command + Option + J This opens a console where you can run JavaScript code interactively! Try entering each of these lines of code precisely and pressing enter after each: print("Hello, world") print(1 + 1) 1 + 1 Congrats, you've written your first lines of code!

Interactive "REPL" vs. Stored Programs (1 / 2) You just wrote code interactively in a REPL console. REPL is short for: Read - when you press enter the computer "reads" your command Evaluate - it then takes your command and processes it Print - the result is then printed back to you in the REPL console Loop - you can type in another command and the REPL process repeats Programming in a REPL is great for learning and tinkering When you refresh your browser or restart the program, though, the work in your REPL is lost

Interactive "REPL" vs. Stored Programs (2 / 2) Soon you will write "Stored Programs" saved in files A stored program is a text file of lines of code like you'd write in a REPL However, the code in your stored program is not immediately evaluated When you save and execute your program, the computer works through each line of code as though you quickly typed every line one-by-one into the REPL. Stored programs enable you to write larger programs, reuse them, and share them When you restart your program, all of your saved code is reevaluated from scratch.