100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Summary IB Computer Science Topic 4: Computational Mathematics Insights $8.99   Add to cart

Summary

Summary IB Computer Science Topic 4: Computational Mathematics Insights

 4 views  0 purchase
  • Course
  • Institution

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 asse...

[Show more]

Preview 3 out of 17  pages

  • October 13, 2023
  • 17
  • 2022/2023
  • Summary
  • Unknown
avatar-seller
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller thanatvarinkittikasemsak. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $8.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75057 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$8.99
  • (0)
  Add to cart