Answer:
Bluetooth is a wireless communication is typically limited to six feet distances
Explanation:
Bluetooth is one type of communication maximum it covers 10 meters to 30 meters. but it is one to one communication made for data transactions. After 25 meters of coverage on communication will be very slow on data transactions. But Bluetooth has also had a limitation.
IR. It is one of communication where infrared technology used. It is like face to face communication and speed of data transaction limited and it is also one to one communication made for data transactions. Communication paired and covered very little distances.
NFC it is chip-based and covers very little in fact just to device meet each and communication started. And very it caries very little data during the data transactions. it is also one to one communication made for data transactions
RFID is one of communication and it is powerful to cover more areas with multiple connections at the same time. It has a limitation in distance and it covers like a net with a specific distance
Answer:
#include <iostream>
using namespace std;
int main()
{
float radius = 5.4;
float circumference = 2 * 3.14 * radius;
float area = 3.14 * radius * radius;
cout<<"the circumference of the circle is "<<circumference<<endl;
cout<<"the area of the circle is "<<area<<endl;
return 0;
}
Explanation:
Include the library iostream for using the input/output instructions.
create the main function and define the variable with value. Then,
use the formula to calculate the circumference and are of circle.


here, choose 
after that, display the result.
Note: All variable define in float type.
Answer:
I dont understand this, what is the question?
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.
Answer:
Examples of Fact-finding techniques includes:
-
Prototyping
-
Questionnaires
- Research and sites visit
-
Interviews
Explanation:
It is important to note that a database system is a tool that allows users to define, create, maintain, and control access to a collection of logically related data and description of these data, designed to meet the information needs of an organization.
<u>Prototyping
</u>
<em>Advantage:</em> enables testing and understanding of the system in advance before final implementation of solution, while requiring less time for research.
<em>Disadvantage:</em> Training and Development cost consumes resources.
<u>Research and site visit </u>
<em>Advantage :</em> better time management if the problem has been researched upon before.
<em>Disadvantage:</em> appropriate permission is often needed before using research materials.
<u> Questionnaires
</u>
<em>Advantage: </em>This technique is not expensive, and responses can be calculated and analysed quickly.
<em>Disadvantage:</em> There may be Incomplete answers received from users and body language of user cannot be observed.
<u>Interviews</u>
<em>Advantage:</em> The body language of interviewees is been perceived.
<em>
Disadvantage: </em>Interviewing is time consuming and costly.