Answer:
Option a: a sorted array
Explanation:
Since the expectation on the data structure never need to add or delete items, a sorted array is the most desirable option. An array is known for its difficulty to modify the size (either by adding item or removing item). However, this disadvantage would no longer be a concern for this task. This is also the reason, linked list, binary search tree and queue is not a better option here although they offer much greater efficiency to add and remove item from collection.
On another hand, any existing items from the sorted array can be easily retrieved using address indexing and therefore the data query process can be very fast and efficient.
Answer:
n=5
Explanation:
if n= 5
i. n/5=5/5=1 so it divides completely the remainder is 0
ii. 97 - 6(5) = 97 - 30 = 67, 67 is a prime number.
Answer:
A game is built from a combination of sub-tasks in order to provide the best experience to the user and make sure that the interface is comprises of only the results of the ongoing sub-tasks to provide a higher degree of data abstraction.
Data abstraction refers to the process of representing the essential information without including the background details. Rolling a dice is preferred to be a sub-task so that the user only gets to know about the result of the roll and does not have to wait for or anticipate the result. Moreover, a game may consist of n number of sub-tasks so it is not a good idea to include them in the main framework and are preferred to be abstracted.
What are the type groups?
Choices for the question are not given to select from, but the answer is obvious and unique so it is given below.
Answer:
border-color: grey, black, black, grey;
Explanation:
For making the colored borders on a web page, the property border-color of used. It has 1 to 4 elements/values (as needed) to color the borders. The order of the borders (elements) is given below:
- top
- right
- bottom
- left
Now as explained above these elements can also be three instead of four displaying the colors of first three sides that are top, right and bottom.
Similarly, when one or two elements will be given the color of respective borders will be changed.
Note:
We should first set the border-style (design) property then move towards the color property.
i hope it will help you!