Answer:
Average speed = 6 km/h and Average velocity = 0.67 km/h
Explanation:
Given that,
A dog walks 10 km north in 2 hours and then 8 km south in 1 hour.
(a) Average speed = total distance traveled divided by total time taken
Distance = 10+8 = 18 km
Total time = 2+1 = 3 h
Average speed = (18/3 )km/h= 6 km/h
(b) Average velocity = net displacement divided by total time taken
Let north is positive and south is negative
Displacement = 10+(-8) = 2 km
Total time = 2+1 = 3 h
Average velocity= (2/3 )km/h= 0.67 km/h
Answer:
Correct answer is (d) Scalable solution for an enterprise environment
Explanation:
Scaling and enterprise simply means adding up resources to the business need. By adding hardware (s) or by upgrading the existing hardware without changing much of the application, one will be able to implement a three-tier campus network.
Answer:
while(is_sunny=="n")
Explanation:
The loop keeps repeating itself until a certain condition is met.
Here while loop keeps executing until value of is_sunny is not equal to 'n'
When the value of is_sunny is not equal to n then the loop stops.
So lets explain this logic with a chunk of code:
#include <iostream> //to use input output functions
using namespace std; //to identify objects like cin cout
int main() { //start of main function
string is_sunny = "n"; //value of is_sunny is set to n
cout<<"Enter value of is_sunny: "; // prompts user to enter value of is_sunny
cin>>is_sunny; // reads value of is_sunny from user
while(is_sunny=="n") // keeps iterating until value of is_sunny is not equal to n
{ cout<<"keep executing until is_sunny is not equal to n"<<endl;//display this message with each iteration
cout<<"Enter value of is_sunny: "; //keeps prompting to enter is_sunny
cin>>is_sunny; } } //keeps reading value of is_sunny from user
Now if the user keeps entering "n" as value of is_sunny then the loop keeps repeating. When the user enters any string other than n then the loop breaks. The output of the program is attached.
Answer: Conditional statements are just true false statements
Explanation:
Let's say there's a kpop band burglarizing my house and I have a super AI that detects if a kpop band is my house through cameras. What it would do is change a variable "kpopBandInHouse = False" to True. I would then have an if statement next with a custom function:
if kpopBandInHouse == True:
nukeHouse()
So if the conditional statement is true, it nukes my house. It is false, it does not nuke my house.
The answer is SMTP (Simple Mail Transfer Protocol)
SMTP is a TCP/IP protocol used in sending and receiving emails. This service is usually used with two other protocols, IMAP or POP3. Most email systems nowadays used SMTP to send messages from one server to another. Generally, an SMTP is used to send messages from a mail client to a mail server.