omg a computer program
i love it
okay so i will assume taht you want the program to be in python
here we go
a = int(input("Enter a number ")
b = int(input("Enter another number ")
sum = a + b
def Digits(sum):
count = 0
while sum != 0:
sum //= 0
count += 1
return count
print(f"Sum is {sum} \nnumber of digits are {Digits(sum)}")
Answer:
informed; consent
Explanation:
According to the ethical computer use policy, users should be informed of the rules and, by agreeing to use the system on that basis, consent to abide by the rules.
the numbers are the size of the letters you type. the ab with the line through it is for marking stuff off of like a list or something. and the one all the way on the right I can't see good enough to tell what it is.
Answer:
There is also an attachment below
Explanation:
Since we are talking about binary search, let's assume that the items are sorted according to some criteria.
Time complexity of binary search is O(logN) in worst case, best case and average case as well. That means it can search for an item in Log N time where N is size of the input. Here problem talks about the item not getting found. So, this is a worst case scenario. Even in this case, binary search runs in O(logN) time.
N = 700000000.
So, number of comparisions can be log(N) = 29.3 = 29.
So, in the worst case it does comparisions 29 times
Answer:
A. Define boundaries
C. Deny access
D. Delay access
Explanation:
A barrier is a material or structure used to prevent or block access. Barriers can either be natural or structural and are used for many purposes usually for security reasons. The following are functions of barriers either natural or structural:
- Define areas of boundaries
- Delay or slow access. Example is the use of speed bumps to slow down vehicles.
- Provide access to entrances such as the use of gates
- Deny access to unauthorized personnel and allowing authorized personnel.