Answer:
The time elapsed is 0.017224 s
Solution:
As per the question:
Analog signal to digital bit stream conversion by Host A =64 kbps
Byte packets obtained by Host A = 56 bytes
Rate of transmission = 2 Mbps
Propagation delay = 10 ms = 0.01 s
Now,
Considering the packets' first bit, as its transmission is only after the generation of all the bits in the packet.
Time taken to generate and convert all the bits into digital signal is given by;
t =
t = (Since, 1 byte = 8 bits)
t = 7 ms = 0.007 s
Time Required for transmission of the packet, t':
Now, the time elapse between the bit creation and its decoding is given by:
t + t' + propagation delay= 0.007 + + 0.01= 0.017224 s
A type of animated character that represents a user in the virtual world, which is used to move throughout the world and interact with other characters and objects is called an <u>avatar</u>.
<h3>What is an avatar?</h3>
An avatar can be defined as a type of animated character that is designed and developed by a software developer to represent a user or player in the virtual world, which is used to move throughout the world and interact with other characters and objects.
In gaming technology and software development, an avatar is typically used to denote a user's (player's) character in the gaming world, virtual world or computer-simulated environment, either in two-dimensional (2D) or three-dimensional (3D).
Read more on avatar here: brainly.com/question/26479902
Answer:
# include <iostream.h>
# include <stdio.h>
# include <string.h>
using namespace std;
class citizen
{
int i;
public string name[30];
public long int phonenumber[30];
public void addindividual(string name1)
{
If (i<=30)
{ int flag=0;
for(int j=0; j<=i;j++)
{
if (strcmp(name[i], name1)
{
flag=1;
}
else
{
flag=0;
}
}
If (flag)
{
if (i<30)
{
for(j=i+1;j<=30; j++)
{
cout<<"Enter the name:"; getchar(name[j]);
cout<<"Enter the phone number:"; cin>>phonenumber[j];
i++;
}
else
{
cout<<"The person already exists";
exit();
}
}
else
{
cout<<"array is full:";
exit();
}
}
}
Void main()
{
string str;
cout<<" Enter name:";
getline(cin, str); ;
citizen c1=new citizen();
c1.addindividual(name1);
}
Explanation:
With a little more effort you can make the program allow the user to enter any number of details, but less than 30 overall. We have used here flag, and as a programmer we know why we use the Flag. It is used to check whether certain Boolean condition is fulfilled or not. Here, we are checking whether a given name is present in the array of names, and if it is not present, we add that to the list. And if the name is present, we print, it already exist.
Yes because it’s the square size of life