I think it’s a
if it isn’t a then it’s d
<h2>
Answer:</h2>
Authorization specifies what a user can do, and access control enforces what a user can do.
<h2>
Explanation:</h2>
Authorization is simply granting access to an authenticated user of an application. It specifies what a user can and/or cannot do. For example, for a user to access their banking details in an online banking service, they have to be authorized by first authenticating them to prove their identity. Another example is in an organizational system where some users (normally called admins) can access certain database info whereas some other users (normally called the regular users) cannot.
Access control is used to enforce the policies dictated by authorization. In other words, access control enforces the policy of what a user can and/or cannot do. Access control makes authorization possible. It is sometimes called privileges or permissions. For example, the <em>security tab </em>in the operating system of Windows, allow to set access privileges for certain files and/or folders. Another example is in an organizational system where some files on the organization's server are configured in such a way that access to it is restricted and dependent on some further authorization.
Answer:
Following are the code to this question:
def capital(val):#defining a method that takes string value as parameter
x=True#defining boolean variable
r=''#defining string variable
for i in val:#defining loop to convert the first character into upper case
if i.isalpha() and x:#defining condition to check input value is string
r=r+i.upper()#change value into uppercase and hold value in r variable
x=False#assign value false in boolean variable
elif i=='.' or i=='?' or i=='!':#check symbols
r=r+i#add value in r variable
x=True#assign value True in boolean variable
else:
r=r+i#add all value in r variable
return r#return r variable value
val=input()#input value in val variable
print(capital(val))#called the function which print the return value
Output:
please find the attachment.
Explanation:
- In the above python program, a method "capital" is declared, which accepts a "val" a string value in its parameter, and inside the method one boolean "x" and one string "r" variable is used, in which r stores return value.
- In the next step, for loop is declared, inside the loop, the conditional statement is used, in if the block it checks string value and converts the first character into upper case and assigns value false in the boolean variable.
- In the next step, elif block is defined that adds value in r variable and at the last, it will return function value, at the last step "val" variable is declared that input value from the user and pass into the method and print its return value.
The answer is performing arithmetic and logical operations
I can not understand your question, about it. What is homework of Gustavo working in, Visual or Dev C++ with any language?