Answer:
The minimum number of different resumes formats that an individual should have prepared is b. 2 The first should be a condensed format. A good resume should only require one page. However, when things get too cramped in a single page, a two-page format can be used. A two-page format can be used to provide more details about yourself.
Explanation:
Answer:
A,D,C,B are the correct answers
Explanation:
Hope this helps:)
Answer: In operating system a code segment which accesses some shared variables or resources one at a time atomically such other no other code or process is accessing that resource or variable at the same time.
Entry section code block allows the access to the shared resource or variable and exit section code signals the termination from access to the shared resource or variable.
Explanation:
Entry and exit section codes needs to check certain properties before allowing the access and removal of access to a particular code segment.
These conditions are:
1. Bounded waiting.
2. Mutual exclusion.
3. checking thread execution status to allows other threads to enter the critical section (CS).
Answer: a)Purchased from a vendor and gives you the right to use the software but is not yours to own.
Explanation: Proprietary software is the software that can be used by the user but it has copyright of the vendor/holder in any case.There are some certain condition under which the user can use this software.The distribution of the software is not permitted in this case. No modification or manipulation can be done by the user.
Other options are incorrect because it is not free as its purchased from vendor ,not freely available rather guided by owner and can be used over certain period of time.Thus , the correct option is option(a).
Answer:
def main():
# Accept data from the user
n=int(input('Enter the value of n:'))
k=2;
sum=0
print('The list of the prime numbers are as follows:')
# This loop runs from k to n
while k<=n:
# Call is_prime() method,
# to check whether k is a prime or not
sum=sum+is_prime(k)
k=k+1
print('Sum of the prime numbers:',sum)
# is_prime() Method
def is_prime(k):
prime=0
i=1
# Check k is a prime or not
while i<=int(k):
# Find the factors of k
if (k % i) == 0:
prime=prime+1
i=i+1
# If k as two factors
if(prime==2):
print(k)
return k;
# If k as more than two factors
else:
return 0;
# Call the main() method
main()
Explanation: