Answer:
#read value of name
name=input("Enter name:")
#find and ptint the last character of the string
print("last character of string is:",name[-1])
Explanation:
Read a string from user and assign it to variable "name".Find its last character as "name[-1]". Since name is character array,so name[-1] will give the last character of the array.
Output:
Enter name:Smith
last character of string is: h
Answer: False, the "A" in the CIA triad stands for <em>availability</em><em>.</em>
The CIA triad also know as the Confidentiality, integrity and availability triad, is known as a model which is designed in order to implement and enforce policies in regards to information security. This model is also referred as the availability, integrity and confidentiality model i.e AIC triad. This is done in order to avoid confusion with Central Intelligence Agency i.e. CIA.
Answer:
Explanation:
The constant function is useful in algorithm analysis, because it characterizes the number of steps needed to do a basic operation on a computer, like adding two numbers, assigning a value to some variable, or comparing two numbers. Executing one instruction a fixed number of times also needs constant time only.
Answer:
true
Explanation:
the derivative of lnx is 1/x and 1/x is and odd function because x^-1 is raise to a negative odd number