Answer:
Each variable has a name, a value, and a type. The value might change over time, and that's why its “variable.” Many variables store numbers and strings, like the ones above. Variables can also store other types of data, like lists, dictionaries, and Boolean values
Explanation:
Answer:
Case-based reasoning.
Explanation:
A database management system (DBMS) can be defined as a collection of software applications that typically enables computer users to create, store, modify, retrieve and manage data or informations in a database. Generally, it allows computer users to efficiently retrieve and manage their data with an appropriate level of security.
A data dictionary can be defined as a centralized collection of information on a specific data such as attributes, names, fields and definitions that are being used in a computer database system.
In a data dictionary, data elements are combined into records, which are meaningful combinations of data elements that are included in data flows or retained in data stores.
This ultimately implies that, a data dictionary found in a computer database system typically contains the records about all the data elements (objects) such as data relationships with other elements, ownership, type, size, primary keys etc. This records are stored and communicated to other data when required or needed.
Basically, when a database management system (DBMS) receives data update requests from application programs, it simply instructs the operating system installed on a server to provide the requested data or informations.
Case-based reasoning is a problem-solving technique where each problem in a database is stored with a description and keywords that identify it. It is typically based on cognitive science and artificial intelligence.
Answer:
a. Utilization = 0.00039
b. Throughput = 50Kbps
Explanation:
<u>Given Data:</u>
Packet Size = L = 1kb = 8000 bits
Transmission Rate = R = 1 Gbps = 1 x 10⁹ bps
RTT = 20 msec
<u>To Find </u>
a. Sender Utilization = ?
b. Throughput = ?
Solution
a. Sender Utilization
<u>As Given </u>
Packet Size = L = 8000 bits
Transmission Rate = R = 1 Gbps = 1 x 10⁹ bps
Transmission Time = L/R = 8000 bits / 1 x 10⁹ bps = 8 micro-sec
Utilization = Transmission Time / RTT + Transmission Time
= 8 micro-sec/ 20 msec + 8 micro-sec
= 0.008 sec/ 20.008 sec
Utilization = 0.00039
b. Throughput
<u>As Given </u>
Packet Size = 1kb
RTT = 20ms = 20/100 sec = 0.02 sec
So,
Throughput = Packet Size/RTT = 1kb /0.02 = 50 kbps
So, the system has 50 kbps throughput over 1 Gbps Link.
Answer:
def max_n(arr, n):
arr.sort()
i = len(arr)-n
return arr[i:]
Explanation:
Define a function called max_n that takes two parameters, an array and an integer
Sort the array
In order to get the last n largest values, we need to slice the array. To do that we need a starting point. Our starting point of slicing will be the "lentgh of the array - n". That means, if we start slicing from that index to the last in the sorted array, we will get the last n largest values.
Assume array is 10, 2, 444, 91 initially.
When we sort it, it becomes 2, 10, 91, 444
Now let's say we want last 2 largest values, our sliced array index should start from 2 and go until the end
i = 4 - 2 = 2 → arr[2:] will return us 91 and 444