Answer:
Correct limitation for Attribute Name and value is option
b: Value and name combined must not exceed 400KB
Explanation:
For amazon dynamo db You can have unlimited attribute per item but one attribute cannot exceed 400 kb in size.400Kb is the limit of an item which can be stored in db.
If bigger data is required to store than data is stored some where and links/url to data are stored in the db.
For Item max size is 64KB
Answer:
Option b. ArrayList‹Integer› = new ArrayList‹Integer›(10) does not correctly declare an ArrayList.
<u>Explanation</u>:
ArrayList in Java dynamically stores elements in it. It also called as re- sizeable array as it expands in size when elements are added and decreases when an element is removed from it. This array list class also allows to use duplicate and null values.
The syntax for creating Array list is as follows
ArrayList<Type> obj = new ArrayList<Type>()
Type specifies the type of ArrayList like Integer, Character, Boolean etc, and obj is the object name. But in the option b ArrayList‹Integer› = new ArrayList‹Integer›(10) object name is missed and not specified.
Answer and Explanation:
To calculate Big O, go through each line of code and determine O(!), O(n) and return your calculation.
For example,
In O (5 +6n), where 6 5 represent five instances of O(1), and 6 represent the 6 O(n).
We compute the time complexity of the algorithm. We get the result, just an estimation. In given algorithms, run time in milliseconds has been provided, such as in T (1) algorithm process in 512 milliseconds and T(2) algorithms process 8129 milliseconds. But big O notation not measured in milliseconds. Information given is not enough to calculate the big O notation.
Try refreshing the page, if not restart your device check your internet etc.
All of them are available