CS Brookes Flashcards

(37 cards)

1
Q

ASSIGNMENT

A

Process of setting the value of a variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

BOOLEAN

A

Data type that can only store one of two values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SELECTION

A

Programming construct that uses a condition to decide which group of instructions (if any) should be executed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

CHARACTER

A

Data type that stores a single symbol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

CONSTANT

A

Value stored in memory that cannot change while a program runs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

DATA TYPE

A

Property of a particular piece of data that specifies how the data should be treated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

EXCEPTION

A

Unexpected event that causes an error in a program if not handled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

FUNCTION

A

Subroutine that returns a value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

GLOBAL VARIABLE

A

Variable which is accessible throughout all parts of a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

INTEGER

A

Data type that stores a whole number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

ITERATION

A

Programming construct that repeatedly executes a group of statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

LOGICAL VARIABLE

A

Variable which is accessible only within a particular part of a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

LOGICAL AND

A

Boolean operation that takes two inputs and returns true only if both inputs are true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

LOGICAL NOT

A

Boolean operation that takes one input and returns the opposite boolean value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

LOGICAL OR

A

Boolean operation that takes two inputs and returns true only if any of the inputs are true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

LOGICAL XOR

A

Boolean operation that takes two inputs and returns true only if the inputs are different

17
Q

PARAMETER

A

Input variable that a subroutine requires when it is called

18
Q

POINTER

A

Variable that points to the location of another value

19
Q

PROCEDURE

A

Subroutine that returns no value

20
Q

RECURSION

A

When a subroutine calls itself

21
Q

SECQUENCE

A

Programming construct that executes a group of statements in the order that they appear

22
Q

STRING

A

Data type that can store a series of characters

23
Q

SUBROUTINE

A

Series of instructions that can be written once and reused multiple times in a program

24
Q

VARIABLE

A

A value in memory that can change while a program is running

25
ABSTRACT METHOD
A type of method that is declared but has no implementation
26
AGGREGATION
Relationship where a big object is formed of multiple small objects and those small objects can be independent of the bigger object
27
ATTRIBUTE
Characteristic associated with a particular class
28
CLASS
Programming template for creating a certain type of object
29
COMPOSITON
Relationship where one large object is formed of multiple small objects and the small objects cannot exist with the larger object
30
ENCAPSULATION
Grouping together the related data and subroutines in a program
31
INHERITANCE
When one type of object or class takes functionality from another type of object or class
32
METHOD
A subroutine that belongs to a class or object
33
OBJECT
Instance of a particular class
34
OBJECT-ORIENTED
A programming paradigm that splits a program into different data structures with their own associated attributes and methods
35
OVERRIDING
When a child class overwrites a method it inherited from the parent class
36
POLYMORPHISM
Allowing the same subroutine to process different data types
37