K2 (25%) Interaction & Compatability Of Code On Different Platforms Flashcards Preview

Priciples Of Coding BCS > K2 (25%) Interaction & Compatability Of Code On Different Platforms > Flashcards

Flashcards in K2 (25%) Interaction & Compatability Of Code On Different Platforms Deck (23)
Loading flashcards...
1
Q

What is a stack?

A

A stack is a solution or software stack, a set of components required to create a complete platform.

2
Q

What is the LAMP stack?

A

LAMP stack is a web service stack.

Named after the four original open-source components:

  • Linux (operating system)
  • Apache (web server)
  • MySQL (relational database management system)
  • PHP (server-side scripting language)

It can be used to build dynamic websites and web applications.

3
Q

What is linux?

A

Linux is a family of free and open-source operating systems.

Common distributions include Ubuntu, Debian and Fedora

Commonly used as server operating systems.

Operating system is software that manages computer’s hardware and software resources as well as the platform the user used to interact with computer.

In LAMP stack, linux is used as operating system on the web server.

4
Q

What is Apache?

A

Apache HTTP server is a free and open-source web server.

Currently the most popular web server software in use & often runs on Linux distributions.

Primary function of web server is to store, process and deliver web pages to clients.

5
Q

What is MySQL?

A

MySQL is an open-source relational database management system

Purpose of the database is to store information eg user info, login details, web page content, images and videos

6
Q

What is PHP?

A

PHP (Hypertext Preprocessor) is a server-side scripting language designed for web development.

Can also be used as general purpose programming language.

The code is interpreted by web server which results in web page.

It can be embedded into HTML code or used in conjunction with content management systems & web frameworks

7
Q

PDF

A

PDF = Portable Document Format

A file format used to present documents in a manner independent of software, hardware or operating systems.

Extension is .pdf

Many applications have ability to create pdf’s including most operating systems. Pdf viewer are generally provided free of charge. Most common is adobe acrobat.

8
Q

HTML file format

A

HTML = Hypertext markup language

A file format used to present web pages

Extension is .html or .htm

The docs can be opened using text editors and then viewed or edited. But must be opened using a web browser to be viewed as a webpage

9
Q

Image file formats

A

There are numerous file formats used to present images

Most common:

  • GIF (Graphic Interchange Format)
  • JPEG / JPG
  • PNG ( Portable Network Graphics)
10
Q

GIFs

A

GIF images are compressed using lossless data compression (no loss of quality) and supports small animations but have palette limitations

Thus are suited to images with simple graphics or logos with solid areas of colour rather than gradients

Extension .gif

11
Q

JPEG / JPG

A

Joint Photographic Experts Group

JPEG images are compressed using lossy data compression ( quality is affected)

File type is well suited to realistic images eg photos but less suited to line drawings and textual or iconic graphics.

Most commonly used image file type for web pages where it is important to reduce amount of data on a page

12
Q

PNG file type

A

Portable Network Graphic

PNG images are compressed using lossless data compression (no loss of quality)

The PnG file type was developed for transferring high quality images on the internet and is most widely used lossless image compression format online.

13
Q

Video / Mpeg

A

Mpeg = moving Picture Expert Group

File format used for compressed audio and video for digital storage

Files are usually compressed using MPEG-1 or MPEG-2
Popular for online distribution as can be streamed or downloaded quicker than other video formats

Extension is .mpg , .mpeg or .mpe
BUT as MPEG also refers to form of compression it can also have file format that reflects the compression codec eg .mp2 or .mp4 (Others can include .xvid, .mv4 etc)

In order to play MPEG, you need to use player with corresponding codec for the files compression method.

Most common video players will have code a for MPEGs already installed

14
Q

Audio / MP3

A

Audio coding format for digital audio

Originally derived rom the mpeg standard audio format but later extended

MP3 files use lossy compression meaning some quality loss but vastly reduced file sizes.

Small file size makes the perfect for online sharing and in 90s peer to peer file sharing software combined with ease of transferring mp3 files resulted in widespread copyright infringement.

15
Q

Development cycle - what are the stages?

A
Analysis
Design
Development
Testing
Evaluation
16
Q

What is the analysis stage of development cycle?

A

Analysis involves breaking down the problem into smaller more manageable chunks and identifying key components eg data being used, procedures required, future potential, current issues that new solution must address

17
Q

What is design phase of development cycle?

A

Design consideration depend on project type BUT common concepts to consider include structure for solution and common algorithms required, how data will be accessed, inputs, outputs required by the system, a user interface, security and hardware required

18
Q

What is development phase of dev cycle?

A

Once problem is broke down in series of well defined tasks, programming can begin.

During this stage, developers refer to analysis and design stages to ensure solution fits requirements of user. Sometimes it may be necessary to change the way the solution is implemented. Perhaps the original plan does not work correctly or more efficient solution is established.

19
Q

What is testing stage of dev cycle?

A

Testing is how we ensure code does what it is supposed to do.

Each module of code is tested to ensure it preforms correctly, is secure and cannot be broke . Any issues identified must be fixed before moving on.

20
Q

What is evaluation phase of dev cycle?

A

Once solution has been built, it must be evaluated. Does it do what it is supposed to do? It can take a few months of use to check. Any further dev or changes or issues can be fed back to developers and addressed.

21
Q

Widget

A

Easy to use software applications or components made for one or more software platforms.

Often developed for social media platforms with the service hosted bu the social network but accessible to all users.

This means users can use widget applications to easily integrate social media feed, photo albums or profile info into their own web pages

22
Q

API

A

API = Application Programming Interface

A set of rules for the they way two software components communicate with each other.

Many organisations use APIs to allow their data to be accessed by other developers or clients. This allows organisation to control and secure what access they allow.

23
Q

XAMPP stack

A
X = cross platform
A= Apache / apache http server
M = MariaDB (formerly MySQL)
P = PHP
P = PERL