3.4 lesson practice quiz edhesive
:
Write a program to check if user inputs "yellow"
Answer:
In Python:
col = input("Enter Color: ")
if col == "yellow":
print("True")
else:
print("False")
Explanation:
This prompts the user for color
col = input("Enter Color: ")
This checks if color is yellow
if col == "yellow":
If true, this prints true
print("True")
If otherwise, this prints false
else:
print("False")
Answer:
UPS is abbreviation of Uninterrupted power supply. It is a battery backup devices useful when major supply is interrupted due to any reason.
It performs the following functions:
1. It provides protection from power surges.
2. Smooth out noisy power sources
Answer:
cyberspace
Explanation:
It is the notional environment in which communication over computer networks occurs.
They will spin in the opposite direction because the belts are twisted.
Answer: inattention, lack of knowledge, and negligence.
Explanation: employees are often the cause of workplace incidents because they may be unknowledgeable about security protocols, negligent, or simply make a mistake.