CBSE Important Questions

CBSE Guess > Papers > Important Questions > Class XII > 2013 > Multimedia & Web Technology > Multimedia & Web Technology - by Mr. Amrit Chhetri

CBSE CLASS XII

Multimedia & Web Technology

Previous Index Next

Q. 4. Write HTML code to take two number inputs and to check whether the first one is divisible by second one or not. Display the result in a message box.

ANSWER-Q6.4:

<HTML>
<HEAD><TITLE>DIVISIBILTY CHECK</TITLE>
<SCRIPT LANGUAGE="VBScript">
SUB btn1_OnClick
Dim A, B
A = myFORM.TXT1.VALUE
B = myFORM.TXT2.VALUE
IF A MOD B = 0 THEN
MSGBOX (A & " Is Divisible by " & B)
Else
MSGBOX (A & " Is Not Divisible by " & B)
END IF
END SUB
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME = "myFORM">
<P>INPUT NUMBER <INPUT TYPE = "TEXT" NAME = "TXT1">
<P>CHECK DIVISIBILITY BY <INPUT TYPE = "TEXT" NAME = "TXT2">
<P>
<INPUT TYPE = "Button" VALUE = "Check Divisibility " NAME="btn1">
</FORM>
</BODY>
</HTML>

Q. 5. Write HTML code to take the two number inputs and to calculate the sum of these two numbers. Display the result in a message box.

ANSWER-Q6.5:

<HTML>
<HEAD><TITLE>SUM OF INPUTS</TITLE>
<SCRIPT LANGUAGE="VBScript">
SUB btn1_OnClick
Dim A, B, SUM
A = myFORM.TXT1.VALUE
B = myFORM.TXT2.VALUE
SUM=CINT(A)+CINT(B)
MSGBOX("Sum of " & A & "and " & B & "is " & SUM)
END SUB
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME = "myFORM">
<P>FIRST NUMBER :<INPUT TYPE = "TEXT" NAME = "TXT1">
<P>SECOND NUMBER: <INPUT TYPE = "TEXT" NAME = "TXT2">
<P>
<INPUT TYPE = "Button" VALUE = "Calculate SUM " NAME="btn1">
</FORM>
</BODY>
</HTML>

SECTION-7 ( NETWORKING & OPEN SOURCE SOFTWARE-10/10 MARKS) :-

Q. 1. What are intranet and Interspace?

ANSWER-Q7.1:
It is a local collection of interconnected network of computer device, govern by the local authority. A privately owned network is termed as intranet.

It is a vision of what the internet will become, where users correlates information in multiple ways from multiple sources.

Q. 2. What is URL? What are different types of URL?

ANSWER-Q7.2:
URL is an addressing scheme to indicate the location of a website. In World Wide Web, an unique location of a web site is required to view that web page / site in a browser. This unique address of    the web site of application is called URL. Its full form is Uniform Resource Locator.

The following are the types of URL(Uniform Resource Locator):

  1. Absolute URL: It is a complete internet address to give the location of a page or site. For example , http:\www.facebook.com\index
  2. Relative URL: It only designates the file name and it is always relative the actual location.
  3. Fragmented URL: The name attribute of an <A> element creates an anchor and URL created by this attribute is called fragment URL.

Q. 3. What is Firewall? What is the use of FTP?

ANSWER-Q6.3:
Firewall is an electronic blocking mechanism or software that will not allow unauthorized intruders or system to get the access of any resources in computer device.

FTP, File Transfer Protocol is used to transfer the data file from one system to another one.

 

Previous Index Next

Submitted By : Mr. Amrit Chhetri
Computer Science Trainer/Educator, Principal Business Consultant, Social Media Strategist
Mobile : +91-9911290373, +91-9717346736
Twitter : http://twitter.com/AmritChhetriB
Facebook : https://www.facebook.com/AmritChhetriB