100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Predicted Paper 2 Other $7.99   Add to cart

Exam (elaborations)

Predicted Paper 2 Other

 1 view  0 purchase
  • Course
  • Institution

Predicted Paper 2 Other

Preview 3 out of 30  pages

  • June 4, 2024
  • 30
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
The DHR IGCSE Computer Science
Pearson Edexcel International GCSE
Edexcel 2024 Predicted Paper 2 (Other)
IGCSE (9–1) Computer Science
4CP0 DHR
Time allowed: 2 hours

Other Questions
Q1. Private Postal People (P-Cubed)
Private Postal People (P-Cubed) is a national delivery service specialising in small letters, large letters,
small packages, and medium packages. The company has regional depots across the country. The
company runs a fleet of delivery vans. It uses technology to help run the business. It does not deliver
internationally.

P-Cubed has 2000 employees, some based in the head office, some working in the regional sorting offices
and some driving the delivery vans.

P-Cubed sorts items by their address codes.

This is pseudo-code for an algorithm that forwards items to regional depots.




All address codes have the same format. The first two positions are letters, followed by four digits, followed
by two letters. "BH1634GQ" and "bh1634gq" are valid codes. Complete the table to show different
validation checks and test data caught by the validation check. The first one has been done for you. The
letter 'N' represents a number (0-9) and the letter 'L' represents a letter (A-Z or a-z).
(4)




(Total for question = 4 marks)
1
Telegram Channel: DHRinspires

,The DHR IGCSE Computer Science
Pearson Edexcel International GCSE
Q2.


Private Postal People (P-Cubed)

Private Postal People (P-Cubed) is a national delivery service specialising in small letters, large letters,
small packages, and medium packages. The company has regional depots across the country. The
company runs a fleet of delivery vans. It uses technology to help run the business. It does not deliver
internationally.

P-Cubed has 2000 employees, some based in the head office, some working in the regional sorting offices
and some driving the delivery vans.

During the period leading up to the Christmas holidays, P-Cubed hires temporary staff. Staff are hired for
each of the six weeks prior to Christmas week.

Here is the pseudo-code for an algorithm that calculates the number of additional staff needed for each
week.




State the largest number the user could enter on line 10 to cause the message 'Invalid input' to be
displayed.
(1)
.............................................................................................................................................


(Total for question = 1 mark)




2
Telegram Channel: DHRinspires

, The DHR IGCSE Computer Science
Pearson Edexcel International GCSE
Q3.

Private Postal People (P-Cubed)

Private Postal People (P-Cubed) is a national delivery service specialising in small letters, large letters,
small packages, and medium packages. The company has regional depots across the country. The
company runs a fleet of delivery vans. It uses technology to help run the business. It does not deliver
internationally.

P-Cubed has 2000 employees, some based in the head office, some working in the regional sorting offices
and some driving the delivery vans.

During the period leading up to the Christmas holidays, P-Cubed hires temporary staff. Staff are hired for
each of the six weeks prior to Christmas week.

Here is the pseudo-code for an algorithm that calculates the number of additional staff needed for each
week.




Programmers use basic programming constructs when they write code.




3
Telegram Channel: DHRinspires

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79978 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
$7.99
  • (0)
  Add to cart