Answer:
See my explanations and attachment
Explanation:
Construct an 8k X 32 ROM using 2k X 8 ROM chips and any additional required components. Show how the address and data lines of the constructed 8k X 32 ROM are connected to the 2k X 8 chips.
I tried to solve it but I am not sure if I got the correct answer. Could anyone check my drawing and correct me?
Answer:
=A1<=A14
Explanation:
complex formula in excel is which contain more than 1 mathematical operators . An order of mathematical operations are important to understand
there are different type of operators
- Arithmetic operators
- Comparison operators
- Text operators
- Operators reference
here Comparison operator is an example of complex formula . Comparison operator returns TRUE/FALSE it is use to compare two values
= Equal to
< Less than
> Greater than
>= Greater than or Equal to
<= Less than or Equal to
Answer:
Explanation:
Following are the Semaphores:
Customers: Counts waiting customers;
Barbers: Number of idle barbers (0 or 1)
mutex: Used for mutual exclusion.
Cutting: Ensures that the barber won’t cut another customer’s hair before the previous customer leaves
Shared data variable:
count_cust: Counts waiting customers. ------------copy of customers. As value of semaphores can’t access directly.
// shared data
semaphore customers = 0; semaphore barbers = 0; semaphore cutting = 0; semaphore mutex = 1;
int count_cust= 0;
void barber() {
while(true) { //shop is always open
wait(customers); //sleep when there are no waiting customers
wait(mutex); //mutex for accessing customers1
count_cust= count_cust-1; //customer left
signal(barbers);
signal(mutex);
cut_hair();
}
}
void customer() {
wait(mutex); //mutex for accessing count_cust
if (count_cust< n) {
count_cust= count_cust+1; //new customer
signal(customers); signal(mutex);
wait(barbers); //wait for available barbers get_haircut();
}
else { //do nothing (leave) when all chairs are used. signal(mutex);
}
}
cut_hair(){ waiting(cutting);
}
get_haircut(){
get hair cut for some time; signal(cutting);
}
B. South America
[ignore:20 CHARACTERS]