Geschrieben von Student*innen, die bestanden haben Sofort verfügbar nach Zahlung Online lesen oder als PDF Falsches Dokument? Kostenlos tauschen 4,6 TrustPilot
logo-home
Zusammenfassung

Summary Arrays & Abstract Data Types

Bewertung
-
Verkauft
-
seiten
3
Hochgeladen auf
07-02-2023
geschrieben in
2022/2023

Transform your computer science education with our comprehensive guide to Arrays and Abstract Data Types. Designed specifically for the OCR H446 curriculum, this document is the ultimate study tool for anyone looking to excel in computer science. With clear and concise explanations alongside with code examples, this guide covers everything you need to know about arrays and abstract data types to confidently tackle the final year A-Level exams. Whether you're a student, teacher, or self-studier, this document is the key to unlocking your full potential in computer science. Don't miss out on this opportunity to elevate your understanding of these essential concepts and achieve your goals in the field.

Mehr anzeigen Weniger lesen
Hochschule
Kurs

Inhaltsvorschau

🥱
Abstract Data Types & Arrays

Abstract Data Type: A data type created by the programmer themselves.



Tuple: A data structure that is immutable/unchangeable and in sorted order.



Records: A data structure where there is a fixed number of variables, each one is called a field and they each have an
identifier called a field name and a data type. Each field in a record can have a different data type, e.g. character, string,
integer, bool, real/float.


Array:

A data structure that holds a number of data items or elements of the same data type.
An array can be declared using a single identifier and can be used efficiently using iteration.

Each position in an array is identified by an index, the first item in an array is at index 0.

The contents of an array is stored next to each other in the sequence given, in main memory. Therefore each position in
the array can be accessed directly, this is good for high performance algorithms and such.

Values stored in an array are mutable, therefore they can be changed while the program is running like a list and unlike a
tuple.



There are 1D, 2D and 3D Arrays:

This is a 1D array, it can be visualized as a single row of values.


ARRAY spelling_words[10] #Declare an array of 10 elements

spelling_words[0] = "path"
spelling_words[1] = "floor"
spelling_words[2] = "sugar"
spelling_words[3] = "because"
spelling_words[4] = "beautiful"
spelling_words[5] = "clothes"
spelling_words[6] = "whole"
spelling_words[7] = "behind"




Abstract Data Types & Arrays 1

Schule, Studium & Fach

Studien-Niveau
Herausgeber
Fach
Kurs

Dokument Information

Hochgeladen auf
7. februar 2023
Anzahl der Seiten
3
geschrieben in
2022/2023
Typ
ZUSAMMENFASSUNG

Themen

$5.43
Vollständigen Zugriff auf das Dokument erhalten:

Falsches Dokument? Kostenlos tauschen Innerhalb von 14 Tagen nach dem Kauf und vor dem Herunterladen kannst du ein anderes Dokument wählen. Du kannst den Betrag einfach neu ausgeben.
Geschrieben von Student*innen, die bestanden haben
Sofort verfügbar nach Zahlung
Online lesen oder als PDF

Lerne den Verkäufer kennen
Seller avatar
ripple

Lerne den Verkäufer kennen

Seller avatar
ripple The Heathland School
Folgen Sie müssen sich einloggen, um Studenten oder Kursen zu folgen.
Verkauft
-
Mitglied seit
3 Jahren
Anzahl der Follower
0
Dokumente
1
Zuletzt verkauft
-

0.0

0 rezensionen

5
0
4
0
3
0
2
0
1
0

Beliebte Dokumente

Kürzlich von dir angesehen.

Warum sich Studierende für Stuvia entscheiden

on Mitstudent*innen erstellt, durch Bewertungen verifiziert

Geschrieben von Student*innen, die bestanden haben und bewertet von anderen, die diese Studiendokumente verwendet haben.

Nicht zufrieden? Wähle ein anderes Dokument

Kein Problem! Du kannst direkt ein anderes Dokument wählen, das besser zu dem passt, was du suchst.

Bezahle wie du möchtest, fange sofort an zu lernen

Kein Abonnement, keine Verpflichtungen. Bezahle wie gewohnt per Kreditkarte oder Sofort und lade dein PDF-Dokument sofort herunter.

Student with book image

“Gekauft, heruntergeladen und bestanden. So einfach kann es sein.”

Alisha Student

Häufig gestellte Fragen