Answer:
you can take guide from
hope this will help you....!
Answer:
Hi!
It is not possible to have a deadlock involving only one process.
Explanation:
Deadlock is only possible if there are multiple processes trying to access the same shared resources. Another way to see it is if you have shared resources only can be a deadlock if multiple processes attempt to use it.
With only one process, you can use shared resources without the risk of fall into deadlock, but you don't have concurrence either.
Static data field - the field is set at the start of the program (if creating a program) and can not be changed, its value will be constant.
<span>Instance data field - can be manipulated by the user, so that its value can be stored: for example you have a data field storing how many hours a person can work in one day, the field will be static as there are always 24h in a day and that can not change. </span>
<span>If you have a second data field storing how many hours a certain employee worked that field will be an instance data field as its values can differ.</span>
Answer:
GIGO is a computer science acronym that implies bad input will result in bad output. Good programming practice dictates that functions should check for valid input before processing it. ... A well-written program will avoid producing garbage by not accepting it in the first place.
Explanation:
Answer:
(a) scope: function, lifetime: duration of the function
(b) scope: function, lifetime: duration of the program
(c) scope: global (all modules), lifetime: duration of the program
(d) scope: module (file), lifetime: duration of the program