Answer:
A.Sam.
Explanation:
We are using Deque interface which is sub type of Queue interface. Deque supports insertion and deletion from both ends front and end.So it can be used as a queue and stack also.
In this question we have inserted Jack at the front first.Then Rudy at the back then larry also at the tail.Now we have added sam at the front then nothing is added to the front.So the answer is Sam.
Answer:
Bus topology
Explanation:
Network topology is a descriptive view or shape pattern of network devices arrangement on a network. It does not necessarily describe how packets are transmitted. They are different types of network topology, they are star, bus, token- ring, mesh.
In star topology, each computer on the network is connected to a central device, while all the computers in bus network is connected to a network line. In mesh topology, all computers are connected to each other, while computers are arranged in circles in a token-ring topology.
Answer and Explanation:
Using Javascript:
test7_11_13(num){
If(num%7===0||num%11===0||num%13===0){
Console.log("yes it is a multiple of 7,11 or 13");
}
else{
Console.log("It is not a multiple of any of the numbers");
}
function(num){
var makeString= num.toString();
var splitString= makeString.split("");
var makeNumber= splitString.map(Number());
var New_number= makeNumber.reduce(function(a, b) {
return a+b};,0)
}
If(New_number%2===0){
Console.log("it's an even number");
}
else{
Console.log("it's an odd number")
}
If(num%2===0||num%3===0||num%5===0||num%7===0||num%11===0){
console.log("it's not a prime number");
}
else{
console.log("it's a prime number");
}
}
From the above we have used javascript if..else statements to test the conditions for each question and output the answer to the console using console.log(). In the last part for prime number, you could also choose to use else if statements(if,else if, else if) to test the value of the num parameter and output if it's a prime number.
Answer:
Use the canvas code to draw 1000 points but then for the location import the random module and use random.randrange() for it
Explanation:
The drawing object will be used for drawing
The random class is used for the random numbers
I hope it helps
Network Access Control (NAC) examines the current state of network device before it is allowed to connect to the network. Any device that does not meet a specified set of criteria is only allowed to connect to a “quarantine” network after the security deficiencies are corrected. NAC Prevents computers with sub-optimal security from potentially infecting other computers through the network. This technology uses, protocols such as Dynamic Host Configuration Protocol (DHCP) server and Address Resolution Protocol (ARP).