Data Structures Array

1 / 38
suivant
Slide 1: Diapositive
Computer ScienceSecondary Education

Cette leçon contient 38 diapositives, avec quiz interactifs et diapositives de texte.

Éléments de cette leçon

Slide 1 - Diapositive

Name all the data structures that you know?

Slide 2 - Question ouverte

Slide 3 - Diapositive

Slide 4 - Diapositive

Slide 5 - Diapositive

Slide 6 - Diapositive

Define a Data Structure

Slide 7 - Question ouverte

Slide 8 - Diapositive

Slide 9 - Diapositive

What is the difference between a Linear and Non-linear Data Structure?

Slide 10 - Question ouverte

Slide 11 - Diapositive

What is the difference between a Mutable and Immutable Data Structure

Slide 12 - Question ouverte

Slide 13 - Diapositive

Slide 14 - Diapositive

Describe the difference between a Static and Dynamic Data Structure.

Slide 15 - Question ouverte

Slide 16 - Diapositive

Slide 17 - Diapositive

Slide 18 - Diapositive

[4,7,9,8,4,5,15,1,2,16]
Identify the [UB, LB]

Slide 19 - Question ouverte

Slide 20 - Diapositive

Slide 21 - Diapositive

Create a one-dimensional Array with python called Array,
Give the array the following values
Array = [ 12, 15, 18, 17, 19, 20 ]
Print the array

Slide 22 - Question ouverte

Slide 23 - Diapositive

Write a Python program to reverse the order of the items in the array.

Slide 24 - Question ouverte

Slide 25 - Diapositive

Write a python script that searches through a array if a element is in the list or not.

Slide 26 - Question ouverte

Slide 27 - Diapositive

Slide 28 - Diapositive

Slide 29 - Diapositive

Slide 30 - Diapositive

Slide 31 - Diapositive

Slide 32 - Diapositive

Slide 33 - Diapositive

Write a PHP script to create a two-dimensional array (4x4), initialized to a random number between 1 - 10.
Note: Use array_fill() function

Slide 34 - Question ouverte

Slide 35 - Diapositive

Create a 2D array that contains the name and Physics marks of 4 students:
Kevin: 80, Michelle: 90, Ryan: 82, Jim: 95

Slide 36 - Question ouverte

Slide 37 - Diapositive

Slide 38 - Diapositive