Hey there! Sign in to join this conversationNew here? Join for free
    Offline

    2
    ReputationRep:
    (Original post by Lewis7_)
    I have to learn the entire IT3 course, the entire COMP3 course and the entire F293 Business course in one day for 3 exams tomorrow... You guys have it easy.

    (Ive failed.)
    Are you doing wjec it3
    Offline

    2
    ReputationRep:
    (Original post by epic within)
    Are you doing wjec it3
    Yup.
    Offline

    2
    ReputationRep:
    The grade boundaries for this are so ****ed lol.
    Is anyone else in my position?
    I need 58 on comp 3 for B grade
    80 for A grade
    86 for A*
    Offline

    2
    ReputationRep:
    Can anyone help me on question 1 for june 2011. How do we do it? the question is in the spoiler.
    Spoiler:
    Show
    Offline

    2
    ReputationRep:
    (Original post by Ainsleyy)
    Can anyone help me on question 1 for june 2011. How do we do it? the question is in the spoiler.
    Spoiler:
    Show
    You do 15 items / 2 (for half way in between ) which is 7.5 , u round up always so it's the 8th item = philip

    you always want the item ur searching for to be inbetween the numbers ( now between 8 and 15)

    Then you take the 8 + 15 /2 = 11.5 round up get 12th item = Timothy
    12

    8+12/2 = 10th item = Ravi
    10+12 /2 = 11th item = Richard

    For the second bit max number of items: 2^(max item) = 137
    2 to the power of what gives 137?
    2 to the power of 7 gives 128 which isnt enough
    2 to the power of 8 gives 256
    8 is the answer

    if ur not good at maths i'm not to sure how else to explain
    Offline

    2
    ReputationRep:
    (Original post by QuantumSylar)
    You do 15 items / 2 (for half way in between ) which is 7.5 , u round up always so it's the 8th item = philip

    you always want the item ur searching for to be inbetween the numbers ( now between 8 and 15)

    Then you take the 8 + 15 /2 = 11.5 round up get 12th item = Timothy
    12

    8+12/2 = 10th item = Ravi
    10+12 /2 = 11th item = Richard

    For the second bit max number of items: 2^(max item) = 137
    2 to the power of what gives 137?
    2 to the power of 7 gives 128 which isnt enough
    2 to the power of 8 gives 256
    8 is the answer

    if ur not good at maths i'm not to sure how else to explain
    Yep that all makes sense thanks. So always round up. And for the second part I just put 137 into log(base2)137 and got 7.something so I rounded up to 8. As log(base2)N is the complexity of binary search right?
    Offline

    2
    ReputationRep:
    (Original post by Ainsleyy)
    Yep that all makes sense thanks. So always round up. And for the second part I just put 137 into log(base2)137 and got 7.something so I rounded up to 8. As log(base2)N is the complexity of binary search right?
    yh exactly that
    Offline

    2
    ReputationRep:
    (Original post by Teee123)
    we need to memorise pseudo codes???
    Turns out I was wrong we do need to memorise some pseudo code. Im going to compile a list it turns out its not a lot so dont worry.
    Offline

    2
    ReputationRep:
    You were right about the pseudo code! Sorry
    Offline

    2
    ReputationRep:
    (Original post by Ainsleyy)
    Turns out I was wrong we do need to memorise some pseudo code. Im going to compile a list it turns out its not a lot so dont worry.
    Oh man I'm the worst at pseudo codes, I hope you're right and it's not much otherwise I am screwedddd. But thanks anyway.
    Offline

    2
    ReputationRep:
    (Original post by Lewis7_)
    Yup.
    same, at-least it's easier than COMP3 and you can learn almost all answers from past papers
    Offline

    2
    ReputationRep:
    Pseudo code:

    Stacks:

    PUSH:

    If Stack is full
    Then Error
    Else
    Increment TopOfStackPointer
    Stack[TopOfStackPointer] ← Data
    EndIf

    POP:

    If Stack is empty
    Then Error
    Else
    Return Stack[TopOfStackPointer]
    Decrement TopOfStackPointer
    EndIf

    Queues:
    Can only find the pseudo code for Circular queues.

    Add item:

    If Queue is full
    Then Error
    Else
    Increment RearPointer
    If RearPointer > MaxIndex
    Then RearPointer ← 1
    Queue[RearPointer] ← Data
    EndIf

    Remove item:

    If Queue is empty
    Then Error
    Else
    Return Queue[FrontPointer]
    Increment FrontPointer
    If FrontPointer > MaxIndex
    Then FrontPointer ← 1
    EndIf


    Insertion sort, bubble sort and binary search are all very complicated. I aint learning those... I think we will just need to be able to trace through them...?
    And just a tip: if you can't remember all of it just write the correct error handling if statement at the beginning you can get 2 out of the 4 marks (normally) in the question.
    Offline

    2
    ReputationRep:
    (Original post by Ainsleyy)
    Pseudo code:

    Stacks:

    PUSH:

    If Stack is full
    Then Error
    Else
    Increment TopOfStackPointer
    Stack[TopOfStackPointer] ← Data
    EndIf

    POP:

    If Stack is empty
    Then Error
    Else
    Return Stack[TopOfStackPointer]
    Decrement TopOfStackPointer
    EndIf

    Queues:
    Can only find the pseudo code for Circular queues.

    Add item:

    If Queue is full
    Then Error
    Else
    Increment RearPointer
    If RearPointer > MaxIndex
    Then RearPointer ← 1
    Queue[RearPointer] ← Data
    EndIf

    Remove item:

    If Queue is empty
    Then Error
    Else
    Return Queue[FrontPointer]
    Increment FrontPointer
    If FrontPointer > MaxIndex
    Then FrontPointer ← 1
    EndIf


    Insertion sort, bubble sort and binary search are all very complicated. I aint learning those... I think we will just need to be able to trace through them...?
    And just a tip: if you can't remember all of it just write the correct error handling if statement at the beginning you can get 2 out of the 4 marks (normally) in the question.
    Ayyy thank you so much!
    Offline

    0
    ReputationRep:
    Does anyone have any good resources to recommend for floating point? I struggled with two's complement last year and can't wrap my head around this.
    Offline

    3
    ReputationRep:
    I'm doing this one. Should be a nice relax in the hall for 2 hours 30 minutes before doing a proper exam (OCR Chemistry Unit 5) in the afternoon!
    Offline

    11
    ReputationRep:
    Whats the difference between stack and dynamic?

    What the difference between queue and stack also. Thanks
    Offline

    2
    ReputationRep:
    Bubble sort
    variables
    Numbers is array of integer of length 1 to 5
    x,y, temporary of type integers
    Check type of boolean

    begin
    check <== True
    while x <= 5 and check = True do
    while y <= 5 do
    if Numbers[y<Numbers[y+1]
    then Check <== Flase
    Else
    temporary <== Numbers[y+1]
    Numbers[y+1] <== Number[y]
    Numbers[y] <== Temporary
    End of IF
    Increment y
    End of y While loop
    Increment x
    End of x while loop

    the reason I used check boolean variable is to make the algorithm efficient because if a sort does not happen then the number being checked is already sorted so it needs to step out of the loop
    Offline

    2
    ReputationRep:
    Binary Search

    For sorted array called Numbers

    3 pointer called Front, Middle and End

    Middle <== (Front + End) Div 2 **Notice I said div and not "/" because Div gives a whole number**
    If ItemLookingFor = Numbers[Middle]
    Then Output Numbers[Middle]
    Else
    If ItemLookingFor < Numbers[Middle]
    Then End <== Middle - 1
    If ItemLookingFor > Numbers[Middle]
    Then Front <== Middle + 1
    End of IF
    Offline

    2
    ReputationRep:
    (Original post by Ainsleyy)
    Pseudo code:

    Stacks:

    PUSH:

    If Stack is full
    Then Error
    Else
    Increment TopOfStackPointer
    Stack[TopOfStackPointer] ← Data
    EndIf

    POP:

    If Stack is empty
    Then Error
    Else
    Return Stack[TopOfStackPointer]
    Decrement TopOfStackPointer
    EndIf

    Queues:
    Can only find the pseudo code for Circular queues.

    Add item:

    If Queue is full
    Then Error
    Else
    Increment RearPointer
    If RearPointer > MaxIndex
    Then RearPointer ← 1
    Queue[RearPointer] ← Data
    EndIf

    Remove item:

    If Queue is empty
    Then Error
    Else
    Return Queue[FrontPointer]
    Increment FrontPointer
    If FrontPointer > MaxIndex
    Then FrontPointer ← 1
    EndIf


    Insertion sort, bubble sort and binary search are all very complicated. I aint learning those... I think we will just need to be able to trace through them...?
    And just a tip: if you can't remember all of it just write the correct error handling if statement at the beginning you can get 2 out of the 4 marks (normally) in the question.
    To check if Stack or Queue is full you have to also write out the algorithm to check for that if they give you a bunch of pointer names to use if they don't then you don't need to write out the algorithm for error checking

    so for Queues
    IF FrontPointer = RearPointer
    Then Output Error message "Queue is full"
    Else .... so on

    For Stacks
    If TopPointer = TopArrayLimit
    Then Output Error Stack is full
    Else... so on
    Offline

    0
    ReputationRep:
    (Original post by Teee123)
    One day left and I just started Communication Methods. Still have to do networks, server side and security. s**t.
    I started revising after C3 earlier today if it makes you feel any better :P
 
 
 
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • Poll
    Are unpaid trial work shifts fair?
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

    Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

    Quick reply
    Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.