Answer:
Since no programming language is stated, python will by used.
Explanation:
def isPrime():
#first we ask for a number that will be tested
data= int(input("please enter a number"))
#the next line is where the number will be tested to see if its a prime
if (data>1):
if(data % 2)==1:
print("true")
else:
print("False")
else:
print("Enter a number greater than 1")
isPrime()
Answer:
Which sentence is an example of a constructive I statement? “I think you are lazy; you never complete any work on time.” “I think you handled the problem in a very clever way.” “I feel stupid because I don't speak English well and can't converse with anyone here.”
Explanation:
Answer:
The expression on line 9 required 2 brackets
Explanation:
Given
The attached code
Required
Why syntax error.
The error points to line 10, but the error is actually from line 9
To get an integer input, the syntax is:
variable-name = int(input("Prompt"))
From the attached code, the line 9 is:
amount = int(input("Enter cheese order weight: ")
By comparing the syntax to the actual code on line 9, only 1 of the brackets is closed.
<em>This, in Python 3 is a sytax error</em>
The correct answer is torque.
Torque
A twisting force that tends to cause rotation, commonly used term among mechanics and engineers.
Answer: Layer 3
Explanation:
The layer 3 in OSI model is the network layer which is responsible for routing the packet across the network.
So we need a switch and a router for the LAN and WAN connection and both of them has to support the same protocols at layer 3.