Answer:
The purpose of this act was to reduce workplace hazards and implement more safety and health programs for both employers and their employees.
The storage device which is not a long-term storage device is: D. RAM.
<h3>Types of computer memory.</h3>
In Computer technology, there are two (2) main types of memory or storage location for software program (application) that are being used on a computer and these include the following;
- Read only memory (ROM)
- Random access memory (RAM)
<h3>What is RAM?</h3>
RAM is an abbreviation for random access memory and it can be defined as a volatile and temporary storage (memory) location that is used for currently opened software program (application) and computer data.
In conclusion, we can reasonably and logically deduce that the storage device which is not a long-term storage device is random access memory (RAM).
Read more on RAM here: brainly.com/question/13748829
#SPJ1
Answer:
bool identicaltrees(Node* root1,Node* root2)//function of type boolean true if idenctical false if not.
{
if(root1==NULL&&root2==NULL)//both trees are null means identical.
return true;
if(roo1 && root2)
{
if(root1->data==root2->data)//condition for recursive call..
{
return (identicaltrees(root1->left,root2->right)&&identicaltrees(root1->right&&root2->right);
}
}
else
return false;
}
Explanation:
In this function it of type boolean returns true if both the trees are identical return false if not.First we are checking root node of both the trees if both are null then they are identical returning true.
If both root nodes are not null then checking their data.If data is same then recursively traversing on both trees and checking both trees.
else returning false.
I believe the answer would be the JPEG file extension.
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")