100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Pearson Edexcel Level 1/Level 2 GCSE (9–1) Computer Science PAPER 2: Application of Computational Thinking Programming Language Subset Version 4 2023 $8.49   Add to cart

Exam (elaborations)

Pearson Edexcel Level 1/Level 2 GCSE (9–1) Computer Science PAPER 2: Application of Computational Thinking Programming Language Subset Version 4 2023

 2 views  0 purchase
  • Course
  • Institution

Pearson Edexcel Level 1/Level 2 GCSE (9–1) Computer Science PAPER 2: Application of Computational Thinking Programming Language Subset Version 4 2023

Preview 3 out of 17  pages

  • January 7, 2024
  • 17
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
Pearson Edexcel Level 1/Level 2 GCSE (9–1)
Paper
reference 1CP2/02
Computer Science
PAPER 2: Application of Computational Thinking
Programming Language Subset
Version 4

PLS Booklet
You do not need any other materials.




Pearson Edexcel Level 1/Level 2 GCSE (9–1) Computer Science PAPER 2: Application
of Computational Thinking Programming Language Subset Version 4 2023




Turn over


W75198A
©2022 Pearson Education Ltd.
1/1/1

,Contents
Introduction .................................................................................................. 4
Comments .................................................................................................... 5

Identifiers .................................................................................................... 5

Data types and conversion .................................................................................. 5

Primitive data types ..................................................................................... 5

Conversion................................................................................................ 5
Constants ................................................................................................. 5

Combining declaration and initialisation ............................................................. 5

Structured data types ................................................................................... 5

Dimensions ............................................................................................... 5
Operators ..................................................................................................... 6

Arithmetic operators .................................................................................... 6

Relational operators .................................................................................... 6

Logical/Boolean operators ............................................................................. 6

Programming constructs .................................................................................... 7
Assignment ............................................................................................... 7

Sequence ................................................................................................. 7

Blocking ................................................................................................... 7

Selection .................................................................................................. 7

Repetition ................................................................................................ 7

Iteration .................................................................................................. 7
Subprograms ............................................................................................. 8

Inputs and outputs ........................................................................................... 8

Screen and keyboard .................................................................................... 8

Files ....................................................................................................... 8

Supported subprograms ..................................................................................... 9
Built-in subprograms ....................................................................................9

List subprograms ....................................................................................... 10

String subprograms .................................................................................... 11

Formatting strings ................................................................................. 12

2 W75198A

, Library modules ............................................................................................ 13
Random library module ............................................................................... 13
Math library module ................................................................................... 13

Time library module ................................................................................... 13

Turtle graphics library module ....................................................................... 14

Tips for using turtle ............................................................................... 14

Turtle window and drawing canvas ............................................................. 14

Turtle creation, visibility and movement .....................................................................15
Turtle positioning and direction ................................................................. 15

Turtle filling shapes ............................................................................... 15

Turtle controlling the pen ........................................................................ 16

Turtle circles ....................................................................................... 16
Turtle colours ...................................................................................... 16

Console session............................................................................................. 16

Code style................................................................................................... 16

Line continuation .......................................................................................... 17
Carriage return and line feed ............................................................................ 17




W75198A 3

Turn over

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

76462 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

Recently viewed by you


$8.49
  • (0)
  Add to cart