Answer:
def encrypt_digit(digit):
if type(digit) is int or float:
digit = str(digit)
hold = list()
for x in digit:
d = str((int(x) + 3)%10)
hold.append(d)
first = hold.pop(0)
second = hold.pop(0)
third = hold.pop(0)
fourth = hold.pop()
print(int("".join([third,fourth, first, second])))
encrypt_digit(7836)
Explanation:
The python function accepts a four-digit parameter which represents the data transmitted over the company's telephone network. The function encrypts the data by adding 3 to each digit and getting the modulus of division 10, then the digits are swapped and printed out encrypted and ready for transmission.
Answer:
A. the museum can choose a heuristic approach which will achieve a lossless compression, but they cannot be sure that it is the most efficient compression for each image
C. algorithms for lossless compression exist, so the museum can use those to compress the image
Explanation:
Answer:
The use case diagram is attached.
Explanation:
Create a set of use cases for the following health club membership system:
When members join the health club, they pay a fee for a certain length of time. Most memberships are for one year, but memberships as short as two months are available. Throughout the year, the health club offers a variety of discounts on its regular membership prices (e.g., two memberships for the price of one for Valentine's Day). It is common for members to pay different amounts for the same length of membership. The club wants to mail out reminder letters to members asking them to renew their memberships one month before their memberships expire. Some members have become angry when asked to renew at a much higher rate than their original membership contract, so that the clubwants to track the price paid so that the manager can override the regular prices with special prices when members are asked to renew. The system must track these new prices so that renewals can be processed accurately. One of the problems in the healthclub industry is the high turnover rate of members. While some members remain active for many years, about half of the members do not renew their memberships. This is a major problem because the health club spends a lot in advertising to attract each new member. The manager wants the system to track each time a member comes into the club. The system will then identify the heavy users and generate a report so that the manager can ask them to renew their memberships early, perhaps offering them a reduced rate for early renewal. Likewise, the system should identify members who have not visited the club in more than a month so that the manager can call them and attempt to reinterest them in the club.
The use case diagram is attached.
Answer:
Explanation:
It aims to transform the entire ecosystem of public services through the use of information technology.ICT holds particular promise in areas of governance and public participation. Age can use information to reduce corruption and increase government transparency, accountability, efficiency and so finally gud night guys and take care.
plz mark as brainliest
Answer: One occurrence of the object
Explanation:
The instance of the object is the one occurrence of an object in the given class. The common statement of an object with respect to the instance means that there is single occurrence of an object.
When the process run at each time it is known as instance of program given specific values and variables. An instance of the object is also known as class instance.
It is basically defined as specific realization in an object and also the object varies in different number of the ways in the object oriented programming (OOPs).