Mailam Engineering College
Total Page:16
File Type:pdf, Size:1020Kb
1 Mailam Engineering College (Approved by AICTE, New Delhi, Affiliated to Anna University, Chennai & Accredited by National Board of Accreditation (NBA), New Delhi) Mailam (Po), Villupuram (Dt). Pin: 604 304 DEPARTMENT OF COMPUTER APPLICATIONS Web Programming – MC9235 UNIT II WORLD WIDE WEB Overview – Web Security, Privacy, and site-blocking – Audio and Video on the web – Creating and Maintaining the Web – Web site creation concepts – Web Page Editors – Optimizing Web Graphics – Web Audio Files – Forms, Interactivity, and Database-Driven Web sites – File Transfer and downloading – FTP – Peer to Peer – Downloading and Installing software. 2– Marks Questions with Answers 1. What do you mean by World Wide Web? WWW is a distributed system of inter linked pages that include text, pictures, sound and other information. It enables easy access to the information available on the internet. 2. Write short notes on HTTP? Http is application protocol with the lightness and speed necessary for the distributed collaborative hypermedia information system. 3. What is FTP? The basic Internet File Transfer Protocol. FTP, which is based on TCP/IP, enables the fetching and storing of files between hosts on the Internet. 4. What is GUI? Graphical User Interface. Refers to the techniques involved in using graphics, along with a keyboard and a mouse, to provide an easy-to-use interface to some program. 5. What is URL? URL stands for Uniform Resource Locater. Three are two types of URL Absolute URL – This include complete path to the file location including all the names of directories and sub directories. Relative URL – These are like shorthand that tells the browser to go backward one or more directories to find the file. 6. Define SCML? The Source Code Markup Language (SCML) is a formatting language that can be used to create templates for source code that needs to be output by Flick. 7. What is Mailing List? A group of users with a shared interest, whose e-mail address are kept in an Prepared By Ms. A.Subathra Devi, Asst. Prof. / MCA 2 electronic list that can be used to send e-mail to each member on the list. 8. What are the key elements in a protocol. ? Syntax - Includes data format and Signal levels Semantics – Includes control information for co-coordinating & Error handling Timing – Includes speed matching and sequencing 9. What is HTML? Hypertext Markup Language. This is a file format, based on SGML, for hypertext documents on the Internet. It is very simple and allows for the embedding of images, sounds, video streams, form fields and simple text formatting. References to other objects are embedded using URLs. HTML is a plain text file with commands <MARKUP TAGS> to tell the web browsers how to display the file. 10. How do you change the color of background or text in HTML? <body bgcolor="#rrggbb"> <body text="#ffffff" link="#ff0000" vlink="#ff0000" alink="#ff0000"> 11. How do you use a picture as the background in HTML? <body background="bgimage.jpg"> 12. How do you add music to a web page? <embed src="yourmusicfile.mid" autostart="true" loop="true" width="2" height="0"> </embed> 13. Define Web Security. There are a lot of dangers in putting up a Web page. From invasions of privacy to actual hackers cracking your security. Learn how to secure your Web server and site as well as hacks and patches to keep yourself safe. 14. What are the necessities of using HTML forms? Gathering user information Conducting Surveys Interactive services 15. What are the sequences of steps for each HTTP request from a client to the server? Making the connection Making a request The response Closing the connection Define MIME. MIME (Multipurpose Internet Mail Extensions) is an open standard for sending multipart, multimedia data through Internet email. 16. List the predefined MIME content types. Prepared By Ms. A.Subathra Devi, Asst. Prof. / MCA 3 Text Multipart Message Image Audio Video Model Application 17. Define HTML. It is a simple page description language, which enables document creation for the web. 18. What is meant by loop back address? A zone that enables the server to direct traffic to itself. The host number is almost always 127.0.0.1. 19. What is web hosting? Web Hosting is a service that provides internet users with online computer systems for storing information, images, video, or any content accessible via the internet or web. For Internet users to view online information, the web hosting company places the website pages (html, php, etc files) on a web server which is stored inside a data center. Data centers are connected to the internet with extremely reliable high speed connections so that the world has access to the web files 24 hours a day, 7 days a week. Web users access the web pages through the website's IP address or the website's domain name. 20. What is a web host? A web host provider (or web host) is the company that host's and maintains the web server that stores the website's pages. 21. Does the web host own my site? No, the content that is within your site is yours and yours alone! 22. How much does web hosting cost? Web hosting costs vary dramatically depending on what type of website you plan on running, how many visitors the site receives, and any additional features you may require. For a simple site with html, cgi, and php web pages, the pricing can range from $15.00 per month to upward of $30.00 per month for a virtual web hosting account. If the website gets millions of visitors a day, you may require a dedicated server which can cost anywhere between $100.00 per month to $500.00 per month. This fee is to maintain a reliable high speed connection and enough bandwidth or data transfer per month for the website users to effective navigate through the website. 23. Can I host my website myself? Yes. It's preferable to have a high speed connection to the internet (DSL, Cable, or T1) and you can dedicate one computer to be a web server. Also, the internet provider may incur an extra charge for hosting. However, this is the least efficient web hosting method since it puts heavy additional requirements on your home or office internet connection line and exposes you to security risks. It is important to note that the computer dedicated to being a web server must remain on 24 hours a day, 7 days a week for the website to be online all the time. Prepared By Ms. A.Subathra Devi, Asst. Prof. / MCA 4 24. How do I transfer my website files from my local computer to the remote web hosting server? The most common method to upload files from a local computer to your web hosting server is by using an FTP, or File Transfer Protocol, client. An FTP client is a piece of software that allows a user to authenticate and establish a connection to the remote web hosting server to upload files for the website. 25. What is bandwidth or data transfer? Bandwidth or data transfer are terms referring to the amount of data that can be transferred in and out within a given period of time, usually monthly. When a visitor browses a website, he or she has to download the HTML, images, scripts and other files to view the web page. The amount of transfer the visitor uses counts towards your allocated monthly amount of data transfer. For example, if the visitor retrieves an image that is 2KB and one HTML page at 4KB, then the total data transfer for that session is approximately 6KB. 26. What is disk space or storage space? Disk space or storage space refers to the amount of space you are allowed to store in your web hosting account. When you upload website files, for example, HTML pages, images, graphics, scripts and so forth, it takes up space on the web server's hard drive(s). The size of the files you upload into your web hosting will respectively determine how much storage space you will use up. 27. How much disk space and bandwidth do I need for hosting my web site? There is no definite answer for this question since it is highly dependent on your current and future web hosting needs for the website in question. However, a small personal website with light traffic will require 50 - 100 MB of storage space (disk space) and 1 GB of monthly data transfer. JIC Design offers a Starter Web Hosting Plan suitable for this type of website. However, if the website offers videos or large resolution images, the Advanced Web Hosting Plan is a possibility. 28. How do I get my own domain name? It's important to realize that domain registration is separate from web hosting and these two services can be provided by two different companies. A domain name can be registered with any ICANN-approved domain registrar. JIC Design offers domain name registrations and includes a domain name free with specific web hosting plans. 29. How do I get started developing a Web site? Your Web site's purpose might be, for example, "to sell our line of products." A good purpose will be specific and represent a new activity that adds significant value to the Web. Then state specific, measurable objectives that the site should accomplish. 30. What is the most common mistake Web developers make? A lack of understanding of the audience for the Web site. Understanding your audience means knowing their needs and expectations. For example, a common error is when some sites that depend on an in-person visit neglect to identify the city and state in which the store or physical event is located.