Answer:
Circumference of drum = 18.86 m
Given:
Diameter of drum = 6 m
Radius of drum = 3 m
Find:
Circumference of drum
Computation:
Circumference of drum is called single rotation
Circumference of drum = 2πr
Circumference of drum = 2[22/7][3]
Circumference of drum = 18.857
Circumference of drum = 18.86 m
Answer:
x = int(input("Enter an integer: "))
y = int(input("Enter another integer: "))
if x > y:
for number in range(y+1, x):
print(number, end=" ")
elif y > x:
for number in range(x+1, y):
print(number, end=" ")
else:
print("There are no integers between {} and {}".format(x, y))
Explanation:
*The code is in Python.
Ask the user to enter the two integers, x and y
Since we want our program to run regardless of which entered value is larger, we need to compare the numbers to be able to create the loop that prints the numbers.
Check if x is greater than y. If it is, create a for loop that iterates from y+1 to x-1 and print the numbers
Otherwise, check if y is greater than x. If it is, create a for loop that iterates from x+1 to y-1 and print the numbers
If none of the previous part is executed, print that there are no integers between
COMPLETE QUESTION
I. public class Test {
public static void main(String[] args){
System.out.println("Welcome to Java!");
}
}
II. public class Test { public static void main(String[] args) {System.out.println("Welcome to Java!");}}
Answer:
Both codes will compile and run and display Welcome to Java, but the code in II has a better style than I
Explanation:
When written codes, paying attention to proper coding styles and efficient memory management enables us to create programs that are highly efficient, coding styles refer to proper indentions and avoiding too lenghty lines of code (as is in code I), adding approprite comments etc.
Answer:
1.) DHCP is sent over the message at UDP.
2.) The address of link-layer is Source: DellComp_4f:36:23 (00:08:74:4f:36:23)
3.) The message type of value to the discover message is 1, but the message type of value to the request packets is 3. This how you can be differentiate two.
4.) The Transaction ID in first four message is 0x3e5e0ce3
The transaction ID in second sets of messages is 0x257e55a3
The transaction ID is identifies if the message is a part of the set of the messages is related to the one transaction
Explanation:
DHCP is stands for the Dynamic Host Configuration Protocol which is the networks management protocol that is used on the UDP/IP networks where by the DHCP servers dynamically assign the IP address and the other networks configuration parameters to the each devices on the network so they can be communicate with the other IP network.
Answer:
55
Explanation:
The xPos variable is set to 55 and they have set the variable in the code for the ellipses in the x position
Hope this helps