GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

Question 5.Calculate the total shortening that occurs under…

Question 5.Calculate the total shortening that occurs under this load.

Read Details

(Questions 12 and 13) An A-36 Structural Grade steel beam wi…

(Questions 12 and 13) An A-36 Structural Grade steel beam with a length of 12 m is fixed at both ends. Young’s modulus for steel is 200,000 MPa. The temperature increases from 20 deg C to 80 deg C. Table_thermal.png Question 12. Calculate the thermal stress developed in the beam. [Unit: MPa] (Note: No sign is needed)

Read Details

Question 6.Calculate the stiffness of the column.

Question 6.Calculate the stiffness of the column.

Read Details

Priority Scheduling with Round Robin Consider the following…

Priority Scheduling with Round Robin Consider the following set of processes: Process Burst Time Priority P1 5 2 P2 3 1 P3 6 2 P4 4 3 P5 2 1 Assume the time quantum = 2. Which of the following is the correct execution sequence (Gantt order)?

Read Details

Which topic from this course surprised you the most or chang…

Which topic from this course surprised you the most or changed the way you think about how computers work internally? Explain briefly.

Read Details

Why can preemptive scheduling lead to race conditions?

Why can preemptive scheduling lead to race conditions?

Read Details

Considering the code: #include #include #include pthread_…

Considering the code: #include #include #include pthread_mutex_t lock1; pthread_mutex_t lock2; void* thread1(void* arg) { pthread_mutex_lock(&lock1); printf(“Thread 1 acquired lock1\n”); sleep(1); pthread_mutex_lock(&lock2); printf(“Thread 1 acquired lock2\n”); pthread_mutex_unlock(&lock2); pthread_mutex_unlock(&lock1); return NULL; } void* thread2(void* arg) { pthread_mutex_lock(&lock2); printf(“Thread 2 acquired lock2\n”); sleep(1); pthread_mutex_lock(&lock1); printf(“Thread 2 acquired lock1\n”); pthread_mutex_unlock(&lock1); pthread_mutex_unlock(&lock2); return NULL; } int main() { pthread_t t1, t2; pthread_mutex_init(&lock1, NULL); pthread_mutex_init(&lock2, NULL); pthread_create(&t1, NULL, thread1, NULL); pthread_create(&t2, NULL, thread2, NULL); pthread_join(t1, NULL); pthread_join(t2, NULL); pthread_mutex_destroy(&lock1); pthread_mutex_destroy(&lock2); return 0; } What is the MOST likely output?

Read Details

A system is considered to be in a safe state if:

A system is considered to be in a safe state if:

Read Details

In a client-server socket model, which sequence correctly re…

In a client-server socket model, which sequence correctly represents the communication flow?

Read Details

A process has: Arrival Time = 1 ms First CPU Allocation = 4…

A process has: Arrival Time = 1 ms First CPU Allocation = 4 ms Completion Time = 15 ms Burst Time = 9 ms What is the waiting time?

Read Details

Posts pagination

Newer posts 1 … 81 82 83 84 85 … 85,306 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top