bsit 52 previous year question paper solve

26
1. What is web? Ans.  A Web is a complex network of international, cross platform, and cross cultural communicating devices, connected to each other without any ordering or pattern.  2. Explain GET and POST methods. Ans. : GET: The Get is one the simplest Http method. Its main job is to ask the server for the resource. If the resource is available then then it will giv en back to the user on your browser. That resource may be a HTML page, a sound file, a picture file (JPEG) etc. We can say that get method is for getting something from the server. It doesn‘t mean that you can‘t send parameters to the server. But the total amount of characters in a GET is really limited. In get method the data we send get appended to the URL so whatever you will send will be seen by other user so can say that it is not even secure. POST: The Post method is more powerful request. By using Post we can request as well as send some data to the server. We use post method when we have to send a big chunk of data to the server, like when we have to send a long enquiry form then we can send it by using the post method. 3. What is Javascript? Ans. JavaScript is a scripting language (like a simple programming language). JavaScript is a language that can be used f or client-side scripting. JavaScript is only used inside of HTML documents. With JavaScript, we can make text scroll across the screen like ticker tape. JavaScript does not have any graphics capabilities, except for the ability t o format and display HTML. For security reasons, client-side JavaScript does not allow the reading or writing of f iles. Obviously, you wouldn‘t want to allow an untrusted program from any random web site to run on your computer and rearrange your files. 4. Write an HTML program for applet embedding.  Ans. Applets are embedded in HTML page s using the <APPLET> tag. An example of an HTML page containing an applet which scrolls the specified text across the screen at a specified speed, is given below: <HTML> <HEAD> <TITLE>Demo Applet</TITLE> </HEAD> <BODY> <APPLET CODE="scrolling_banner.clas s: CODEBASE =jclasses

Upload: kunal-patra

Post on 11-Oct-2015

51 views

Category:

Documents


0 download

DESCRIPTION

2011-2013 Question paper solve

TRANSCRIPT

1. What is web?

Ans. A Web is a complex network of international, cross platform, and cross cultural communicating devices, connected to each other without any ordering or pattern.

2. Explain GET and POST methods.

Ans. : GET: The Get is one the simplest Http method. Its main job is to ask the server for the resource. If the resource is available then then it will given back to the user on your browser. That resource may be a HTML page, a sound file, a picture file (JPEG) etc. We can say that get method is for getting something from the server. It doesnt mean that you cant send parameters to the server. But the total amount of characters in a GET is really limited. In get method the data we send get appended to the URL so whatever you will send will be seen by other user so can say that it is not even secure.

POST: The Post method is more powerful request. By using Post we can request as well as send some data to the server. We use post method when we have to send a big chunk of data to the server, like when we have to send a long enquiry form then we can send it by using the post method.

3. What is Javascript?

Ans. JavaScript is a scripting language (like a simple programming language). JavaScript is a language that can be used for client-side scripting. JavaScript is only used inside of HTML documents. With JavaScript, we can make text scroll across the screen like ticker tape.

JavaScript does not have any graphics capabilities, except for the ability to format and display HTML. For security reasons, client-side JavaScript does not allow the reading or writing of files. Obviously, you wouldnt want to allow an untrusted program from any random web site to run on your computer and rearrange your files.

4. Write an HTML program for applet embedding.

Ans. Applets are embedded in HTML pages using the tag. An example of an HTML page containing an applet which scrolls the specified text across the screen at a specified speed, is given below:

Demo Applet