Answer: b) R1 will connect to a physical Ethernet link, with the other end of the cable connected to a device at the WAN service provider point of presence.
.d) R1 will forward data link frames to R2 using an Ethernet header/trailer.
Explanation:
Here we have to understand what is MLPS. MLPS is a protocol which identifies the shortest route for the transfer of messages between routers instead of the longest route.
Here we are given a WAN which is a wide area network. Using layer 2 Ethernet service the frames are transmitted across the routers within the WAN.
Option A is incorrect as as connecting the other end of the cable to the R2 would reduce the functionality of the WAN. Option C is incorrect as HDLC header trailer has no effect.
Option B and D are correct as Ethernet header/ trailer has the same size every frame and to maintain the functionality of the WAN one end must be connected to point of presence(PoP).
Answer:
myInt=40
myFloat=4.8
Explanation:
First look at the function definition .It has two arguments intVal is passed by reference while floatVal is passed by value.So the changes done on the myInt variable will be reflected on the original argument because when a variable is passed by reference the the changes are reflected on the original argument but when a variable is passed by value the function created a duplicate copy of it and work on them so changes are not reflected on the original argument.So myInt will get doubled while myFloat will remain the same.
Answer:
A. DDoS Attacks
Explanation:
A zombie, in computer terminology, is a hacker, computer worm, trojan horse, or virus compromised internet connected computer, which can be remotely directed to perform malicious tasks
E-mail spams and denial-of-service, DoS attacks are spread and launched by botnets of zombie computers
Botnets which are also known as "zombie army", are used by hackers mainly for spam and distributed-denial-of-service, DDoS, attacks
While a DoS attack involves one machine, while a DDoS attack consist of multiple computing devices and machines
A botherder is the originator of a botnet and common botnets include Mr Black. Pushdo, and cyclone
Answer: Following code is in C++
#include<iostream>
using namespace std;
int sumArray(int a[]) //take array as argument
{
int s=0,i;
for(i=0;i<5;i++)
s+=a[i]; //sums every element
return s;
}
int main() {
int sum,a[]={1,7,4,9,6};
sum=sumArray(a); //calling the function
cout<<"Sum of array is : "<<sum; //printing sum to console
return 0;
}
OUTPUT :
Sum of array is : 27
Explanation:
In the above mentioned code, an array is declared and initialized at the same time. A variable sum of int type stores sum returned the function sumArray() and then it is printed to the console. In the function sumArray(), a variable s of data type int is initialized with value 0 and a loop is executed in which every element of the array is added. At last, s is returned.
Answer:
Web Services
Explanation:
<em>Web Services</em> is a technology that uses a set of protocols and protocols that serve to exchange data between applications. Different software applications developed in different programming languages, and executed on any platform, can use web services to exchange data on computer networks such as the Internet. Interoperability is achieved through the adoption of open openings.