Computer science key terms

?
Algorythm
A step-by-step procedure to achieve a specific goal. Can be implemented with code. example: I used the quicksort algorithm to sort the array alphabetically.
1 of 53
Argument
A value that is passed into a function when it is called. Arguments are said to be passed into a function, and functions are said to be take arguments. Also known as a parametre.
2 of 53
Array
A type of value that contains a sequence of other values.
3 of 53
Assignment
The act of putting a value into a variable.
4 of 53
Brackets
Characters are often used to surround text.
5 of 53
bug
a mistake in a program
6 of 53
Call
To run the code in a function. Also referred to as "running", "executing" or "invoking" a function. For the noun, see function call.
7 of 53
Class
A type that can be defined by the programmer. Classes are defined in order to create objects of that class.
8 of 53
Comment
Used to make the program more clear to users.
9 of 53
Complier
A program that converts code into an executable, and checks the syntax is correct. Sometimes compilers convert code into other code.
10 of 53
Contant
A variable that never changes its value.
11 of 53
Crash
To cause a running program to stop due to an error.
12 of 53
Data structure
A value that contains other values.
13 of 53
Debug
To investigate and fix bugs
14 of 53
Declaration
Code that declares that something exists - usually a variable, function or a class. a declaration might not fully define the thing it is declaring. E.g. a constant may be declared to exist, without actually defining what it's value is.
15 of 53
Definition
Code that fully implements something - usually a variable, function or a class. The code that implements a class is called the "class definition".
16 of 53
Double
a float that can represent a wider range of numbers that a normal float. Short for "double - precision floating-point number"
17 of 53
Execute
Synonym for run
18 of 53
Executable
A program, usually a single file, ready to be run.
19 of 53
Float
A type of value that represents numbers with fractional parts. Short for floating point number.
20 of 53
Function
A piece of code that is not run until it is called. Functions take zero or more arguments. When a function finishes running, it returns a return value back to the code that called it.
21 of 53
Function call
Code for calling a function. Function calls specify which function to call, and all of the arguments that the function requires. The result of a function call is a return value.
22 of 53
Implement
to write all the code to complete something - usually a function or class.
23 of 53
Instance
Synonym for object
24 of 53
Instance variable
A variable that is attached to an object. Also known as a member variable" or just a member.
25 of 53
Instantiate
To create an object from a class
26 of 53
Integer
A type od value that represents whole numbers. For fractional numbers.
27 of 53
Interpreter
A program that runs code. For languages that are not compiles, the source code is run directly by an interpreter. Compiled programming languages do not usually have an interpreter.
28 of 53
invoke
Synonym for call
29 of 53
Iterate
Synonym for loop
30 of 53
Loop
A piece of code that runs itself repeatedly. Commonly used to run a piece of code for every value in an array.
31 of 53
Member function
Synonym for method
32 of 53
Member variable
Synonym for instance variable
33 of 53
Method
A function that is attached to an object. Methods belong to, and are defined in, a class. Also known as a member function.
34 of 53
Nested
Contained within something like itself. E.g. a nested array is an array that is inside another array and a nested class is a class defines inside the definition of another class.
35 of 53
Object
A value created from a class. E.g. IF you want to represent your family in code then you might make a class called family member.
36 of 53
Object oriented
Designed using objects.
37 of 53
Parametre
Synonym for argument.
38 of 53
Parenthesis
A type of bracket
39 of 53
Procedure
Synonym for function
40 of 53
Program
A full piece of software that is ready to be run. Usually an executable.
41 of 53
Read
To retrieve input data values from an external source
42 of 53
Return
To immediately stop a called function from running, possibly providing a return value. A function automatically returns once all of its code has been run.
43 of 53
Return value
The value that results from a completed function call.
44 of 53
Run
To perform the instructions written in code or an executable. Code is set of instructions, and "running" code os when the computer actually performs those instructions.
45 of 53
String
A type of value that represents text. The word "string" derives from the phrase "string of characters".
46 of 53
Syntax
oThe grammatical rules of a programming language has a different syntax. Syntax determines whether code is written correctly or incorrectly.
47 of 53
Type
The kind of category of a value. Every value has a type.
48 of 53
Syntax
The grammatical rules of programming language
49 of 53
Type
The kind of category of a value.
50 of 53
Value
A piece of data that be be contained inside a variable
51 of 53
Variable
a named container for a single value.
52 of 53
The difference between functions and procedures
Basic Differences. A Function must return a value but in Stored Procedures it is optional: a procedure can return 0 or n values. Functions can have only input parameters for it, whereas procedures can have input/output parameters.
53 of 53

Other cards in this set

Card 2

Front

A value that is passed into a function when it is called. Arguments are said to be passed into a function, and functions are said to be take arguments. Also known as a parametre.

Back

Argument

Card 3

Front

A type of value that contains a sequence of other values.

Back

Preview of the back of card 3

Card 4

Front

The act of putting a value into a variable.

Back

Preview of the back of card 4

Card 5

Front

Characters are often used to surround text.

Back

Preview of the back of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Data structures resources »