Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

AQA A-Level Computer Science - Fundamentals of Programming Revision Questions and Answers

Document preview thumbnail
Preview 1 out of 3 pages

Constants They are variable whose values will not be changed by the program. What are the advantages of having constants? - Improves the readability of code - Easier to update the programming code if the value changes - Reduce the likelihood of inconsistency causing errors if multiple places use the same value instead of using the same constant. Concatenation It is the joining of character strings end to end. For Example: "Hello, " "world" could equal "Hello, world" Split() For Example: x = 'blue,red,green' (",") Exception Handling It is the process of what code does when exception happens during execution, so that the code will not simply crash. Makes the program robust Defensive programming It is ensuring the continuing function of a piece of software under foreseen circumstances. Subroutines They are segments of code that perform a specific purpose in a program What do subroutines allow programmers to do? - To organise their code in easy to follow manner - To debug their code easily by focusing on one subroutine at a time - To reduce code redundancy - To increase code efficiency Procedures They are subroutines that do not return any values after execution. Functions They are subroutines that do return values after execution Object Oriented Programming A programming paradigm that models objects with attributes and behaviours


Document information

Uploaded on
June 3, 2024
Number of pages
3
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$10.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Salano
3.0
(1)
Sold
6
Followers
3
Items
1053
Last sold
1 year ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.