05-28-2010, 06:08 PM
[COLOR="#ff0000"]Question No: 25 ( Marks: 5 )
[/COLOR]
Write the types of firewalls. Only names? Explain these briefly
Solution:
[COLOR="#2e8b57"]1. Packet filter
2. Application gateway
3. Circuit-level gateway
4. Proxy server[/COLOR]
Question No: 26 ( Marks: 5 )
Write the JavaScript code which will display the following in a web page using a FOR loop:
[COLOR="#ff8c00"]The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
The number is 5[/COLOR]
Solution:
[COLOR="#008000"]<html>
<body>
<script type="text/javascript">
for (i = 0; i <= 5; i++)
{
document.write("The number is " + i);
document.write("<br />");
}
</script>
</body>
</html>
[/COLOR]
[/COLOR]
Write the types of firewalls. Only names? Explain these briefly
Solution:
[COLOR="#2e8b57"]1. Packet filter
2. Application gateway
3. Circuit-level gateway
4. Proxy server[/COLOR]
Question No: 26 ( Marks: 5 )
Write the JavaScript code which will display the following in a web page using a FOR loop:
[COLOR="#ff8c00"]The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
The number is 5[/COLOR]
Solution:
[COLOR="#008000"]<html>
<body>
<script type="text/javascript">
for (i = 0; i <= 5; i++)
{
document.write("The number is " + i);
document.write("<br />");
}
</script>
</body>
</html>
[/COLOR]
*Saba*
