CS 80 chap one slide notes Flashcards

cards from professor slides show from book

1
Q

The Internet

A

global network of computers—was made possible by the convergence of computing and communications technologies

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

primary goal of APRANET ?

HINT: AT THE SAME TIME

A

One of the primary goals for ARPANET was to allow multiple users to send and receive information simultaneously over the same communications paths (e.g., phone lines).

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

DESCRIBE PACKET SWITCHING

A

NetworkS operated with a technique in which digital data was sent in small bundles called packets.

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

WHAT DOES PACKET SWITCHING ADRESS ATTRIBUTES DO?

A

The address information allowS packets to be routed to their destinations

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

WHAT HAPPENS TO INFORMATION THAT ARRIVES OUT OF ORDER IN PACKET SWITCHING

A

The sequencing information helped in reassembling the packets—

—into their original order for presentation to the recipient.

which, because of complex routing mechanisms, could actually arrive out of order

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

BECAUSE PACKET SWITCHING INTERMIXES DATA AND SENDS THROUGH THE NETWORK -IF A PORTION OF THE NETWORK FAILS WHAT HAPPENS

A

If a portion of the network failed, the remaining working portions would still route packets from senders to receivers over alternative paths for reliability.

The network was designed to operate without centralized control.

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

WHY WAS IP DEVOLOPEDN AND USED?

HINT: A MAIL MEN IS A COMINCATION CONDUIT.: IF INTERNET IS A MAIL MEN AND THE MAIL IS A NETWORK THEN THE ADRESS IS THE IP

A

TO GET different networks to communicate.

for both intraorganization (i.e., within the organization) and interorganization (i.e., between organizations) communications.

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

Each computer on the Internet has a unique _________

A

Each computer on the Internet has a unique IP address.

The current IP standard, Internet Protocol version 4 (IPv4), has been in use since 1984 and will soon run out of possible addresse

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

Describe IPv6

A

IPv6 features enhanced security and a new addressing scheme expanding the number of IP addresses available so that we will not run out of IP addresses in the forseeable futur

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

what was the internet initially used for

A

nitially, Internet use was limited to universities and research institutions; then the military began using it intensively

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

WHATS BAND-WITH

A

Bandwidth (i.e., the information-carrying capacity)

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

Explain HOW THE WEB INTERACRTS WITH COMPUTERS AND INFORMATION

A

The World Wide Web allows computer users to execute web-based applications and to locate and view multimedia-based documents on almost any subject over the Internet.

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

WHO AT CERN ((EU organization FOR nuclear research) CREATED HTML AND WHAT YEAR.?

A

In 1989, Tim Berners-Lee of CERN (the European Organization for Nuclear Research) began to develop a technology for sharing information via hyperlinked text documents. Berners-Lee called his invention the HyperText Markup Language (HTML).

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

WHAT IS HTTP EXPLAIN

A

he wrote the Hypertext Transfer Protocol (HTTP)—a communications protocol used to send information over the web.

TIM BERNES also wrote communication protocols to form the backbone of his new information system, which he called the World Wide Web. In particular,

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

WHAT DOES A URL specify?

A

specifies the address (i.e., location) of the web page displayed in the browser window.

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

IN HTML CODE. WHAT DOES URL’S BEGIN WITH?

A

URLs usually begin with http://

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

HTTPS STAND FOR AND EXPLAIN IT?

A

HTTPS is the standard for transferring encrypted data on the web.

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

WHAT DOES THE SYNTAX OF HTTPS

A

https://

Hypertext Transfer Protocol Secure (HTTPS).

URLs of websites that handle private information, such as credit card numbers, often begin with

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

DESCRIBE TLS (TRANSPORT CONTROL LAYER)

****cryptographic

A

(TLS) cryptographic schemes IS USED for securing communications and identification information over the web.

It combines HTTP with the Secure Sockets Layer (SSL) and the more recent Transport Layer Security

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

Explain Web 1.0

A

IN 1998 Marc Andreessen, developed Mosaic, AND Netscape, WITCH igniting the explosive Internet economy of the late 1990s.

whose team at the National Center for Supercomputing Applications (NCSA)

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

WHAT IS HYER text mark UP language?

A

In its simplest form, a web page is nothing more than an HTML document that describes to a web browser the document’s content and structure

(with the extension .html or .htm)

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

DESCRIBE HYPERLINKS

A

which, when clicked, load a specified web document. Both images and text may be hyperlinked.

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

WHAT TYPES OF FILES AND OR ACTIONS DOES HYPERLINKS RETRIVE

A

Hyperlinks can reference other web pages, e-mail addresses, files and more.

IF a hyperlink’s URL is in the form mailto:emailAddress, clicking the link loads your default e-mail program and opens a message

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

If a hyperlink references a file that the browser is incapable of displaying HOW DOES IT handle THE REQUEST?

A

If a hyperlink references a file that the browser is incapable of displaying, the browser prepares to download the file,

and generally prompts the user for information about how the file should be stored.

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

NAME A COUPLE WEB SERVERS

A

Popular web servers include Apache’s HTTP Server and Microsoft’s Internet Information Services (IIS).

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

Let’s examine the components of the URL HTTP://WWW.DITEL.COM/BOOKS/DOWNLOADS.HTML

http://

www.deitel.com/books

/downloads.html

A

The text http:// indicates that the HyperText Transfer Protocol (HTTP) should be used to obtain the resource.

hostname www.deitel.com —the name of the web-server computer on which the resource resides.

(/books/downloads.html) specifies the resource’s location (/books) and name (downloads.html) on the web server.

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

EXPLAIN A HOST COMPUTER

A

This computer is referred to as the host, because it houses and maintains resources.

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

The hostname www.deitel.com is translated into an _______________? FOR THE BROWSER TO LOACTE WHAT?

—a numerical value that uniquely identifies the server on the Internet.

A

IP ADRESS

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

WHAT IS DNS AND WHAT IS ITS FUMCTION?

A

An Internet Domain Name System (DNS)

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

The hostname www.deitel.com is translated into an IP (Internet Protocol) address—a numerical value that uniquely identifies the server on the Internet.

A

IP ADRESS

31
Q

WHAT DOES GET MEAN IN HTML5

A

TO obtain a resource from the server. OR REQUEST

32
Q

EXPLAIN THIS REQUEST FROM USER BOLD PARTS

GET /books/downloads.html HTTP/1.1

A

GET is an HTTP method indicating that the client wishes to obtain a resource from the server.

HTML The path name of the resource (e.g., an HTML5 document)

(HTTP/1.1). the protocol’s name and version number

33
Q

WHAT IS A HTTP HEADER

A

provide additional information about the data that will be sent

34
Q

IN THE LINE CODE OF THE HTTP WHAT WOULD A HEADER SYNTAX INDICATE TO THE SERVER SENDING AN HTML5 DOC?

CONTENT TYPE:

A

Content-type: text/html

35
Q

WHATS DOES MIME STAND FOR? WHAT IS A MIME TYPE AND WHAT DOES IT distinguish?

A

Multipurpose Internet Mail Extensions (MIME) type of the content that the server is transmitting to the browser.

The MIME standard specifies data formats, which programs can use to interpret data correctly.

36
Q

GIVES EXAMPLES OF MIME TYPES

A

For example, the MIME type text/plain indicates that the sent information is text that can be displayed directly.

Similarly, the MIME type image/jpeg indicates that the content is a JPEG image. When the browser receives this MIME type, it attempts to display the image.

37
Q

The header or set of headers is followed by a __________, which indicates to the client browser that the server is finished sending HTTP headers.

A

BLANK LINE

38
Q

The two most common HTTP request types?

A

GET OR POST

(also known as request methods)

39
Q

WHAT DOES A GET REQUEST DO?

A

A get request typically gets (or retrieves) information from a server,

such as an HTML document, an image or search results based on a user-submitted search term.

40
Q

EXPLAIN A POST REQUEST

A

A post request typically posts (or sends) data to a server.

Common uses of post requests are to send form data or documents to a server.

41
Q

A get request appends data to the URL, e.g., www.google.com/search?q=deitel&dietelmusic

describe each process:

www.google.com/ google would be the HOST

/search ____________

?___________

q ________

deiatal_______

= ___________

&————

.

A

search In this case search is the name of Google’s server-side form

? iseparates the query string from the rest of the URL in a request.handler,

q is the name of a variable in Google’s search form and deitel is the search term.

(=). A name/value pair is passed to the server with the name and the value separated by an equals sign

&If more than one name/value pair is submitted, each pair is separated by an ampersand (&). EXSAMPLE =deitel&dietelmusic

  • The server uses data passed in a query string to retrieve an appropriate resource from the server. The server then sends a response to the client. www.google.com/search?q=deitel&ditelmusic*
  • A get request may be initiated by submitting an HTML form whose method attribute is set to “get”, or by typing the URL (possibly containing a query string) directly into the browser’s address bar.*
42
Q

QUERY STRING in the broswer tab is part of the URL WITCH ASSIGNS VALUES TO _______________

A

assigns values to specified parameters.

A query string commonly includes fields added to a base URL by a Web browser or other client application,

for example as part of an HTML form. A web server can handle a Hypertext Transfer Protocol request either by reading a file from its file system based on the URL path or by handling the request using logic that is specific to the type of resource.

43
Q

does A post request send forms of data as part of the HTTP message, or the URL?

A

A post request sends form data as part of the HTTP message, not as part of the URL.

44
Q

If a form submits several hidden input values along with user-submitted data, the post method might generate a URL that would like?

A

www.searchengine.com/search

45
Q

NAME A REASON WHY POST REQUEST WOULD NOT BE SECURE SOLUTION FOR SENDING SENSTIVE INFO.

A

EVEN THOUGH THE DATA IS NOT PART OF THE RUL AND THE USER CANNOT SEE THE DATA TOOLS ARE available TO EXPOSE THE DATA

46
Q

WHY DO developers LIKE USING modular OBJECT oriented

A

—object-oriented programs are often easier to understand, correct and modify.

Software developers are discovering that using a modular, object-oriented design and implementation approach can make software-development groups much more productive than was possible with earlier techniques

47
Q

A METHOD HOUSES PROGRAM STATMENTS ?

WHAT DO THE STATMENTS DO?

A

perform its tasks.

It hides these statements from its user, just as a car’s accelerator pedal hides from the driver the mechanisms of making the car go faster.

In object-oriented programming languages, we create a program unit called a class to house the set of methods that perform the class’s tasks.

Performing a task in a program requires a method.

48
Q

EXPLAIN MESSAGES AND HOW THEY ENS UP AS Method Calls?

NOTE: METHODS ARE HOUSED IN OBJECTS?

A

THE PROGRAM SENDS messageS TO BE implemented as a method call that tells a method of the object to perform its task.

  • For example, a program might call a particular bank-account object’s deposit method to increase the account’s balance.*
  • Messages and Method Calls When you drive a car, pressing its gas pedal sends a message to the car to perform a task—that is, to go faster. Similarly, you send messages to an object.*
49
Q

AN OBJECT IN PROGRAMING HAS ATTRIBUTES THAT IT CARRIES ALONG AS ITS USED IN A PROGRAM describe what attributes a car would have

A

capabilities to accomplish tasks,

attributes like : color, its number of doors, the amount of gas in its tank,

actionable: current speed and its record of total miles driven (i.e., its odometer reading).

Like its capabilities, the car’s attributes are represented as part of its design in its engineering diagrams (which, for example, include an odometer and a fuel gauge). As you drive an actual car, these attributes are carried along with the car. Every car maintains its own attributes. For example, each car knows how much gas is in its own gas tank, but not how much is in the tanks of other cars.

50
Q

HOW ARE THESE ATTRIBUTES REALTED TO A ____________

a bank-account object has a balance attribute that represents the amount of money in the account. Each bank-account object knows the balance in the account it represents, but not the balances of the other accounts in the bank.

A

object’s class.

51
Q

Classes encapsulate (i.e., wrap) ______ and _____into objects

A

Classes encapsulate (i.e., wrap) attributes and methods into objects—an object’s attributes and methods are intimately related

52
Q

Classes encapsulate (i.e., wrap) ______ and _____into objects

A

Classes encapsulate (i.e., wrap) attributes and methods into objects—an object’s attributes and methods are intimately related

53
Q

MAKES IT SECURE AND A CLEAN AND CLEAR FREE WAY TO PRODUCE CODE

A

hiding ATTRIBUTES is crucial to good software engineering.

54
Q

Inheritance

A

ABSORBS characterTICS OR TRAITS OF AN EXSITING CLASS CRETING UNIQUE CHARACTERISTICS

A new class of objects can be created quickly and conveniently by inheritance—the new class absorbs the characteristics of an existing class, possibly customizing them and adding unique characteristics of its own

55
Q

WHY ARE PACKETS FROM different SENDERS OR SOURCES INTERMIXED ON THE SAME DATA LINES??

A

Packets from different senders were intermixed on the same lines to efficiently use the available bandwidth.

56
Q

name some action that happen when user initiates hyperlink. what analternate to hyperlinking a source/content?

A

a web server locates the requested web page and sends it to the user’s web browser. Similarly, the user can type the address of a web page into the browser’s address field and press Enter to view the specified page.

57
Q

what does DNS do?

A

database of hostnames and their corresponding IP addresses

and performs the translations automatically.

58
Q

A query string commonly includes fields added to a base URL by a Web browser or other client application, give an exsample?

A

reading a file from its file system based on the URL path

or

by handling the request using logic that is specific to the type of resource.

59
Q

A get request typically limits the query string (i.e., everything to the right of the ?) to a specific number of characters, MARKING LARGE QUERY STRINGS CONVOLUTED

SO WHAT THE ALTERNATIVE

**t’s often necessary to send large amounts of information

A

The post method is preferred because it hides the submitted data from the user by embedding it in an HTTP message.

60
Q

WHAT DOES A METHOD HIDE

HINT: Something that is said or written

A

It hides statements from its user,

just as a car’s accelerator pedal hides from the driver the mechanisms of making the car go faster.

61
Q

WHAT DOES A METHOD CALL EXECUTE?

HINT : INSTRUCTS

A

INSTRUCTS METHOD ON HOW TO ACESS AND execute TASK

62
Q

—an object’s ATTIBUTES and methods ARE_________

A

intimately related

INTERTWINED

63
Q

WHAT DO STATMENTS MEAN PERFORM IN TERMS OF OBLECT CLASS PROGRAMING??

A

A statement is a complete line of code that performs some action

64
Q

WHAT IS AN EXPRESSION

A

expression is any section of the code that evaluates to a value

65
Q
A
66
Q

what is a task?

HINT: TPIM

A

A task is a set of program instructions that are loaded in memory,

then the address registers is loaded with the initial address to start running the task

67
Q

WHAT DOES FTP STAND FOR? DESCRIBE WHAT IT DOES?

A

FILE TRANSFER PROTOCOL

ALLOWS FILES TO BE EXCHANGED WITH MULITOLE COMPUTERS

68
Q

WHAT ARE WEB BASED APPLICATIONS THAT DIVIDE FUNCTINALALITY INTO SEPRATES COMPUTER TIERS?

A

Web-based applications are often multitier applications

(sometimes referred to as n-tier applications) that divide functionality into separate tiers (i.e., logical groupings of f unctionality).

69
Q

COLLECTIVE intelligence DESCRIBE?

A

s shared or group intelligence that emerges from the collaboration, collective effoRTS

70
Q

CLEINT SIDE SCRIPTING

A

Client-side scripting with JavaScript can be used to validate user input, to interact with the browser, to enhance web pages, and to add client/server communication between a browser and a web server.

71
Q

WHAT DO WEB SERVERS DO?

A

LOCATES REQUESTED WEB PAGE AND SENDS IT TO USERS BROWSER

72
Q

The em is simply the font size. In an element with a 2in font, 1em thus means 2in. Expressing sizes, such as margins and paddings, in em means they are related to the font size, and if the user has a big font (e.g., on a big screen) or a small font (e.g., on a handheld device), the sizes will be in proportio

A
73
Q
A
74
Q
A