vu cs403 Mid Term Subjective Solved Past Paper No.6

vu cs403 Database Management Systems Solved Past Papers

Solved Past Papers

This subjective solved past paper is related to book/course code vu cs403 Database Management Systems which belongs to vu organization. We have 7 past papers available related to the book/course Database Management Systems. This past paper has a total of 10 subjective questions belongs to topic Mid Term to get prepared. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to get prepared for exams by learning subjective questions online on NVAEducatio.

NVAEducation also facilitates users to download these solved past papers with an affordable prices. However, users are not enforced to pay for money, rather they can use credits to buy such stuff on NVAEducation. Users can earn credits for doing some little tasks and then you will be able to use that credits to buy solved past papers on NVAEducation.

Question 1: What is meant by 'Shopping Cart' in context of e commerce?
Answer:
Shopping cart was used wherein the user had to remember and type certain information. It is now replaced by electronic shopping cart/basket that keeps record of the items the customer has selected and allows customers to view the details of the items selected. The customer can add new items or remove items. To order an item, a customer simply clicks at that item option. All details of an item, including its price, product no. and order identifying information are stored automatically in the cart.
Question 2: Which returns false if its single operand can be converted to true, or if it is a non-Boolean value:
Answer:
Logical increment adds one to the previous number that holds a given variable
Question 3: Why we use Address Resolution Protocol (ARP) for sending data packets?
Answer:
Each computer on the internet prepares a list of its IP address and corresponding MAC address using ARP. Through RARP this information is forwarded to a network server. When a data pocket arrives at the destination router, it inquires about the corresponding MAC address from the network server, inserts it and delivers the MAC address. A data packet therefore needs both IP and MAC addresses to reach its destination.
Question 4: Write a function for the addition of two numbers?
Answer:
Function add() {
var a,b,c;
a = 1;
b = 2;
c = a+b;
document.write("The addition of 1 and 2 gives " + c + "<br>" );
}
Question 5: Write a list of comparison operators in JavaScript with symbols.
Answer:
  1. Comparison operators
  2. == for Equal
  3. != for not equal
  4. < for Less than
  5. <= for less than equal
  6. > for Greater than
  7. >= for Greater than equal
Question 6: Write the code for a web page displaying a button named "Testing". After clicking that button an alert should be displayed saying "The test is successful".
Answer:
<html>
<head>
<script type="text/javascript">
function sndAlert() {
window.alert("The test is successful!!!");
}
</script>
</head>
<body>
<FORM
NAME="form1">
<INPUT TYPE="Button" name="showAlert" VALUE="ShowAlert"
onclick="sndAlert()">
</FORM>
</body>
</html>
Question 7: Write the JavaScript code which will display the following in a web page using a FOR loop:
The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
The number is 5
Answer:
<html>
<script type="text/javascript">
var no;
for (no=0; no<6 ; no++)
{ document.write("The number is "
+
no +
"<br>" );
}
</script>
</html>
Question 8: Write the types of firewalls. Only names? Explain these briefly
Answer:

Packet filter firewall

It uses a set of rules to determine whether outgoing or incoming data packets are allowed to pass through the firewall.

Circuit level firewall

It is quite similar to the packet filter firewall. It also works on the basis of a set of rules for filtering packets but operates at the transport layer of the OSI Model so has greater functionality.

Application gateway firewall

It operates at application layer of the OSI Model. It uses strong user authentication to verify identity of a host attempting to connect to the network using application layer protocols such us FTP. In contrast to packet filter firewall, it filters the requests rather than packets entering/leaving the network. It can block any outgoing HTTP or FTP requests.

Question 9: Write your personal profile in a file saving it with the extension of e.g. "abc.js"and then call it in a JavaScript code.
Answer:

Code#1

<!--
document.write("my name: dua" +"<P>")
document.write("my id: mc090" +"<P>")
document.write("My Uni Name: VU" +"<P>")
//-->

code#1 File save with extension "abc.js"

Code#2

.html coding:

<HTML>
<HEAD>
</HEAD>
<BODY><H1>My Profile</h1>
<SCRIPT SRC="abc.js"></SCRIPT>
</body>
</html>

Solved Past Papers of cs403 Database Management Systems

Other cs related subjective solved past papers

Other categories of vu Solved Past Papers

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background