EasyCode Foundations Vocabulary Terms.

Slides:



Advertisements
Similar presentations
JavaScript I. JavaScript is an object oriented programming language used to add interactivity to web pages. Different from Java, even though bears some.
Advertisements

String and Lists Dr. Benito Mendoza. 2 Outline What is a string String operations Traversing strings String slices What is a list Traversing a list List.
Repeating Actions While and For Loops
For Next Looping My first Looping Structure. For…Next FOR counter_variable = initial_value TO end_value STEP increment Statement-1 Statement-2 ……. Statement-n.
Nested Loops. Nesting Control Structures One if statement inside another one An if statement inside a loop A loop inside an if statement Control structures.
Basic Elements of C++ Chapter 2.
Python quick start guide
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 6 Value- Returning Functions and Modules.
CPS120 Introduction to Computer Science Iteration (Looping)
Project 1 Due Date: September 25 th Quiz 4 is due September 28 th Quiz 5 is due October2th 1.
Executable Statements 1. Def. Executable statements are instructions to the computer to perform specific tasks. 2. Two examples: method calls and assignment.
Lecture 26: Reusable Methods: Enviable Sloth. Creating Function M-files User defined functions are stored as M- files To use them, they must be in the.
CPS120 Introduction to Computer Science Iteration (Looping)
Controlling Computers with Programs When you create a computer program you are creating a set of instructions that tell the computer exactly and completely.
CS190/295 Programming in Python for Life Sciences: Lecture 6 Instructor: Xiaohui Xie University of California, Irvine.
Flow Control in Imperative Languages. Activity 1 What does the word: ‘Imperative’ mean? 5mins …having CONTROL and ORDER!
Unit – 3 Control structures. Condition Statements 1.If.…..else :- Has someone ever told you, "if you work hard, then you will succeed"? And what happens.
Pseudocode. Algorithm A procedure for solving a problem in terms of the actions to be executed and the order in which those actions are to be executed.
1 Agenda  Unit 7: Introduction to Programming Using JavaScript T. Jumana Abu Shmais – AOU - Riyadh.
String and Lists Dr. José M. Reyes Álamo. 2 Outline What is a string String operations Traversing strings String slices What is a list Traversing a list.
PROGRAMMING: What’s It All About?
String and Lists Dr. José M. Reyes Álamo.
Test 2 Review Outline.
Chapter Topics The Basics of a C++ Program Data Types
A Python Tour: Just a Brief Introduction
Topic: Iterative Statements – Part 1 -> for loop
REPETITION CONTROL STRUCTURE
Python Loops and Iteration
Lesson #6 Modular Programming and Functions.
1-1 Logic and Syntax A computer program is a solution to a problem.
Lesson #6 Modular Programming and Functions.
Pamela Moore & Zenia Bahorski
Basic Elements of C++.
CHAPTER 5A Loop Structure
Pseudocode Upsorn Praphamontripong CS 1110 Introduction to Programming
Prof: Dr. Shu-Ching Chen TA: Samira Pouyanfar Hector Cen Fall 2017
JavaScript: Functions.
The structure of computer programs
Chapter 19 and Material Adapted from Fluency Text book
Chapter 5 Structures.
Basic Elements of C++ Chapter 2.
11/10/2018.
Lesson #6 Modular Programming and Functions.
Arrays, For loop While loop Do while loop
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Repeating Instructions And Advance collection
Introduction to pseudocode
Programming Right from the Start with Visual Basic .NET 1/e
Computer Terms Good to Know.
UNIT 3 CHAPTER 1 LESSON 4 Using Simple Commands.
First Python Program Professor Hugh C. Lauer CS-1004 — Introduction to Programming for Non-Majors (Slides include materials from Python Programming: An.
CS190/295 Programming in Python for Life Sciences: Lecture 6
T. Jumana Abu Shmais – AOU - Riyadh
Arrays .
String and Lists Dr. José M. Reyes Álamo.
Logical Operations In Matlab.
LabVIEW.
Topics Introduction to Value-returning Functions: Generating Random Numbers Writing Your Own Value-Returning Functions The math Module Storing Functions.
A programming language
Lesson #6 Modular Programming and Functions.
Arrays ICS2O.
Loops and Arrays in JavaScript
Vocabulary Memory Cards--Sample
Introduction to Programming
The structure of programming
Thinking procedurally
Topic: Iterative Statements – Part 2 -> for loop
Class code for pythonroom.com cchsp2cs
Programming II Vocabulary Review Loops & functions
Tuple.
Presentation transcript:

EasyCode Foundations Vocabulary Terms

computer program --A set of instructions which are simple tasks provided to the computer

statement --An element which expresses some action to be carried out The instructions in a computer program are statements

functions -- The set of actions that an object can do

object --Everything in the scene we can interact with Ex: bush, bridge, banana, turtle

argument -- The input that we add to the function (the action)

step 10 statement function argument

syntax -- The rules that are used to write and read programming languages

simple loop --A sequence of instructions that repeats a specified number of times

dot 100.times -> stepUp indentation function

variable -- stores data for use when needed x= 20 identifier (can be any letter or word) value

distanceTo --Function used with an object. Computer gives “return value” (computes distance) Ex: distanceTo banana Can be combined with variables Ex: x = distanceTo banana step x

array -- A group of objects, which share a common name and are usually of the same type.

element --Each object in an array

index --The number used to tell which element in an array. Starts with 0.

array indexing If there are 5 bananas on the screen the first banana is: bananas[0] name of the array Index will be 0,1,2,3 or 4 brackets

for loop --repeating an action to all the elements in an array individually Has a loop variable and array

“for loop” example From challenge #56: The 6 bananas belong to an array called bananas. for (this tells the computer that there is a "for" loop here) b (definition of the loop variable) in (part of the "for" loop) bananas (the name of the array) turnTo b (b is the loop variable that refers to an object in the array) step distanceTo b (b is the loop variable that refers to an object in the array) for b in bananas turnTo b step distanceTo b

iteration --the process of performing a function to every object in a collection If there is a collection of turtles, you would say that you iterate over the collection of turtles. Ex: for t in turtles t.step 10

nested loops --a loop inside of a loop When using a nested for loop, the inner loop is fully executed over and over. For every element of the outer loop, the inner loop is executed from start to end, then the whole process repeats for the next element in the other loop, and so on. Challenge 70