Answer:
Following is the program in Python language
def uniquely_sorted(lst1): #define the function uniquely_sorted
uni_que = [] #creating an array
for number in lst1: #itereating the loop
if number not in uni_que: #check the condition
uni_que.append(number)#calling the function
uni_que.sort() #calling the predefined function sort
return uni_que #returns the unique values in sorted order.
print(uniquely_sorted()([8, 6, 90, 76])) #calling the function uniquely_sorted()
Output:
[6,8,76,90]
Explanation:
Following are the description of the Python program
- Create a functionuniquely_sorted() that takes "lst1" as a list parameter.
- Declared a uni_que[] array .
- Iterating the loop and transfer the value of "lst1" into "number"
- Inside the loop call, the append function .the append function is used for adding the element in the last position of the list.
- Call the predefined function sort(for sorting).
- Finally, call the function uniquely_sorted() inside the print function.
Answer:
c) 2^32 times as many values can be represented.
Explanation:
It's funny, this problem comes from a real-life situation, except it wasn't really foreseen :-) And we will encounter a similar problem in less than 20 years.
The difference in terms of storage capacity from 32-bit integers and 64-bits integers is huge.
A 32-bit integer can store (signed) numbers up to 2,147,483,647. (so over 2 BILLIONS)
A 64-bit integer can store (signed) numbers up to 9,223,372,036,854,775,807 (9 BILLIONS of BILLONS)
Answer:
Option b Internet platforms
Explanation:
Internet is related to network infrastructure and also hardware and software platforms. Without network infrastructure that enable connectivity and communication between computers, the internet platform won't exist. Besides, the network also enable communication and interaction between users and application. And we need specific hardware and software to construct a functional internet service.