100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Summary IB Computer Science HL Notes: Unleash Your Potential

Rating
-
Sold
-
Pages
31
Uploaded on
13-10-2023
Written in
2022/2023

For IB Computer Science Higher Level (HL) students, our HL notes are the perfect resource to conquer the challenging aspects of the curriculum. Dive deep into advanced topics, including data structures, algorithms, and AI, all aligned with the IB Computer Science HL syllabus. These comprehensive notes provide in-depth insights, practice questions, and guidance to help you excel in assessments and the HL-specific components of the IB exams. Elevate your understanding and performance in IB Computer Science HL with these specialized student notes.

Show more Read less
Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Unknown
Course

Document information

Uploaded on
October 13, 2023
Number of pages
31
Written in
2022/2023
Type
Summary

Subjects

Content preview

IB HL Computer Science
___

Notes


Topic 5 Abstract data structure
5.1.4 two dimensional array




Indexed by two number [x][y]

Also access value with two indexes



5.1.6 Stack

● Last in first out

, ● Pop - remove


● Push - add


● isEmpty - return true if stack is empty


● Use for chronological order and undo
● Can use depth instead of index



5.1.8 Queue



● Enqueue - add an item to the end of the queue
● Dequeue - remove and return the first item from the queue
● First in First out
● Uses for situations where order is required
● Printer queue or ticketing system

5.1.11 Static vs Dynamic

● Static size is constant
● Statis is usually a less effective usage of storage space
● Dynamic size changes with the elements
● Dynamic is associated with while loop
● Static is associated with for loop
● Dynamic uses nodes

,5.1.12 Linked list




● Each element has a node that points to the next element
● The head points to the first element
● In order to access an element, you have to follow the pointers from
the beginning
● The last node contains a null pointer

5.1.13




Changing a linked list is easier than a normal list because only the nodes have to
change

, Singly linked list

There is a node pointing to the next element



Doubly linked list

There is a node pointing to the next element and the previous element



Circular linked list

Last link points back to the first one

Can cause infinite loop

The one on the rightmost is the head.



5.1.14 - 5.1.17 Tree
● Binary and non binary tree
● Binary tree node can’t have more than 2 children
● A null pointer is an empty binary tree
● Root is the first element on top
● Leaf are nodes that have no children
● Subtree are parent and children that are a part of a bigger tree
● There are left child and right child
$8.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
thanatvarinkittikasemsak

Get to know the seller

Seller avatar
thanatvarinkittikasemsak The University of Birmingham
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
9
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions