Terms in this set (23)
Low Level Languages
Programming languages that require the programmer to think on the machine's level and to include an enormous amount of detail in every program, such as machine language and assembly language. A computer is able to understand these without the need for translation
Binary and machine code
are low level languages, languages that the computer can undertand without translation
A programming language that uses letters and numbers to represent machine language instructions
is either low level or high level depending on what book is read, OCR claims it is high level
They describe exactly the sequence of steps requred to solve a problem using sequence, selection and iteration. they also use subroutines (fuctions and procedures).
Sometimes called imperative languages.
Consists of a number of facts and rules about a given subject. Statements can be in any order (so it is easy to add new facts and rules). Executing a program means stating a goal that needs to be achieved
States what is required
After finding a solution to a goal you go back and follow an alternative path to try and find another solution
Giving a variable a value (Student(James))
A mathematical proof that asserts whether a given statement is true or false
The process of finding the answer to a goal in a declarative language
Contain attributes and methods. So a wheel object might have the attributes RADIUS, COLOUR, CIRCUMFERENCE and the method TURN
Are instances of CLASS
So you might have a WHEEL class with the attributes and methods of all wheels. Then a FRONT_WHEEL OBJECT and a BACK_WHEEL OBJECT. Both these inherit the characteristics of a wheel but can implemtent them in different ways
Describers shared attributes and methods. It acts as a termplate for objects which inherit attributes and metjhods from the class
A class from which other classes inherit characteristics. For example a vehicle class could be a superclass of the car class
A class which inherits methods and attributes from a superclass. For example a car class could be derived from a vehicle class
Occurs when a object or class has its own attributes and methods as well as those from its superclass
Means that the data in objects can only be accessed via methods from that object
A named block of code that carries out a a specific task
A subroutine that returns a value
A subroutine that doesn't return a value.
Breaking down a problem into smaller and smaller parts until each is small enough to be programmed as a single subroutine.
Advantages of modular design
Each problem focuses on a small subtask.
-Problem is easier to solve
-Easier to test
-Easier to maintain
-Easier to update
-Development can be shared between programmers
-Different modules can be programmed in different languages
-Modules can be reused.
Disadvantages of modular design
Can be difficult to link modules together.
Where if you have the same set of instructions multiple times in the same function you should put it in a separate function to reduce the number of lines of code and make the program easier to debug.
YOU MIGHT ALSO LIKE...
Academic Word Lists - AWL Sublists
AP Comp Sci Ms. Slutsky
IB Comp Sci Paper 2 Option D: Object Oriented Programming
CS 1301 Java Review
OTHER SETS BY THIS CREATOR
Low level languages
BNF And Syntax diagrams