Answer:
Assuming this is in python:
def check_password(password):
correct_password = "qbasic"
if password == correct_password:
return True
else:
return False
def main():
user_input = input("Type in your password: ")
if check_password(user_input):
print("Correct!")
else:
print("Wrong, try again")
main()
Explanation:
Hope this helped :) If it wasn't suppose to be in python, tell me so I can make it in the correct programming language.
Have a good day :)
Answer:
Discretionary Access Control model
Explanation:
Discretionary Access Control (DAC) gives owners of a resource full control of objects/items they have created or been given access to, this also includes sharing the objects/items with other subjects. These owners have control over their data and maintain access through ACLs. The access-control list (ACL), is a list of permissions attached to an object in a computer file system.
The Owners can decide to grant other users access to their files, change their attributes, alter them, or delete them. DACs are discretionary because the owner can transfer information access to other users.
Answer:
"Crowdsourcing" is the correct answer for the above question.
Explanation:
- Crowdsourcing is a term from which any organization advertises the thinks or can get the ideas or solutions for any particular problem.
- It is a term that refers to the problem to the number of solvers to achieve the result correct and frequent.
- For example, If anyone wants to prepare the two websites. Then he assigns the works to the number of people and the works done faster with the help of this.
- The above question states that some websites can be successful with the help of the type of work. They are successful with the help of crowdsourced work. Because it saves time. So the answer is Crowdsourcing.
Answer:
Means no matter how many processors you use, speed up never increase from 10 times.
Explanation:
If a problem of size W has a serial component Ws,then performance using parallelism:
Using Amdahl's Law:
Tp = (W - Ws )/ N + Ws
Here, Ws = .1,
W - Ws = .9
Performance Tp = (.9 / N) + .1
---------------------------------------------------------
Speed Up = 1 / ( (.9 / N) + .1)
If N -> infinity, Speed Up <= 10
Means no matter how many processors you use, speed up never increase from 10 times.