CS101 assignment No 3 Solution Spring 2018 due date 17 07 2018
Get Unique paid solution for this assignment. Cost 1000 rupees. Mail on projecthelp77@gmail.com
Question no.1:
You need to study the following Javascript code carefully. Write the below code without if-else to do the same job by using Switch Statement?
Answer:
Switch (Mouse Position)
{
Case Div1:
Alert (“Div1”);
Break;
Case Div2:
Alert (“Div2”);
Break;
Case Div3:
Alert (“Div3”);
Break;
Case Div4:
Alert (“Div4”);
Break;
Case Div5:
Alert (“Div5”);
Break;
}
Question no.2:
Write correct choice in front of each description.
Sr # | Description | Choice |
1 | A VPN is an example of |
Private Network |
2 | Uses Packets to transfer data from one network to another network |
Router |
3 | Connects to Physical Medium |
MODEM |
4 | Topology which has a single point of failure |
Star Topology |
5 | The medium which provides highest bandwidth | Optical Fiber |