100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Compilation of Past Papers for Computer Science 9618 - Paper 4 £4.26
Add to cart

Exam (elaborations)

Compilation of Past Papers for Computer Science 9618 - Paper 4

 79 views  0 purchase

Compilation of Past Papers for Computer Science 9618 for Paper 4 from 2019 to 2022. Both 9618 and 9608 Past Papers

Preview 4 out of 446  pages

  • April 1, 2023
  • 446
  • 2022/2023
  • Exam (elaborations)
  • Answers
book image

Book Title:

Author(s):

  • Edition:
  • ISBN:
  • Edition:
All documents for this subject (3)
avatar-seller
SKH392
Cambridge Assessment International Education
Cambridge International Advanced Subsidiary and Advanced Level
* 4 6 5 8 9 5 0 5 8 1 *




COMPUTER SCIENCE 9608/41
Paper 4 Further Problem-solving and Programming Skills May/June 2019
2 hours
Candidates answer on the Question Paper.
No Additional Materials are required.
No calculators allowed.

READ THESE INSTRUCTIONS FIRST

Write your centre number, candidate number and name in the spaces at the top of this page.
Write in dark blue or black pen.
You may use an HB pencil for any diagrams, graphs or rough working.
Do not use staples, paper clips, glue or correction fluid.
DO NOT WRITE IN ANY BARCODES.

Answer all questions.
No marks will be awarded for using brand names of software packages or hardware.

At the end of the examination, fasten all your work securely together.
The number of marks is given in brackets [ ] at the end of each question or part question.

The maximum number of marks is 75.




This document consists of 18 printed pages and 2 blank pages.

DC (PQ) 180360
© UCLES 2019 [Turn over

, 2

1 (a) A stack contains the values 'red', 'blue', 'green' and 'yellow'.




yellow Top of stack
green
blue
red


(i) Show the contents of the stack in part(a) after the following operations.

POP()

PUSH('purple')

PUSH('orange')




[1]




© UCLES 2019 9608/41/M/J/19

, 3

(ii) Show the contents of the stack from part(a)(i) after these further operations.

POP()

POP()

PUSH('brown')

POP()

PUSH('black')




[1]

(b) A queue is an alternative Abstract Data Type (ADT).

Describe a queue.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

............................................................................................................................................. [3]




© UCLES 2019 9608/41/M/J/19 [Turn over

, 4

2 A computer games club wants to run a competition. The club needs a system to store the scores
achieved in the competition.

A selection of score data is as follows:

99, 125, 121, 97, 109, 95, 135, 149

(a) A linked list of nodes will be used to store the data. Each node consists of the data, a left
pointer and a right pointer. The linked list will be organised as a binary tree.

(i) Complete the binary tree to show how the score data above will be organised.

RootPointer
The symbol ∅ represents a null pointer.




LeftPointer RightPointer

99




97 ∅ 125




121




[5]
© UCLES 2019 9608/41/M/J/19

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 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 SKH392. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

52355 documents were sold in the last 30 days

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

Start selling
£4.26
  • (0)
Add to cart
Added