Answer:
I will code in Javascript.
Preconditions:
The variables k, incompletes has been declared and initialized.
The variable nIncompletes contains the number of elements of incompletes.
The variable stududentID has been declared and initialized.
The variable numberOfIncompletes has been declared.
Script:
numberOfIncompletes = 0; <em>//initialize numberOfIncompletes</em>
for( k = 0; k < nIncompletes; k++) {
if(incompletes[k] == studentID){ <em>//if the element of array is equal to studentID</em>
numberOfIncompletes++; <em>//adds 1 to numberOfIncompletes</em>
}
}
Explanation:
The script uses a for loop to go through the entire array incompletes, comparing the k variable with nIncompletes and adding 1 on each pass.
Then inside the for, uses an if statement to compare if the actual element is equal to studentID, if equal adds 1 numberOfIncompletes.
Answer:
by learning the right home keys and how to place the fingers
Explanation:
the left hand side : A,S,D,F
the right hand side: :, L, K, J
the two little fingers are guide keys
guide keys: letter A and column
Answer:
Host discovery
Explanation:
Hot discovery is one of the preliminary stages of network reconnaissance, it begins with different IP addresses that belongs to a particular network and adopts various methods to scan and know if a host is at the IP address. Host discovery is also known as ping scan when a sonar analogy is used.
Host discovery helps to scan the particular type of host on one's network.
Answer and Explanation:
Using Javascript programming language, to write this script we define a function that checks for empty variables with if...else statements and then uses a for loop to loop through all arguments passed to the function's parameters and print them out to the console.
function Check_Arguments(a,b,c){
var ourArguments= [];
if(a){
ourArguments.push(a);}
else( console.log("no argument for a"); )
if(b){
ourArguments.push(b);}
else( console.log("no argument for b"); )
if(c){
ourArguments.push(c);}
else( console.log("no argument for c"); )
for(var i=0; i<ourArguments.length; i++){
Console.log(ourArguments[i]);
}
}
The (main) function of the "network media" is the "<span> to transmit signals from device to device" because by doing this and allowing this to happen, this the signals would also send messages, and by this, it would then also be known as social media, and by this, it would be able to send pictures, text, and etc. This would be the point of the "network media".</span>