Answer:
class Cat:
isHungry = None
play = Cat().isHungry = True
eat = Cat().isHungry = False
if play:
print("I am hungry, I cannot play")
else:
play = Cat().isHungry = False
if eat:
print("I am full, I cannot eat")
else:
eat = Cat().isHungry = True
Explanation:
Just simple if and else statements.
Answer:
Option B: The text field x will have the value "Tiny Tim" and the user will be able to change its value.
Explanation:
- The first statement say: x.setEditable(true);
It will only change the property of the text present in x to editable. This means that whenever the text value needs to change the user can edit it.
- The second statement say: x.setText("Tiny Tim");
It will put the text "Tiny Tim" into the attribute x and present it as the output or result.
Answer:
The correct answer to the following question will be Option B.
Explanation:
<u>Open System interconnection:</u>
- A practical and conceptual layout that describes network communication that will be used by the systems that are accessible to interconnection as well as other systems, is called the OSI model. This may also be referred to as the OSI model with seven layers.
- The OSI model aims to direct developers and creators so that they would modularize with the wireless communication devices and computer programs they build, and to promote a consistent structure that defines the features of a network or telecom system.
Therefore, Option B is the right answer.
One way that computer networks help to protect data is by backing up the data.
Computer networks are normally formatted to automatically back up all of the data that is stored on them. This protects the data in case of any type of computer system failure.
Answer:
Memory
Explanation:
Memory send commands to the CPU . Alternative modes of memory exist, and each one of them plays an essential role in operating a software machine.Memory is commonly called storage. Either the storage is unstable or non-volatile.