Answer:
See explaination
Explanation:
#include<iostream>
const int MAX=20;
class dque
{
private:
int arr[MAX];
int front,rear;
public:
dque();
void addqatbeg(char item);
void addqatend(char item);
int delqatbeg();
int delqatend();
void display();
int count();
};
dque::dque()
{
front=rear=-1;
for(int i=0;i<MAX;i++)
arr[i]=0;
}
void dque::addqatbeg(int item)
{
if(front==0&&rear==MAX-1){cout<<"\nDeque is full"<<endl;return;}
if(front==-1){front=rear=0;arr[front]=item;return;}
if(rear!=MAX-1)
{int c=count();int k=rear+1;
for(int i=1;i<=c;i++){arr[k]==arr[k-1];k--;}
arr[k]=item;front=k;rear++;
}
else{front--;arr[front]=item;}
}
void dque::addqatend(int item)
{
if(front==0&&rear==MAX-1){cout<<"\nDeque is full"<<endl;return;}
if(front==-1){front=rear=0;arr[rear]=item;return;}
if(rear==MAX-1){
int k=front-1;
for(int i=front-1;i<rear;i++){k=i;
if(k==MAX-1)arr[k]=0;
else arr[k]=arr[i+1];
}rear++;
arr[rear]=item;
}
int dque::delqatbeg()
{
if(front==-1){cout<<"\nDeque is empty"<<endl;return0;}
int item=arr[front];
arr[front]=0;
if(front==rear)front=rear=-1;
else
front++;
return item;
}
int dque::delqatend()
{
if(front==-1){cout<<"\nDeque is empty"<<endl;return 0;}
int item=arr[rear];
arr[rear]=0;
rear--;
if(rear==-1)front=-1;return item;
}
void dque::display()
{
cout<<endl<<"front->";
for(int i=0;i<MAX;i++)cout<<""<<arr[i];cout<<"<-rear";
}
int dque::count()
{
int c=0;
for (int i=0;i<MAX;i++){if(arr[i]!=0)c++;}
return c;}
}
Answer:
Wired Network Connection
Explanation:
The two major types of connection is <em>Wired</em> and <em>Wireless </em>connection. The wired connection helps to transfer data between two devices using <em>Ethernet network cable</em>. The wireless connection on the other hand transfer data between endpoints using <em>microwave signals or radio frequency</em>.
<em>Wired connection</em> is preferred over <em>Wireless</em> because of interference which could be caused by other networks as well as wall obstructing the connection.
Answer:
It is easy .8 bits.You have to note this
Ay
Fonsi
DY
Oh
Oh no, oh no
Oh yeah
Diridiri, dirididi Daddy
GoSí, sabes que ya llevo un rato mirándote
Tengo que bailar contigo hoy (DY)
Vi que tu mirada ya estaba llamándome
Muéstrame el camino que yo voy (Oh)Tú, tú eres el imán y yo soy el metal
Me voy acercando y voy armando el plan
Solo con pensarlo se acelera el pulso (Oh yeah)Ya, ya me está gustando más de lo normal
Todos mis sentidos van pidiendo más
Esto hay que tomarlo sin ningún apuroDespacito
Quiero respirar tu cuello despacito
Deja que te diga cosas al oído
Para que te acuerdes si no estás conmigoDespacito
Quiero desnudarte a besos despacito
Firmo en las paredes de tu laberinto
Y hacer de tu cuerpo todo un manuscrito (sube, sube, sube)
(Sube, sube)Quiero ver bailar tu pelo
Quiero ser tu ritmo
Que le enseñes a mi boca
Tus lugares favoritos (favoritos, favoritos baby)Déjame sobrepasar tus zonas de peligro
Hasta provocar tus gritos
Y que olvides tu apellido (Diridiri, dirididi Daddy)Si te pido un beso ven dámelo
Yo sé que estás pensándolo
Llevo tiempo intentándolo
Mami, esto es dando y dándolo
Sabes que tu corazón conmigo te hace bom, bom
Sabes que esa beba está buscando de mi bom, bom
Ven prueba de mi boca para ver cómo te sabe
Quiero, quiero, quiero ver cuánto amor a ti te cabe
Yo no tengo prisa, yo me quiero dar el viaje
Empecemos lento, después salvajePasito a pasito, suave suavecito
Nos vamos pegando poquito a poquito
Cuando tú me besas con esa destreza
Veo que eres malicia con delicadezaPasito a pasito, suave suavecito
Nos vamos pegando, poquito a poquito
Y es que esa belleza es un rompecabezas
Pero pa montarlo aquí tengo la piezaDespacito
Quiero respirar tu cuello despacito
Deja que te diga cosas al oído
Para que te acuerdes si no estás conmigoDespacito
Quiero desnudarte a besos despacito
Firmo en las paredes de tu laberinto
Y hacer de tu cuerpo todo un manuscrito (sube, sube, sube)
(Sube, sube)Quiero ver bailar tu pelo
Quiero ser tu ritmo
Que le enseñes a mi boca
Tus lugares favoritos (favoritos, favoritos baby)Déjame sobrepasar tus zonas de peligro
Hasta provocar tus gritos
Y que olvides tu apellidoDespacito
Vamos a hacerlo en una playa en Puerto Rico
Hasta que las olas griten "¡ay, bendito!"
Para que mi sello se quede contigoPasito a pasito, suave suavecito
Nos vamos pegando, poquito a poquito
Que le enseñes a mi boca
Tus lugares favoritos (favoritos, favoritos baby)Pasito a pasito, suave suavecito
Nos vamos pegando, poquito a poquito
Hasta provocar tus gritos
Y que olvides tu apellido (DY)
Despacito
Answer:
Bill is building a project network that involves testing a prototype. he must design the prototype (activity 1), build the prototype (activity 2), and test the prototype (activity 3). activity 1 is the predecessor for activity 2 and activity 2 is the predecessor for activity 3. if the prototype fails testing, bill must redesign the prototype; therefore, activity 3 is a predecessor for activity 1. this is an example of
b. looping
Explanation:
- The given example is of looping because each activity is leading to another activity on the completion of some conditions.
- The answer a is not valid as it is not just an example of conditional statements rather it is a loop which will keep moving until unless reached a situation to end it.
- The option c, d an e are not right options for the given example.