Home > Computer Programming, Physics > Is IB Computer Science for me?

Is IB Computer Science for me?

January 24, 2017 Leave a comment Go to comments

Key things to remember:

About 50% of the course is programming, so you will need to enjoy programming. I have given you a short diagnostic challenge below. If you enjoy trying to solve it, then you should do IB Computer Science.

High school computer science is generally NOT a pre-requisite to study computer science at university, so you can do computer science later, even if you don’t do it now. This is not true of other subjects like chemistry and physics.

I don’t set homework outside of reviewing what we’ve done in class and revision for summative assessments. All summative assessments take the form of written tests in the style of the IB Computer Science exam. There are three per semester, including end-of-year and mock examinations. That’s not a lot of tests, but I will expect you to have prepared well.

As with all IB subjects you will have a substantial internally assessed project. In IB Computer Science this takes the form of a software development project in which you must plan, design, code and implement a computer program for a real client.

Do you like programming?

This algorithm prints every item in a list of 100 things.

i = 0
while i < 100:
  print list[i]
  i = i + 1

This algorithm prints every item in the list from back to front.

i = 100
while i > 0:
  print list[i-1]
  i = i - 1

This algorithm prints “Hooray” if it finds the number 7 in the list:

i = 0
while i < 100:
  if list[i] == 7 then:
    output "Hooray"
    break
  i = i + 1

Can you write an algorithm to determine if the list is a palindrome?
(ie it is the same forwards as backwards).

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s