Web Applications Flashcards

1
Q

Define a native application

A

Native application is an application which is developed for use on a particular platform/OS/device

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

Define an web application

A

Web application is an application that runs on a web server and is accessed by a web browser

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

State 4 advantages of native apps over web apps

A
  1. A:Native apps are more efficient than web apps
    R: Native apps are customised for specific platform
  2. A: Implementing features involving system lib and device features is easier
    R: Native apps have easier access to system libraries and device features as the program is installed directly on the device (web apps are not able to access system libraries)
  3. A: Native apps allow for offline functionality
    R: Native apps is directly installed and run on the device. Hence, it does not need connection to a server over the internet to carry out its function (provided that the function is simple and no intersect connection is required)
  4. A: Native apps is more secure
    R: Native apps are more secure as it is downloaded through an app store, which usually security vets the app before releasing it into the store.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

State 3 disadvantage of using native apps over web apps

A
  1. D: Will be costly if want to support many platforms
    R: Native apps uses different languages to be customised to different platforms, thus creating native apps which supports cross platform compatibility will result in many code bases needing to be developed and maintained, thus high cost of engineers etc
  2. D: Harder to access native apps
    R: Native apps have to be downloaded on the device and may take up large amounts of storage, thus many who uses low end devices might not have enough memory in the devices..
  3. D: Increased chances of failure during operation/ more hassle
    R: Native apps requires manual updates, thus if users forgets to update, their native app might be versions behind the current version, which can lead to failure as the process might be outdated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

State 5 advantages of using web apps over native apps

A
  1. A: More people can access web apps
    R: Web apps are more platform independent as web apps can run on any platform that can run a web browser, while native applications requires specific version of the app to be able to run
  2. A: Easier maintainence
    R: Only one code base which is required to be maintained
  3. A: Less hassle to access
    R: Users does not need to manually update the app as the updating is done on the server-side
  4. A: More people can access
    R: Running web app does not take up physic storage on the device, thus no downloading is required which allows more people with devices with less storage to still be able to use
  5. A: More easily shared
    R: To share a web app, users only need to share a URL, while to share a native app, program files will have to be shared which is usually not feasible.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

State 3 disadvantage of using web apps over native apps

A
  1. D: Developing features involving system libraries and device features is more difficult
    R: Web applications are not able to access system libraries as well as device features such as GPS, camera etc (unless permission is given)
  2. D: Web application might be inconvenient to those living in areas with low internet connection
    R: Web app involves sending request to the server over the internet, thus internet access is required and will be unable to run if there is no internet connection
  3. D: Less ideal user experience
    R: Web apps are not customised to any platform/OS/device and is meant to function on many different platforms, as such, some user experience qualities could be trade off
    R: Web apps may function differently across different versions and different web browsers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Base code of html

A

<!doctype html>
html
head
title
body

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

What is the role of HTML and CSS in creating websites?

A

HTML: Provides skeleton and blueprint for website

CSS: Design elements for website

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