AQA A-Level Computer Science - Fundamentals of Programming Revision Questions and Answers
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
Written for
- Institution
- A Level Computer Science
- Course
- A Level Computer Science
Document information
- Uploaded on
- February 12, 2024
- Number of pages
- 3
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
aqa a level computer science fundamentals of pro
-
constants they are variable whose values will not
-
what are the advantages of having constants im
-
concatenation it is the joining of character stri
Also available in package deal