1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
horrorfan [7]
3 years ago
15

In the following code, determine the values of the symbols here and there. Write the object code in hexadecimal. (Do not predict

the output). BR there Here: .Word 9 there: DECO here, d stop . end.
Engineering
1 answer:
allsm [11]3 years ago
4 0

Answer:

Answer explained below

Explanation:

The value of here is 9

The value of there is hexadecimal value of DECO here, d = 0x39 aaaa (aaaa is the memory address of here )

We have the object code :-

let's take there address is 0x0007

0x0005 BR there :- 0x120020

0x0007 here: .WORD 9

310003 there: DECO here,d - 0x390007

310005 STOP

.END

You might be interested in
What did August Comte contribute to sociology including positivism
Travka [436]

Answer:

Auguste Comte was the first to develop the concept of "sociology." He defined sociology as a positive science. Positivism is the search for "invariant laws of the natural and social world." Comte identified three basic methods for discovering these invariant laws, observation, experimentation, and comparison.

Explanation:

I hope it's help u :)

4 0
3 years ago
CS3733: Homework/Practice 05 Suppose we would like to write a program called monitor which allows two other programs to communic
valina [46]

Answer:

#include<stdio.h>

#include<stdlib.h>

#include<unistd.h>

#include<sys/types.h>

#include<string.h>

#include<pthread.h>

//#include<sys/wait.h>

int main(int argc, char** argv)

{

int fd1[2];

int fd2[2];

int fd3[2];

int fd4[2];

char message[] = "abcd";

char input_str[100];

pid_t p,q;

if (pipe(fd1)==-1)

{

 fprintf(stderr, "Pipe Failed" );

 return 1;

}

if (pipe(fd2)==-1)

{

 fprintf(stderr, "Pipe Failed" );

 return 1;

}

if (pipe(fd3)==-1)

{

 fprintf(stderr, "Pipe Failed" );

 return 1;

}

if (pipe(fd4)==-1)

{

 fprintf(stderr, "Pipe Failed" );

 return 1;

}

p = fork();

if (p < 0)

{

 fprintf(stderr, "fork Failed" );

return 1;

}

// child process-1

else if (p == 0)

{

 close(fd1[0]);// Close reading end of first pipe

 char concat_str[100];

 printf("\n\tEnter meaaage:"):

 scanf("%s",concat_str);

 write(fd1[1], concat_str, strlen(concat_str)+1);

 // Concatenate a fixed string with it

 int k = strlen(concat_str);

 int i;

 for (i=0; i<strlen(fixed_str); i++)

 {

  concat_str[k++] = fixed_str[i];

 }

 concat_str[k] = '\0';//string ends with '\0'

 // Close both writting ends

 close(fd1[1]);

 wait(NULL);

//.......................................................................

 close(fd2[1]);

 read(fd2[0], concat_str, 100);

 if(strcmp(concat_str,"invalid")==0)

 {

 printf("\n\tmessage not send");

 }

 else

 {

  printf("\n\tmessage send to prog_2(child_2).");

 }

 close(fd2[0]);//close reading end of pipe 2

 exit(0);

}

else

{

 close(fd1[1]);//Close writting end of first pipe

 char concat_str[100];

 read(fd1[0], concal_str, strlen(concat_str)+1);

 close(fd1[0]);

 close(fd2[0]);//Close writing end of second pipe

 if(/*check if msg is valid or not*/)

 {

  //if not then

  write(fd2[1], "invalid",sizeof(concat_str));

  return 0;

 }

 else

 {

  //if yes then

  write(fd2[1], "valid",sizeof(concat_str));

  close(fd2[1]);

  q=fork();//create chile process 2

  if(q>0)

  {

   close(fd3[0]);/*close read head offd3[] */

   write(fd3[1],concat_str,sizeof(concat_str);//write message by monitor(main process) using fd3[1]

   close(fd3[1]);

   wait(NULL);//wait till child_process_2 send ACK

   //...........................................................

   close(fd4[1]);

   read(fd4[0],concat_str,100);

   close(fd4[0]);

   if(sctcmp(concat_str,"ack")==0)

   {

    printf("Messageof child process_1 is received by child process_2");

   }

   else

   {

    printf("Messageof child process_1 is not received by child process_2");

   }

  }

  else

  {

   if(p<0)

   {

    printf("Chiile_Procrss_2 not cheated");

   }

   else

   {

     

    close(fd3[1]);//Close writing end of first pipe

    char concat_str[100];

    read(fd3[0], concal_str, strlen(concat_str)+1);

    close(fd3[0]);

    close(fd4[0]);//Close writing end of second pipe

    write(fd4[1], "ack",sizeof(concat_str));

     

   }

  }

 }

 close(fd2[1]);

}

}

8 0
4 years ago
Question 2 (Multiple Choice Worth 3 points)
ololo11 [35]

Answer:

the car to the right

Explanation:

its in the name the RIGHT of way hope it helps good luck

6 0
3 years ago
What are some common work contexts for Licensing Examiners and Inspectors? Select four options.
Akimi4 [234]

According to O*NET, the common work contexts for Licensing Examiners and Inspectors include:

  1. Telephone
  2. Face-to-face discussions
  3. Contact with others
  4. Importance of being exact or accurate.

O*NET is an acronym for occupational information network and it refers to a free resource center or online database that is updated from time to time with several occupational definitions, so as to help the following categories of people understand the current work situation in the United States of America:

  • Workforce development professionals
  • Students
  • Human resource (HR) managers
  • Job seekers
  • Business firms

On O*NET, work contexts are typically used to describe the physical and social elements that are common to a particular profession or occupational work. Also, the less common work contexts are listed toward the bottom while common work contexts are listed toward the top.

According to O*NET, the common work contexts for Licensing Examiners and Inspectors include:

1. Telephone

2. Face-to-face discussions

3. Contact with others

4. Importance of being exact or accurate.

Read more on work contexts here: brainly.com/question/22826220

6 0
3 years ago
Read 2 more answers
The size of Carvins Cove water reservoir is 3.2 billion gallons. Approximately, 11 cfs of water is continuous withdrawn from thi
Zolol [24]

Answer:

471 days

Explanation:

Capacity of Carvins Cove water reservoir = 3.2 billion gallons i.e. 3.2 x 10˄9 gallons

As,  

1 gallon = 0.133 cubic feet (cf)

Therefore,  

Capacity of Carvins Cove water reservoir in cf  = 3.2 x 10˄9 x 0.133

                                                                         = 4.28 x 10˄8

 

Applying Mass balance i.e

Accumulation = Mass In - Mass out   (Eq. 01)

Here  

Mass In = 0.5 cfs

Mass out = 11 cfs

Putting values in (Eq. 01)

Accumulation  = 0.5 - 11

                         = - 10.5 cfs

 

Negative accumulation shows that reservoir is depleting i.e. at a rate of 10.5 cubic feet per second.

Converting depletion of reservoir in cubic feet per hour = 10.5 x 3600

                                                                                       = 37,800

 

Converting depletion of reservoir in cubic feet per day = 37, 800 x 24

                                                                                         = 907,200  

 

i.e. 907,200 cubic feet volume is being depleted in days = 1 day

1 cubic feet volume is being depleted in days = 1/907,200 day

4.28 x 10˄8 cubic feet volume will deplete in days  = (4.28 x 10˄8) x                    1/907,200

                                                                                 = 471 Days.

 

Hence in case of continuous drought reservoir will last for 471 days before dry-up.

8 0
3 years ago
Other questions:
  • Effect of feedback on the plant is to a) Control system transient response b) Reduce the sensitivity to plant parameter variatio
    15·1 answer
  • . A roadway is being designed capable of allowing 70 mph vehicle speed. The superelevation around one curve is 0.05 inches per i
    15·1 answer
  • An organization is struggling to differentiate threats from normal traffic and access to systems. A security engineer has been a
    12·1 answer
  • A package is thrown down an incline at A with a velocity of 1 m/s. The package slides along the surface ABC to a conveyor belt w
    13·1 answer
  • 12 times the square root of 8737
    13·1 answer
  • Place these events in chronological order. Put the numbers 1-6 next to the<br> events.
    15·1 answer
  • If you are a subcontractor in the leather and apparel industry, you might make any of the following items EXCEPT which
    7·1 answer
  • Why is personal development necessary based activity success life and career​
    11·1 answer
  • 7. True or False? The positive effects of a new<br> technology always outweigh its negative effects.
    9·2 answers
  • What are the disadvantages of military shovels?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!