D) Types of Programming and Mark Up Languages Flashcards
What is an IDE?
IDE stands for Integrated Development Environment, and it is a software tool designed to aid software development. Common features include a code editor, debugger and compiler.
What is a code library?
A set of pre-written functions that can be incorporated into other programs. They can come included with the programming language, be purchased or be written by the programmer themselves.
What are the advantages/disadvantages of using code libraries?
adv:
- widely used
- frequently updated
- saves development time
disadv:
- security concerns
- a bespoke solution could better suit business needs
What is Git?
A version control system used to track changes made to software. It allows for source code repositories to be shared between developers. Github is a cloud based version of this.
What is an API?
API stands for Application Program Interface, it is a piece of code or set of procedures that enables other programs to communicate and share data.
What is an SDK?
SDK stands for Software Development Kit, it is a set of tools to help quickly develop a certain type of app.
What is procedural programming?
A top down approach to coding. Procedural programs are composed of statements, blocks and subroutines.
What is a statement?
An instruction to perform an activity, written in the programming language. Examples include creating a variable or calling a function.
What is a block?
A group of statements that are always run together, for example statements within loops.
What is a subroutine?
A named block of code that is run by calling it from the main program. The two main types are functions and procedures. data can be passed to functions and procedures as arguments. The main difference between functions and procedures is that functions always return a value to the main program.
What is object-oriented programming?
A type of programming language that relies on the concept of classes and objects. It structures programs into simple, reusable pieces of code.
What is encapsulation?
The process of making objects and classes. an object is a collection of properties (data internal to the object) and methods (ways to access and manipulate this data). Classes are templates that define object properties and methods. Multiple object instances can be created from a single class.
What is abstraction?
It is a way of reducing complexity and improving security by choosing to make objects and classes either public or private. To use an object, programmers only need to know its public properties and methods.
What is inheritance?
It is a way of making code reusable. Subclasses are derived from a parent class and can inherit their properties and methods, but can add to and modify these. Subclasses can be used to make more specialised objects from reused code.
What is polymorphism?
The principle that a single class can have multiple methods with the same name. Different actions can take place depending on which way the method is invoked.
What is event driven programming?
Relies on events to occur to execute code. Code is run non-sequentially and consists of a main program loop, events, trigger functions and callback functions.