A level CS (9618) 20 Further Programming

call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/29

flashcard set

Earn XP

Description and Tags

20.1 Programming paradigms 20.2 File processing and exception handling

Last updated 6:48 AM on 1/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Add student to class section state
Add studentsNo students in these sections. Invite them to track progress!

30 Terms

1
New cards

Programming paradigm

"a set of programming concepts."

2
New cards

Low-level programming

"programming instructions that use the computer's basic instruction set."

3
New cards

Imperative programming

"programming paradigm in which the steps required to execute a program are set out in the order they need to be carried out."

4
New cards

Object-oriented programming (OOP)

"a programming methodology that uses self-contained objects

5
New cards

Class

"a template defining the methods and data of a certain type of object."

6
New cards

Attributes (class)

"the data items in a class."

7
New cards

Method

"a programmed procedure that is defined as part of a class."

8
New cards

Encapsulation

"process of putting data and methods together as a single unit

9
New cards

Object

"an instance of a class that is self-contained and includes data and methods."

10
New cards

Property

"data and methods within an object that perform a named action."

11
New cards

Instance

"an occurrence of an object during the execution of a program."

12
New cards

Data hiding

"technique which protects the integrity of an object by restricting access to the data and methods within that object."

13
New cards

Inheritance

"process in which the methods and data from one class

14
New cards

Getter

"a method that gets the value of a property."

15
New cards

Setter

"a method used to control changes to a variable."

16
New cards

Constructor

"a method used to initialize a new object."

17
New cards

Polymorphism

"feature of object-oriented programming."

18
New cards

Destructor

"a method that is automatically invoked when an object is destroyed and allows methods to be redefined for derived classes."

19
New cards

Overloading

"feature of object-oriented programming."

20
New cards

Declarative programming

"statements of facts and rules together with a mechanism for setting goals in the form of a query."

21
New cards

Containment (aggregation)

"process by which one class can contain other classes."

22
New cards

Facts

"a 'thing' that is known."

23
New cards

Rules

"relationships between facts."

24
New cards

Read

"file access mode in which data can be read from a file."

25
New cards

Write

"file access mode in which data can be written to a file; any existing data stored in the file will be overwritten."

26
New cards

Append

"file access mode in which data can be added to the end of a file."

27
New cards

Open

"file-processing operation; opens a file ready to be used in a program."

28
New cards

Close

"file-processing operation; closes a file so it can no longer be used by a program."

29
New cards

Exception

"an unexpected event that disrupts the execution of a program."

30
New cards

Exception handling

"the process of responding to an exception within the program so that the program does not halt unexpectedly."