// Input example:
var userInput = input("Action: ");
if(userInput == "run") {
// Run code
} else if(userInput == "stop") {
// Run code
} else {
// Run error code
}
// More-like-what-you-want example:
if(user.clickApp("Brainly")) {
// Open Brainly
} else if (user.clickApp("App")) {
// Open App
} else {
// Other if, else if, else statements
}
Answer:
C++.
Explanation:
void printStrings(char strings[NUM_STRINGS][STRING_LENGTH]) {
// Multi dimension array can be traversed through multi-level loops
for (int i = 0; i < NUM_STRINGS; i++) {
for (int j = 0; j < STRING_LENGTH; j++) {
cout<<"<<strings[i][j]<<";
}
cout<<endl;
}
}
Output would be like this, depending on the size of NUM_STRINGS;
"One"
"Two"
"Three"
....
Answer:
The number of routers arrived in the path of a packet from sender to receiver are called hops. It is term used usually in computer networking.
<u>Command Used to find Hops</u>
In windows command prompt is used to find the number of hops.
1. In Command Prompt type "<em>tracert</em>" after host name and IP address of destination.
<u>Hardware devices Represented by Hop</u>
The main devices that is counted as hop in networking is <em>Router</em>. Nut Sometimes many devices such as <em>switches, repeaters and access points</em> are also count as hops. It depends on the configuration and role of the devices.
Answer:
Data modeling
Explanation:
Data modeling is a term used in computer or software engineering. It is a technique of creating a data model for an information system through unusual formal methods. It also involves the analysis of models during the development of an application. It is further divided into three places including:
1. Conceptual data
2. Logical data model
3. Physics data model
Hence, Data modeling is a model that involves the creation of data and process models during the development of an application