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 Topic 4: Computational Mathematics Insights

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

Master IB Computer Science Topic 4 with our dedicated student notes designed to align seamlessly with the IB curriculum. Delve deep into the world of computational mathematics, covering numerical methods, data representation, and more. These notes are your invaluable resource to excel in class assessments and exams. Gain a clear understanding of the mathematical concepts that play a pivotal role in IB Computer Science, and set a strong foundation for academic success.

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
17
Written in
2022/2023
Type
Summary

Subjects

Content preview

IB SL Computer Science
Quarter 1
___

Notes


4.1

Logically

https://docs.google.com/presentation/d/1COqQgcW90ZcwnCIRUqy5vCkskxp2GT
zk2GBkeVlgIJ8/edit?usp=sharing



Ahead

https://docs.google.com/presentation/d/1dywD5bpvU_AWe61n2CQX9ozbT_16L3
X5IHO-kSbcmfk/edit?usp=sharing



Abstractly

https://docs.google.com/presentation/d/1IYR8DW4ulTJtuNfDLgp5IiZXCXCTtiN
NPzokts3gSKU/edit?usp=sharing



Concurrently

https://docs.google.com/presentation/d/1uhgnnEfNFbTIuOoNXSvz0DiSReE0DZt
XIwWzDgu69yM/edit?usp=sharing

,Procedurally

https://docs.google.com/presentation/d/1-E-xtFrkUjHR_vAOUuM7_KLE6MBxieb
QvUhm4u3XMkA/edit?usp=sharing



4.2.1 Algorithms for linear array

● Sequential search

○ For finding an item in a list

○ Just going through each element until it finds a match

● Binary search

○ For finding an item in a sorted list

○ Also known as half-interval search

○ Compare the target to the element in the middle

○ Eliminate lower half if target is higher and opposite for lower

○ List can have duplicate

○ Faster than sequential search

● Bubble sort

○ Compares adjacent items and swap them if they are in the wrong
order then move to the next adjacent items

○ Slow for big list

○ Having one loop through the list without any swaps means the list is
sorted

● Selection sort

, ○ Loop through the list to get the lowest/highest number and swap it
with the current one

○ Repeat for each elements



4.3.1 Fundamental operations

● Fundamental operations of the cpu

○ Add

■ Can be adding two numbers together

■ Can also be adding a number to the CPUs

○ Compare

○ Retrieve (or Load)

○ Store (or Save)

● Conditional instructions

○ And

○ OR

○ XOR

■ Either but not both

○ Neither

4.3.2 Complexity of instructions




● Fundamental instruction vs compound instruction
$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