b) we can say race condtion is some situation where 2 or more
process attemps
to use same resource at a time
a race condtion can occurs in many things like with device within
process and
also within threads etc
let us talk by considering threads.
suppose we have 2 threads .and both the threads are modifieng and
accessing same shared resources then the result is definatly
unpredictable and causing some bad sitation
so in order to avoid these there should be a things or race
condtions to avoid this
mutex
semaphores
mutex is something like for example producer consumer are
working on same resouces.
here key is used ..when producer performs any action on resources
uses its key and
and consumer waits until producer performs actions
semaphores:
we can say semaphores is more generalized thing. we can say
shared memory is divided and
producer and cosnumer performs actions on different blocks at same
time
c)
purpose of software security:
purpose of the software security is to make our software protected
from outer attacks .
there are many ways in which software gets attacked .here are some of them
virus
malware
attachks
data stolen
etc
to provide a sucuirty we have many applications like anti virus ,firewall etc
and also some authenitcation algoritms to control acces from
unauthorized persons for
sensitive information in software.
a)short a=-1;
ushort *b= &a;
above both declaration cause error:
diffrenece between short and ushort is short stores from range
of -32768 to 32767, and ushort can be range 0 to
65535
so above declaration cause following error:

comment:
please comment me if required further changes
[2 pts] in decimal, what does b-? a. short a --1 ushort *b &a b-? [2 pts] What conditions are required for a race condition? b. [2 pts] The purpose of software security is? c. [2 pts] in...
Trichotillomania 1. Is there a genetic or race-linked component of this disorder? 2. What is the cause? Is it preventable? 3. Do you know anyone with the condition? If so, how is it being managed? 4. Formulate a nursing care plan for the disorder. a. Assessment findings b. Nursing diagnosis c. Intervention (2) d. Planning-Short term goal (1), Long term goal (1) e. Evaluation
1. Is there a genetic or race-linked component of Nails disorder? 2. What is the cause? Is it preventable? 3. Do you know anyone with the condition? If so, how is it being managed? 4. Formulate a nursing care plan for the disorder. a. Assessment findings b. Nursing diagnosis c. Intervention (2) d. Planning-Short term goal (1), Long term goal (1) e. Evaluation
in 5-6 sentences 1) What is a race condition? Provide an example. 2) What do we mean by a critical section of code? 3) What do we mean by process or thread synchronization?
Answer the Short Question: a. What is "covered interest arbitrage"? b. What is "Fisher-open condition "? c. How does a forward covered investment avoid exchange-rate risk ? d. What is "bid" rate and "ask" rate on a foreign currency ?
What decimal number does the bit pattern 10101100 represent if it is a: [1 pts] unsigned integer? [1 pts] sign-magnitude integer? [1 pts] two's complement integer? What decimal number does the bit pattern 01010011 represent if it is a: [1 pts] unsigned integer? [1 pts] sign-magnitude integer? [1 pts] two's complement integer?
4 Rally-car Tracking [5 marks] You are testing software designed to track race cars as they race around a track, to improve the quality of camera-work in race broadcasts on television. You are in a blimp, high above a speedway. The cabirn of the blimp has a glass floor, and by looking down, you can observe the racetrack below. There is a cair doing a time-trial. The software produces the following parametric equation approximating the position of the car at...
Rally-Car tracking, Part c
4 Rally-car Tracking [5 marks] You are testing software designed to track race cars as they race around a track, to improve the quality of camera-work in race broadcasts on television. You are in a blimp, high above a speedway. The cabin of the blimp has a glass floor, and by looking down, you can observe the racetrack below. There is a car doing a time-trial. The software produces the following parametric equation approximating the position...
1. Solve these recurrence relations:
a.
, Initial condition:
b.
c.
, Initial conditions:
We were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this image
Subject: Software Engineering Question 2) a) What does it mean when we say that. software has “diseconomies of scale “? b) Given an example of as situation in which software is reliable but not correct? c) Give an example of situation in which software is reliable but not robust? Please provide the right solution.
8. What condition or conditions are necessary for rotational equilibrium? (3pts) a. ΣF = 0 b. ΣF = 0, Στ = 0 c. Στ = 0 d. ΣF = 0, ΣF, = 0