Answer:
b. typically contain more circuits in the network than in star or ring networks
Explanation:
In mesh architecture, all computers are connected to each other. In mesh all nodes connect directly and non hierarchical to each other so as to efficiently route data.
Mesh combines the benefits of both ring and star networks. It usually provide relatively short routes through the network (compared to ring networks) and provide many possible routes through the network to prevent one circuit from becoming overloaded (as compared to star network). Mesh network uses decentralized routing with each network performing its own routing.
Mesh network typically contain more circuits in the network than in star or ring networks and are more expensive than ring networks
The best and the most correct answer among the choices provided by the question is the first choice. We can infer from the excerpt that <span>Jim felt important enough to place his full name on the mailbox when he enjoyed a higher income. </span>I hope my answer has come to your help. God bless and have a nice day ahead!
Answer:
Following are the program in java is given below
import java.util.*; // import package
public class Main // main class
{
public static void main(String[] args) // MAIN FUNCTION
{
Scanner scan2 = new Scanner(System.in);// scanner CLASS
System.out.println("Enter the Grade ");
char GRADE = scan2.next().charAt(0);//Read input by user
if(GRADE=='A' || GRADE=='B' || GRADE=='C' || GRADE=='D' || GRADE=='F' ) // //CHECK CONDITION
{
System.out.println("The GRADE is :" +GRADE); // display grade
}
else // Else block
{
System.out.println(" Input Error"); // display message
}
}
}
Output:
Enter the Grade
D
The GRADE is :D
Explanation:
Following are the description of program
- Create the object of scanner class for read the value of grade by the user .
- Read the value of "GRADE" variable by using the scanner class object scan 2
- Now check the condition in if block if the "GRADE" is 'A' or 'B' or 'C' or 'D' or 'F' then display the value of the GRADE variable otherwise else block is executed and input error message is displayed .
Answer:
endProgram = "no"
endOrder = "no"
totalBurger = 0
totalFry = 0
totalSoda = 0
total = 0
tax = 0
subtotal = 0
option = 0
burgerCount = 0
fryCount = 0
sodaCount = 0
def resetVariables():
#reset variables
totalBurger = 0
totalFry = 0
totalSoda = 0
total = 0
tax = 0
subtotal = 0
def getBurger():
global burgerCount
burgerCount += int(input("Enter the number of burgers you want: "))
totalBurger =burgerCount * .99
return totalBurger
def getFry():
global fryCount
fryCount += int(input("Enter the number of fries you want: "))
global totalFry
totalFry +=fryCount * .79
return totalFry
def getSoda():
global sodaCount
sodaCount += int(input("Enter the number of sodas you want: "))
global totalSoda
totalSoda +=sodaCount * 1.09
return totalSoda
def calcTotal():
global subtotal
subtotal += totalBurger + totalFry + totalSoda
global tax
tax += subtotal * .06
global total
total += subtotal + tax
return total
def printReceipt(total):
print("Your total is $",round(total, 2))
#Loop to run program again
while endProgram == "no":
resetVariables()
#Loop to take in order
while endOrder == "no":
print("Enter 1 for Yum Yum Burge\nEnter 2 for Grease Yum Fries\nEnter 3 for Soda Yum: \n")
option = int(input("Enter option: "))
if option == 1:
bugertotal = getBurger()
elif option == 2:
frytotal = getFry()
elif option == 3:
sodatotal = getSoda()
endOrder = input("Do you want to end your order? (Enter no to add more items): ")
mytotal = calcTotal()
printReceipt(mytotal)
endProgram = input("Do you want to end the program? (Enter no to process a new order): ")
Explanation:
The python source code displays the menu of a restaurant and the prices of each meal. The module takes multiple orders, calculates and displays the total bill of the order with tax included.