Find Jobs
Hire Freelancers

help me with this C programming ?

$10-30 USD

Closed
Posted about 6 years ago

$10-30 USD

Paid on delivery
What is the purpose of interrupts? What are the typical steps carried out when an interrupt occurs, and after the interrupt is serviced? How does an interrupt differ from a trap? What is the purpose of generating traps intentionally by user programs? What is the purpose of address binding as used by an operating system? Which type of address binding scheme should be employed by an operating system which supports swapping of processes? Why? What is the main difference between Dynamic Loading and Dynamic Linking in terms of the object code image produced by a compiler after a source program written in a highlevel language is compiled? In other words, what is exactly meant by the phrase "The difference between dynamic linking and dynamic loading is such that, in dynamic linking, linking rather than loading, is postponed until execution time." Assume that Contiguous Memory Allocation scheme is followed, and in a particular case there are six empty holes of 250KB, 550KB, 300KB, 140KB, 700KB, and 100 KB scattered throughout the main memory of our system, in the given order, with none of the holes being adjacent to another hole. a) How would the first-fit, best-fit, and worst-fit memory allocation strategies place processes of the following sizes in those holes: 95 KB, 450 KB, 458 KB, 140 KB, and 350 KB (in this given order)? Give the current state of the memory (i.e., which hole holds the assigned process, and the sizes of the remaining holes) after each process is assigned to a hole. You can assume that none of the placed processes are phased out from the memory until all of the processes are placed. b) If you were asked to rank the performance of the three strategies according to their performance on the placement of the above given processes, how would you order them from the best performer to the least performer? Why? Explain and justify your answer. a) Code me a C program which inputs three numbers from the user, and outputs the message "Sorted." if the entered numbers are in ascending order, or outputs the message "Not sorted" otherwise. b) Code me a C program that swaps the contents of two pointer variables to integers. That is, suppose you have two integer variables, number1 and number2; and two pointers to integers, intPtr1 and intPtr2. If intPtr1 pointes to number1, and intPtr2 points to number2 before the swap takes place, then after the swap operation intPtr2 should point to number1, and intPtr1 should point to number2. Make sure that your program displays the numbers pointed to by the pointers before and after the swap operation.
Project ID: 16520342

About the project

4 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $34 USD for this job
User Avatar
hey I did my masters in computer science can we have discuss this , ping me when you avialable , I will help you in this
$40 USD in 1 day
5.0 (1 review)
1.1
1.1
User Avatar
I studied Electronic Engineering, and i have experience in programming, Finished.,______________________________________________________________________________________________________________________________________________________________-___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of TURKEY
istanbul, Turkey
5.0
4
Payment method verified
Member since Mar 19, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.