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
grigory [225]
4 years ago
10

Evaluate the following expressions.

Computers and Technology
1 answer:
Alenkinab [10]4 years ago
4 0

Answer:

In this question all the expression follow the BOD MAS rule.

Explanation:

The explanation of the given expression can be given as:

In option (a) first we add two number then we subtract.

Answer=31

In option (b) we divide the value (/). it give the Quotient

Answer=1

In option (c) we first divide the value (/) that give the Quotient. then multiply the value and then subtract it.

Answer=-6

In option (d) we first modules the value (%) that give the remainder.Then  subtract it.

Answer=6

In option (e) we divide the value (/). it give the Quotient

Answer=9.2

In option (f) first we done modules then divide and then addition and at the last subtract.

Answer=12

In option (h) first we done modules, second divide, third multiply then addition and at the last subtract.

Answer=-42

In option (i) first solve bracket the divide and multiply.  

Answer=0

In option (j) first divide, second multiply then addition.

Answer=21.75

You might be interested in
When your hands are on home row, your left hand rests lightly on _____. J K L ; A S D F Z X C V Q W E R'
Viktor [21]

your hands sould rest on A S D F, H J K L.

7 0
3 years ago
State reasons why new version of application packages are released often?​
Jlenok [28]

- To add new features

- To fix bugs

- To combat security vulnerabilities

- To keep customers engaged by showing the application is still maintained

7 0
3 years ago
Read 2 more answers
Write a multithreaded program that generates the Fibonacci series using Pthreads thread library. This program should work as fol
Mamont248 [21]

Answer:

#include <pthread.h>

#include <stdio.h>

#include <stdlib.h>

pthread_mutex_t mutex;

int fib[10]; /* this data is shared by the thread(s) */

int in = 0;

void *genFibo(void *param); /* the thread */

int main(int argc, char *argv[])

{

   pthread_attr_t attr;  

   if (argc != 2) {

   fprintf(stderr,"usage: fibthread <integer value>\n");

   return -1;

   }

   int count = atoi(argv[1]);

   if (count < 1) {

   fprintf(stderr,"%d must be>= 1\n", count);

   return -1;

   }

   pthread_attr_init(&attr);

   // Mutex Lock

   pthread_mutex_init(&mutex, NULL);

   // each thread computes fibonacci

   for(int i = 1;i <= count;i++) {

   pthread_t thread;

   pthread_create(&thread, &attr, genFibo, (void*)i);

   pthread_join(thread, NULL);    

   }    

   // print resulting array

   for (int i = 0; i < in;i++) {

   printf("%d ", fib[i]);

   }

   printf("\n");

   pthread_mutex_destroy(&mutex);

}

void *genFibo(void *param)

{

   pthread_mutex_lock(&mutex);

   fib[in++] = fibonacci((int)param);

   pthread_mutex_unlock(&mutex);

   pthread_exit(0);

}

int fibonacci (int x)

{

   if (x <= 1) {

   return 1;

   }

   return fibonacci(x-1) + fibonacci(x-2);

}

4 0
4 years ago
HELP
Aleks [24]

Answer:

If a good friend comes to me for advice in pursuing a music career. With my knowledge of digital technology and the performing

arts, my advice to use digital technology to help build her career by <u>Delivering service to clients .</u>

Explanation:

<u>There were several reasons for this: </u>

• Being able to access work platforms and resources removed the need to travel back

to office bases because remote access allowed the completion of administrative

tasks where the practitioner was working.

• Working with clients in rural and isolated areas can prove difficult in terms of meeting

clients face to face and digital solutions helped to resolve this. This is because more

clients can be seen remotely than when practitioners must travel to see them.  

8 0
3 years ago
Lines, block arrows, stars, and banners are examples of which of the following
bija089 [108]

Answer:

Lines, block arrows, stars and banners are examples of which of the following is smart art graphic

7 0
3 years ago
Other questions:
  • Which trait depicts honesty?
    10·1 answer
  • . When a system isdelivered over time, with each delivery (release) adding tothe
    5·1 answer
  • if an open cut or wound is exposed to contamination washing it in hot water and hand soap is not sufficient to keep safe
    14·2 answers
  • 9.2 code practice edhesive
    14·1 answer
  • We all had the unfortunate experience of seeing how computers can, at times, make life's journey about more difficult. This is e
    13·1 answer
  • Write a recursive function that calculates the sum 11 22 33 ... nn, given an integer value of nin between 1 and 9. You can write
    10·1 answer
  • The ______________<br> holds data only while the computer is on.
    7·1 answer
  • Consider the following code segment:
    12·1 answer
  • What are two reasons why a switch port would have a status of errdisable? (choose two. )
    14·1 answer
  • Explain employment opportunities in the networking field 
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!