Wat is LessonUp
Zoeken
Kanalen
aiToolsTab
Beta
Inloggen
Registreren
‹
Terug naar zoeken
Year10C Programming fundimentals 2
Year10C Programming fundimentals 2
Programming Fundamentals - Arrays
1 / 16
volgende
Slide 1:
Tekstslide
Computing
Upper Secondary (Key Stage 4)
GCSE
In deze les zitten
16 slides
, met
interactieve quizzen
en
tekstslides
.
Lesduur is:
120 min
Start les
Bewaar
Deel
Printen
Onderdelen in deze les
Year10C Programming fundimentals 2
Programming Fundamentals - Arrays
Slide 1 - Tekstslide
What does this code do?
Slide 2 - Tekstslide
Answers.
Slide 3 - Open vraag
Download Predict 1
Slide 4 - Tekstslide
Change the variable array name.
Decrease the size of the array
Cast the input to the appropriate data type.
Slide 5 - Tekstslide
A 1 dimensional array is basically a list where we store a data set.
All the data items are of the same data type.
The numbers across the top are the index locations for each data item
If we wanted to put a value in index position 3 like so:
score [3] = 9
If we wanted to output the value at index 5:
print (“Value at position 5 is “, score[4])
Slide 6 - Tekstslide
Slide 7 - Tekstslide
Watch the chapter 6 video(5mins)
Slide 8 - Tekstslide
Read chapter 6 and complete activity C. (10 mins)
Slide 9 - Tekstslide
Complete activity D.(5 mins)
Slide 10 - Tekstslide
Complete the classroom array assignment.
Slide 11 - Tekstslide
2 Dimensional Arrays
If we want to store more than 1 piece of information about each data item we can use a two dimensional array like below:
The index locations of each row refer to an individual student
The index locations of each column refer to an individual student test score.
To place student 1’s score for test 2 of 9 we would do the following:
testscores [1,2] = 9
Slide 12 - Tekstslide
Cars [0,1]
Slide 13 - Open vraag
Cars [1,1]
Slide 14 - Open vraag
Draw out an example of a 2D array in your notebook and write the Pseudocode to show how you would add an item to it.
Slide 15 - Tekstslide
What I learned today?
Slide 16 - Woordweb
Meer lessen zoals deze
How Sustainable is my Breakfast?
19 days ago
- Les met
26 slides
Food science
Science
+1
Lower Secondary (Key Stage 3)
Primary Education
Kommagetallen les 82/83
February 2023
- Les met
8 slides
Wiskunde
Lager onderwijs
Mental Health Matters
August 2024
- Les met
8 slides
door
PSHE
Citizenship
PSHE
+2
Lower Secondary (Key Stage 3)
Upper Secondary (Key Stage 4)
BTEC, GCSE
PSHE
Mental Health Matters
August 2023
- Les met
8 slides
door
LessonUp Inspiration
Citizenship
PSHE
+2
Lower Secondary (Key Stage 3)
Upper Secondary (Key Stage 4)
BTEC, GCSE
LessonUp Inspiration
Upper KS2: Individual Liberty- Human Rights
August 2024
- Les met
8 slides
door
PSHE
British Values
Primary Education
PSHE
Upper KS2: Individual Liberty- Human Rights
August 2023
- Les met
8 slides
door
LessonUp Inspiration
British Values
Primary Education
LessonUp Inspiration
Upper KS2: Individual Liberty- Human Rights
August 2024
- Les met
9 slides
door
PSHE
British Values
Citizenship
+2
Primary Education
PSHE
Upper KS2: Individual Liberty- Human Rights
August 2023
- Les met
9 slides
door
LessonUp Inspiration
British Values
Citizenship
+2
Primary Education
LessonUp Inspiration