Internet Applications Questions

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

40. What are the six things that you can use HTML elements to specify in a web document?

1. denote the structural semantics for text, 2. emphasize text 3. describe the structure of a web page 4. specify that objects be embedded into a web page 5. write embedded programs in a scripting language, 6. specify that a program written in a language be executed and that its output be imbedded into the web page.

46. What is the structure of a web document?

<!DOCTYPE html> <html> <head> <title>This is a title</title> </head> <body> . . . </body> </html>

2. What is network application architecture?

A network application architecture is a design that dictates how an application is structured over the various hosts

25. What is the difference between a server and a server-class computer?

A server is a computer program that waits passively for communication whereas a server-class computer is a computer with fast CPU, large memories and powerful operating system that is dedicated to running one or more server programs.

11. What are the characteristics of a server-class computer?

A server-class computer has a large memory, a fast CPU, and a powerful and special operating system.

31. What is a web browser?

A web browser (commonly referred to as a browser) is a software application that receives HTML documents from an HTTP server or from the local storage and displays the corresponding web pages

32. What is a web page?

A web page is a multimedia content that uses a combination of different content forms such as: text, audio, images, animations, video, and interactive content.

28. What is a web site?

A website, or simply a site, is a collection of related web documents (also called HTML or XHTML documents) and other resources that are published (or held) on at least one computer called web server.

37. What is an HTML document?

An HTML document is a text file with filename extension .HTML.

1. What is an internet application?

An internet application consists of two or more programs that run on different hosts and communicate with one another over the network.

33. Where does a web browser obtain non-textual contents that are inserted into a web page?

Any non-textual content on a web page is retrieved from a file or a database on the web server or is created as the results of running a program.

7. What are the major challenges of the peer-to-peer network application architecture?

Be ISP friendly: most ISP have been dimensioned for much more downstream than upstream traffic; but most P2P applications shift upstream traffic from servers to residential ISPs, thereby putting significant stress on ISPs Security: P2P applications can be a challenge to secure because of their highly distributed and open nature. Incentives: Their success depends on convincing users to volunteer their resources..

3. What are the two predominant network application architectures used on modern network?

Client-server architecture and peer-to-peer (P2P) architecture.

14. What are the technologies suggested to deal with the server bottleneck problem?

Content caching (Akamai), load balancers, Server virtualization, and Distributed data centers and replication

27. What are the two key aspects of application protocols, and what does each include?

Data Representation Specifies the following: Syntax of data items that are exchanged Specific form used during transfer Translation of integers, characters, and files sent between computers. Data Transfer Specifies the following: How interactions between a client and the server should be done. The syntax and the semantics of the messages How errors in the transmission should be handled, and How an interaction should be terminated

30. Give an example of a HTTP server.

Examples of HTTP servers are: the Apache Tomcat web server, the Sun's Java web server, IBM WebSphere, BEA WebLogic, Macromedia's JRun, Caucho Resin, and Jetty.

9. A multi-national company can choose to divide its domain name hierarchy in such a way that the company has a domain name server in Europe, one in Asia, and one in North America.

False. The higher-level segment of a domain name depends on the region.

48. A web server must have a domain name that begins with www.

False. www is the name of the server (and it is used by convention)

10. Give two examples of internet application with the peer-to-peer application architecture.

File distribution application, file sharing application, and internet telephony.

34. What are the three key protocol standards that are used to specify the data representation and data transfer of the Web?

HyperText Markup Language (HTML,), Uniform Resource Locator (URL), and Hypertex Transfer Protocol (HTTP).

38. How do you know that a file is a web document?

If its filename extension is .HTML.

22. What is the difference between a UDP and a TCP communication protocols?

In a UDP communication, processes communicate by sending and/or receiving packets from each other whereas TCP client processes communicate with the server process by using input/output data streams. In a UDP communication, no connection is established between the source process and the destination process whereas a connection must be established between a client process and a server process in a TCP communication. A UDP communication is unreliable whereas a TCP communication is reliable.

4. Give a description of the client-server network application architecture.

In a client-server architecture, there is a server-class computer called server (or server host) that is always on, and one or more standard computers called clients (or client hosts). The server host services requests from client hosts.

5. Give a description of the peer-to-peer network application architecture.

In a peer-to-peer architecture, an application is based on direct communication between pairs of interconnected hosts called peers. Peers are desktops and laptops controlled by users and they communicate without passing through a dedicated server. A peer also makes a portion of its resources, such as processing power, disk storage or network bandwidth, direc

8. Give an example of internet application that uses the hybrid architecture.

Instant messaging application.

18. What is a communication port?

It is a number in the range 1-65535 that is used to identify an internet process on the computer on which it is running.

17. How is an internet process identified on the computer where it is running?

It is identified by its communication port.

42. Name two programming languages that are used to write programs that will be executed and their output embedded into a web page

Java, C#

41. Name two programming language that are used to write programs that are embedded in a web document?

JavaScript, PHP, Python, VB.net

39. Are HTML elements displayed on web pages?

No

6. What is the major advantage of the peer-to-peer network application architecture?

P2P architectures are also cost effective: they do not require significant server infrastructure and server bandwidth.

9. Give two examples of internet applications with the client-server application architecture.

Search engines, Internet commerce, and Web-based email.

35. What is the purpose of each of the protocol standards in question 34?

Standard purpose HyperText Markup Language (HTML) A representation standard used to specify the contents and layout of a web page. Uniform Resource Locator (URL) A representation standard that specifies the format and meaning of a web page identifier. Hypertex Transfer Protocol (HTTP) A transfer protocol that specifies how a browser interacts with a web server to transfer data.

23. What are the two basic communication paradigms used in the Internet?

Stream paradigm and message paradigm.

26. What two identifiers are used to specify a particular server?

The IP address of the computer on which it runs and its port number.

47. What is the overall purpose of the Domain Name System?

The overall purpose of the Domain Name System (DNS) is to provide a service that maps human-readable symbolic names to computer addresses.

24. When two applications communicate over the Internet, which one is the server?

The server is the application that starts first and awaits contacts.

20. What is the software interface used by internet processes to send and receive data?

The software interface is called socket

13. What is the server bottleneck problem?

There is a server bottleneck problem when a server host is incapable of keeping up with all the requests from its clients.

21. How are sockets used by internet processes to send and receive data?

When a process wants to send a message, it loads it on its socket; the protocol transportation software carries the message to the receiving host and once the message arrives at the destination host, it passes through the receiving process's socket which then acts on the message.

44. How does a browser know whether an HTTP request is syntactically incorrect or whether the referenced item does not exists?

When it receives the status code 400 or 404.

12. Names three server operating systems.

Windows Server 2016, UNIX Solaris, BSD (Berkeley Software Distribution) UNIX, Ubuntu, and Red Hat.

16. What is a distributed data center?

With a distributed data centers, multiple data centers are placed in various geographic locations, and when a user enters a request, it is directed to the closest data center.

45. Can a browser use transfer protocols other than HTTP? Explain.

Yes. Because the general form of a URL starts with the name of the protocol used by the browser to access the document

50. If a company moves its web server from computer x to computer y, the names of the two computers must change.

Yes. Otherwise, the URL of the server will have to be changed (with machine name y instead of x).

15. Give a description of each of the following technologies:

a. Content caching. ISPs often have a cache memory that keeps a copy of each static web page after it has been requested for the first time so that any subsequent request of that web page is delivered from the cache memory. b. Distributed caching. Some companies such as Akamai have a set of servers located throughout the Internet, and an organization can contract with one of those companies to preload its caches with content. Visitors to the organization's web site obtain much of the content from that company's nearby cache rather than from the organization's central server. c. Load balancing A load balancer is a device that allows a company to replace a single server with a data center that contains multiple computers, each running an identical copy of a web server. To ensure that all servers return the same answer to a request, the servers use a common, shared database system. The load balancer distributes incoming requests among the physical servers as follows: It examines each incoming HTTP request and sends the request to one of the servers. It remembers recent requests and directs all requests from a given source to the same physical server. d. Server virtualization. With server virtualization, two or more server are run on virtual machines on the same physical computer and if a given physical computer becomes overwhelmed a manager migrates one or more VMs to other physical computers.

43. Given the following URL: http://www.isoc.org:80/documents/downloads.html.

a. What is the protocol? http b. What is the name of the computer? www (domain name of the computer is: www.isoc.org) c. What is the port number? 80 d. What is the document pathname? documents/downloads.html

29. What types of documents and resources are included in a web site?

graphics files, images files, videos files, PDF documents, and objects that perform complex tasks such as database lookup and web searches.

19. What are the two communication protocols used on the Internet?

the UDP transport protocol and the TCP transport protocol.

36. What is the name of the organization that maintains the HTML standard?

the World Wide Web Consortium (W3C).


Ensembles d'études connexes

Introduction to Marketing Mid-Term Exam

View Set

HCAM-230 Chapters 7, 8, 9, 10, 11

View Set

Mail order Advantages and Disadvantages

View Set

IBUS 330 Chapter 3 Globalization Internationalization

View Set

Chapter 17 Monopolistic Competition ECON 2302

View Set

Fundamentals - Basic Physical Care

View Set