Answer:
x = int(input("What grade are you in? "))
if(x == 9):
print("Freshman")
elif(x == 10):
print("Sophomore")
elif(x == 11):
print("Junior")
elif(x == 12):
print("Senior")
else:
print("Not in High School")
Explanation:
A part-time job would provide on-the-job experience while also giving him a flexible schedule competing with school.
Answer:
b
Explanation:
CPU manual provides guides to use a CPU.
Assembler manual provides guide on how to use an assembler and so is the case for compiler.
For a particular machine, it set of instructinos are available with the programmer.
The destination ip address when an ipv4 host sends a DHCPDISCOVER message Because a DHCP client does not have a valid IPv4 address, it must use a broadcast IP address of 255.255. 255.255 as the destination address to communicate with the DHCP server.
<h3>What does the DHCP server do when it receives the Dhcpdiscover message?</h3>
When the lease has expired, the client must start over with the DHCPDISCOVER process. The client ends the lease by sending a DHCPRELEASE message to the DHCP server. The server will then return the client's IP address to the available address pool.
<h3>What is a Dhcpdiscover message?</h3>
The DHCPDISCOVER message contains an identifier unique to the client (typically the MAC address). The message might also contain other requests, such as requested options (for example, subnet mask, domain name server, domain name, or static route). The message is sent out as a broadcast.
To learn more about DHCPDISCOVER, refer
brainly.com/question/14407739
#SPJ4
Answer:
Written in Python
import math
principal = 8000
rate = 0.025
for i in range(1, 11):
amount = principal + principal * rate
principal = amount
print("Year "+str(i)+": "+str(round(amount,2)))
Explanation:
This line imports math library
import math
This line initializes principal amount to 8000
principal = 8000
This line initializes rate to 0.025
rate = 0.025
The following is an iteration from year 1 to 10
for i in range(1, 11):
This calculates the amount at the end of the year
amount = principal + principal * rate
This calculates the amount at the beginning of the next year
principal = amount
This prints the calculated amount
print("Year "+str(i)+": "+str(round(amount,2)))