Answer:
Following are the answer to this question:
x=int(input("Enter number: "))#defining x variable that input value from user end
if x< 0:#defining if block that check x value is less then 0
while x<0:#defining while loop print up to the value
print(x)#print value
x+= 1#add values by 1
elif x>0:#defining elif block to check value x is greater than 0
while x>0:#defining while loop to print down to value
print(x)#print value
x-= 1#subtract value by 1
Output:
when input is a positive value
Enter number: 5
5
4
3
2
1
when input is a negative value
Enter number: -5
-5
-4
-3
-2
-1
Explanation:
- In the given python code, x variable is declared that input the value from the user end, in the next step if and elseif block is declared that calculates and prints its value.
- In the if block, it checks value is negative it uses the while loop to prints its values in the down to value form.
- In the elif block, it checks the positive it uses the while loop to prints its values into the up to values form.
Consider sending a stream of packets from Host A to Host B using Ipsec. Typically, a new SA will be established for each packet sent in the stream. True or False? Tweet Answer FALSE. REASON: Ipsec SA is first connect with Host A and Host B. So, all packets in the stream use the new SA.
Answer:
B. Binary Code
Explanation:
Binary code is the base-2 system used by computers to represent data. Binary code consists of 0's and 1's which can be used to represent states such as on or off; go or no-go and more.
Answer:
- Information services and support
- Programming and software development
- Network systems administration
Explanation:
The company has finished designing a software program, but users aren’t sure how to use it. <u>interactive media</u>
Several people in the human resources department need new software installed. <u>information services and support</u>
An employee has an idea for a software program that can save the company time, but doesn’t know how to write it. <u> programming and software development</u>
A new branch of the company is opening soon, and the computers there need to be connected to the Internet. <u>network systems administration</u>
<u>OAmalOHopeO</u>
Answer:
the answer is d have a nice day
Explanation: i got a 100