Answer:
FF-FF-FF-FF-FF-FF and 255.255.255.255
Explanation:
FF-FF-FF-FF-FF-FF can be defined as the layer 2 address broadcast which is often used on ethernet frames as well as help to broadcast all equipment due to the fact broadcast is made possible through Ethernet networks in which the Frames are addressed to reach every computer system on a given LAN segment as far as they are addressed to MAC address FF:FF:FF:FF:FF:FF.
255.255. 255.255 can be seen as the layer 3 address which help to address the exact same hosts because it enables the broadcast address of the zero network which is the local network due to the fact that the IP broadcasts are often used by BOOTP and DHCP clients to find and send requests to their respective servers in which a message sent to a broadcast address may be received by all network-attached hosts.
Therefore the Layer 2 and Layer 3 destination addresses which the message contain are FF-FF-FF-FF-FF-FF and 255.255.255.255
Answer:
13.3%
Explanation:
OEE= Availability × Performance × Quality
Availability = Run Time/ Planned Production Time
Run time = 3*100 = 300 + 0.2* 300 = 1.2 *300 = 360 mins
Planned Production time = 24*60 = 1440 mins
Availability = 360/1440 = 1/4 = 25%..............1
Performance = (Ideal Cycle Time × Total Count) / Run Time
Ideal Cycle Time = 2 min (Only the processing time)
Total Count= 100+20 = 120
Performance = 2*120/360 =66.67% .............2
Quality = 100%-20% = 80%.......3
Frpm 1,2,3
OEE=25% * 66.67 % * 80% =
0.13334=13.3%
Answer:
// Producer Thread
void *producer(void *param) {
buffer_item item;
while (true) {
item = rand() % 100;
sem_wait(&empty);
pthread_mutex_lock(&mutex);
if (insert_item(item))
printf("Can't insert item\n");
else
printf("Producer %d: produced %d\n", *((int*)param), item);
pthread_mutex_unlock(&mutex);
sem_post(&full);
}
}
// Consumer Thread
void *consumer(void *param) {
while (true) {
buffer_item item = NULL;
if (in > 0)
item = buffer[in - 1];
sem_wait(&full);
pthread_mutex_lock(&mutex);
if (remove_item(&item))
printf("Can't remove item\n");
else
printf("Consumer %d: consumed %d\n", *((int*)param), item);
pthread_mutex_unlock(&mutex);
sem_post(&empty);
}
}
Explanation:
An outline of the producer and consumer threads appears as shown above.
The correct answer is 'Form Factor'. The standardized specification of a motherboard ( including it's dimensions, supported power supply types, and layout of components) is know as the motherboard's form factor.
C : to determine error rate