Unit 5 Lesson 3: Introduction to Arrays

Slides:



Advertisements
Similar presentations
CATHERINE AND ANNIE Python: Part 3. Intro to Loops Do you remember in Alice when you could use a loop to make a character perform an action multiple times?
Advertisements

I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=
I.1 ii.2 iii.3 iv.4 1+1=. i.1 ii.2 iii.3 iv.4 1+1=
Data Structures and Algorithms Lecture 1 Instructor: Quratulain Date: 1 st Sep, 2009.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 8 Arrays.
Introduction to Databases Lesson Outline Principles of IT.
1 Data Organization Example 1: Heap storage management Maintain a sequence of free chunks of memory Find an appropriate chunk when allocation is requested.
JavaScript: API’s, Parameters and Creating Functions with Parameters
CMSC201 Computer Science I for Majors Lecture 19 – Recursion
Introduction toData structures and Algorithms
Computers’ Basic Organization
AP CSP: Creating Functions & Top-Down Design
ARRAYS (Extra slides) Arrays are objects that help us organize large amounts of information.
JavaScript/ App Lab Programming:
Canvas and Arrays in Apps
Vocabulary Big Data - “Big data is a broad term for datasets so large or complex that traditional data processing applications are inadequate.” Moore’s.
Vocabulary byte - The technical term for 8 bits of data.
UNIT 2 – CHAPTER 1 – LESSON 1 DIGITAL INFORMATION.
Vocabulary byte - The technical term for 8 bits of data.
APIs and Function Parameters
Unit 5 Lesson 6: User Input and Strings
FOP: JavaScript Arrays(Lists)
CMSC202 Computer Science II for Majors Lecture 12 – Linked Lists
Containers and Lists CIS 40 – Introduction to Programming in Python
The Object-Oriented Thought Process Chapter 1
Reviewing your Program
UNIT 2 – LESSON 6 ENCODE AN EXPERIENCE.
MPM2D (Grade 10 Academic Math) Mr. Park.
CMSC201 Computer Science I for Majors Lecture 18 – Recursion
Lesson 5-15 AP Computer Science Principles
UNIT 3 – LESSON 5 Creating Functions.
Writing JavaScript Code
Vocabulary byte - The technical term for 8 bits of data.
Vocabulary Big Data - “Big data is a broad term for datasets so large or complex that traditional data processing applications are inadequate.” Moore’s.
Array Array is a variable which holds multiple values (elements) of similar data types. All the values are having their own index with an array. Index.
Data Structures – An Introduction
Vocabulary byte - The technical term for 8 bits of data.
Compound Conditional Logic
Practice PT - Design a Digital Scene 3 days
Arrays in C.
What is “Data Structures”?
structures and their relationships." - Linus Torvalds
Chapter 15 QUERY EXECUTION.
structures and their relationships." - Linus Torvalds
A Kind of Binary Tree Usually Stored in an Array
Lesson 16: Functions with Return Values
CS 106 Computing Fundamentals II Chapter 71 “Indexing”
LESSON 13 – INTRO TO ARRAYS
Lesson 15: Processing Arrays
Further Data Structures
Data Structures – 1D Lists
Data Structures: Introductory lecture
Programming We have seen various examples of programming languages
Array?.
Mastering Memory Modes
Hank Childs, University of Oregon
Introduction to Data Structure
CS250 Introduction to Computer Science II
Data Structures & Algorithms
Fundaments of Game Design
Computational Thinking
COP3530- Data Structures Introduction
slides created by Ethan Apter
U3L8 Creating Functions with Parameters
structures and their relationships." - Linus Torvalds
U3L4 Using Simple Commands
Modern Collections Classes & Generics
Week 7 - Monday CS 121.
Introduction to Computer Science
Presentation transcript:

Unit 5 Lesson 3: Introduction to Arrays CS Principles

Unit 5 Lesson 3: Introduction to Arrays Students will be able to: Identify an array as a data structure used to store lists of information in programs. Create arrays and access information stored within them using an index. Manipulate an array using the append, insert, and remove operations. Account for the fact that JavaScript arrays are zero- indexed when using them in a program.

Introduction to Arrays Some sort of list data structure is a component of almost all programming languages. A list allows large amounts of information to be easily referenced and passed around a program, and the use of a numeric index allows individual items in a list to be accessed. Historically a list would have literally been a single contiguous chunk of memory and the index or address was used to know how far into that chunk a relevant piece of information was stored. In many modern languages, however, it is more likely that the items in an array are stored at many locations on your computer’s hard drive In this way, a JavaScript array is actually another example of abstraction. We know that it is holding a list of related information, but we don’t need to think about the actual implementation details.

U5L13 Vocab Array - A data structure in JavaScript used to represent a list. List - A generic term for a programming data structure that holds multiple items.

U5L13 Prompt "Today we’re going to start looking at how we can use lists in programs, but before we dive into that, let’s think about why we would want to in the first place. What are the benefits of creating lists? Why is it helpful to keep information in lists?" Prompt: What makes lists useful in everyday life?

Transition to Code Studio Go to U5L13 in Code Studio. Day 1 (Tuesday) Complete through AT LEAST Stage 7 (parts I & II ) Day 2 (Wednesday) Complete through Stage 31 (parts III & IV)