Contemporary Trends in Software Development Flashcards

(16 cards)

1
Q

Describe Procedural Programming

A

When the programmer sets out, step by step, what the computer needs to do .

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

Describe Object Oriented Programming

A

An object -orientated program is designed as a collection of objects which interact by sending messages to each other

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

What is a programming paradigm?

A

An approach to developing a solution where the program operates on data and is organised in self contained blocks called procedures. The logic of the program is activated by calling the procedures.

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

What is a program?

A

A set of instructions that tells a computer what to do in order to solve a particular problem.

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

What are the two main programming paradigms?

A

Procedural and object orientated programming

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

What do objects contain?

A

They contain the data(known as properties) and the functions(known as methods) to be used in the solution.

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

What is a class?

A

A class is like a template or a blueprint for an object, it defines the properties and methods for a group of objects.

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

What is inheritance?

A

Allows programmers to build one class based on another class, e.g. one class can inherit the characteristics of another parent class(also called superclass or base class). In this derived class(subclass) only the difference between it and the parent class need to be coded.

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

Encapsulation?

A

“hides” the data belonging to an object. The data can only be accessed through the functions associated with the object. Therefore the object-orientated approach created more efficient re-usable code.

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

Advantages of object orientated programming

A

The code for an object can be programmed and maintained independently

The code for an object can be re-used in different programs by different developers

The detail of an objects internal implementation are hidden from the outside world , so direct access to the objects data is reduced

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

What is a software development environment?

A

Software that provides programmers with an integrated set of programming tools to build an application from coding through to testing

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

Tools of software development environment

A

An editing window which allows the programmer to enter and edit code

A clipboard to copy and paste

Colour which can be used to highlight key words or syntax errors making the code easier to fix

Collapsible code sections which can make viewing large programs easier

line numbering to make it easy to distinguish between lies and can also be used to point out syntax errors

Code completion tools - when writing code corrections are suggested to the programmer to make it easy to fix and prevent syntax errors

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

What is a syntax error?

A

An error in the code entered into the code editor such as a misspelling or the omission of a symbol

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

What is machine code?

A

Instructions in binary format that can be executed directly by the computer

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

What is source code?

A

The original program code written by the programmer

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

What needs to happen for the computer to understand and execute instructions?

A

The program code needs to be translated into machine code