Mobile App Quiz 2 Flashcards

1
Q

HTTP stands for

A

hypertext transfer protocol

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

through HTTP, a server tells your computer…

A

how data is being transferred

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

HTTPS stands for

A

hypertext transfer protocol secure

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

through HTTPS, the server and computer…

A

communicate and agree upon an encryption before data is transferred

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

is it peer-to-peer/a direct line from you to the server?

A

no; there are switches, routers, DNS in between

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

what are the 3 different parts of HTTP

A

www, domain name, TLD

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

www is/stands for

A

is the web host server

stands for world wide web

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

what does the domain name do?

A

connects to an IP address (easier than typing out the IP)

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

what does DNS stand for and what does it do?

A

Domain Name Server; it is basically a phone book of name to IP address

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

what does TLD stand for?

A

top level domain name

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

what are some examples of TLDs?

A

.com, .org, .gov, .edu, .mil, .pro

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

what is FQDN?

A

Fully Qualified Domain Name = web host server + domain name + top level domain name

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

relative links

A

know how to get to it/pretty much saved to the server; links in the same relative location
../ goes to the parent directory of where you currently are

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

absolute links

A

exact location of a file generally not found in the server; a link through FQDN - actual URL for the page

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

Google prefers (relative/absolute) links

A

absolute

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

web components

A

custom HTML tags, non-standard, for functionality in a webpage; they create modular, self-contained chunks of code

17
Q

DOM stands for ? and is a ? structure

A

Document Object Model; tree

18
Q

each node on the DOM is

A

an object representing a part of the document

19
Q

the DOM represents the page so that

A

programs/scripts (JS) can change the document structure, style, and content

20
Q

ECMAScript 2015 stands for ? and is also known as ?

A

European Computer Manufacturer’s Association Script; ES6 (this is what we’ll be using)

21
Q

all browsers are configured to ? from what year?

A

ES5 from 2009

22
Q

ES6 is a standard, which means it is

A

a set of rules governing JS

23
Q

ES6 introduces

A

classes

24
Q

modules

A

sections of code that can export objects (i.e., functions, variables, arrays) and be imported anywhere in your application

25
Q

modules are used heavily in ?

A

Ionic

26
Q

promise

A

a JS function; a proxy for a value not necessarily known when the promise is created

27
Q

a promise allows you to

A

associate handlers with an asynchronous actions eventual success value or failure reason; this lets asynchronous methods return values like synchronous methods (instead of immediately returning the final value, the asynchronous method returns a “promise” to supply the value at some time in the future)

28
Q

callback

A

any executable code that is passed as an argument to other code

29
Q

block scooping

A

ES6 allows you to use the let keyword to define a variable only within a block of code (creates a local variable to a block of code or a function)

30
Q

(fat) arrow function

A

most popular ES6 feature

=>

31
Q

the fat arrow function provides

A

shorter syntax (no need for the keyword function or return or curly braces, as they are implicit)

32
Q

the fat arrow function is (a/an) ? function that does not have its own ?

A

anonymous; this, arguments, super, or new.target

33
Q

TypeScript

A

a typed subset of JS that compiles to plain JS; used in Ionic; it provides (data) types like stricter OOP languages Java or C#

34
Q

transpilling

A

converting from one language to another

35
Q

ES6 is not supported by all browsers yet so…

A

Ionic uses a built in transpiler to convert the ES6 code to ES5