intro computers Flashcards

(54 cards)

1
Q

the internet and web programming technologies are designed to be

A

portable

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

portability

A

allows you to design web pages and applications that run across an enormous range of Internet-enabled devices

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

client-side programming

A

technologies are used to build web pages and applications that are run on the client (in browser on users device)

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

sever-side programming

A

the applications that respond to requests from client-side web applications (searching internet, checking bank account)

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

web page

A

an html document that describes to a web browser the doc’s content and structure

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

html docs normally contain

A

hyperlinks

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

hyperlinks

A

when clicked load a specified web document

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

T/F: only text may be hyperlinked

A

False: images and text

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

when the user clicks a hyperlink,

A

a web request is sent to a web server

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

web server

A

locates requested web page and sends it back to user’s web browser (make resources available)

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

hyperlinks can reference

A

other web pages, email addresses, files, and more

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

if a hyperlink references a file that the browser is incapable of displaying,

A

the browser prepares to download the file and prompts user for information about how file should be stored

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

URIs

A

Uniform Resource Identifiers, identify resources on the Internet

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

URIs that start with http:// are called

A

URLs (uniform resource locators)

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

URL contains

A

information that directs a browser to the resource user wishes to access

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

HTTP

A

HyperText Transfer Protocol is used to obtain resource

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

after http in URL is the

A

hostname

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

hostname

A

the name of the web-server computer on which the resource resides. computer is the host bc it houses and maintains resources

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

hostname is translated into

A

IP (internet protocol) address

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

an internet Domain Name System (DNS) server

A

maintains a database of hostnames and their corresponding IP addresses and performs the translations automatically

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

GET

A

HTTP method indicating client wishes to obtain a resource from the server

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

other than GET, a client request includes

A

path name of resource and protocol’s name and version number (HTTP/1.1)
- can also contain required and optional headers

23
Q

404 not found means

A

web server could not locate requests resource

24
Q

2 most common HTTP request types

25
both GET and POST request types can
send data from client to server
25
POST request
posts or sends data to server
26
a GET request _________, while POST __________
- appends data to URL - sends form data as part of HTTP message
27
a GET request typically limits ______, so it's often necessary to ______ using POST
- query string to specific number of characters - send large amounts of information
28
POST method is sometimes preferred because it
hides submitted data from user by embedding it in HTTP message
29
browsers often
cache (save on disk) recently viewed web pages for quick reloading
30
an HTTP response can indicate length of time for which
content (cache) remains fresh
31
browsers typically do not cache server's response to a POST request because
next POST might not return same result
32
web applications are often
multitier applications (n-tier apps) that divide functionality into separate tiers
33
bottom tier (data/info tier)
maintains application's data typically in a relational database management system (RDBMS)
34
middle tier
acts as an intermediary between data in information tier and application's clients
35
3 tier architecture
browser (user interface/client tier), web server (business logic tier), database (data tier)
36
controller logic
processes client requests and retrieves data from database
37
business logic
enforces business rules and ensures data is reliable before application updates database/presents data to users
38
presentation logic
processes data from information tier and presents content to client
39
3 logics of middle tier
controller, business, presentation
40
MVC
model-view-controller
41
Model _____ view, which _____ user, which ______ controller, which ________ model
updates, sees, uses, manipulates
42
model
represents application data and business rules that govern data accessing and updates
43
view
renders user interface
44
controller
interprets user actions and maps them into actions in model/view
45
client-side scripting can be used to:
- validate user input - interact with browser - enhance web pages - add client/server communication between browser and web server
46
client-side scripting uses
computing resources of client
47
client-side scripting limitations
- browser dependency - restricted from arbitrarily accessing local hardware and file system for security reasons - source code can be viewed by client - sensitive info should not be on client side - operations on client can open web apps to security issues
48
programmers have more flexibility with
server-side scripts, which generate custom responses for clients
49
server-side scripting languages have
wider range of programmatic capabilities than client-side
50
server-side limitations
- consume resources on server - less efficient than client-side script - increases internet traffic
51
World Wide Web Consortium (W3C)
- devoted to developing nonproprietary, interoperable technologies for World Wide Web - makes web universally accessible - standards organization
52
web technologies standardized by W3C are called
recommendations
53
W3C recommendations
HTML5, CSS3, XML