Answer:
1) List
2) Dictionary
3) Tuple
Explanation:
A list uses square brackets. It is used to store multiple items in just one variable. They are usually changeable and give room for duplicates. You use append to add to the collection.
A dictionary uses curly brackets. You use update to add to the collection. A dictionary is created by placing the elements in curly brackets and separating them with a comma. It is changeable and it does not give room for duplicates.
A tuple uses parentheses. You cannot change it once you create it. It is an ordered list of elements that is finite and can also store multiple items in one variable.
(A) Yes, because nobody is supposed to access non-work related sites during office hours.
Answer:
Syntax:
For variable_name As [Data Type] = start To end [ Step step ]
For variable_name As [Data Type] = start To end [ Step step ]
[ inner loop statements ]
Next.
[ Outer loop statements ]
Next.
Explanation:
Answer:
The answer is "option B".
Explanation:
In the given code, four double variable "len1, len2, len3, and total" is declared, in which the first three variables accept some value, and in the total variable, we add those variable. In the next step, an integer variable minLength is defined, which converts the decimal value to an integer and adds the value that is "0.5". In this section, the code uses as an intended purpose but only if the total of 3 lengths is equivalent to or larger then 0.5, and wrong choices can be described as follows:
- In option A, It accepts the negative value, that's why it is wrong.
- Option C, Option D, and Option E all were wrong because the code segment is work as intended.
Answer:
The inline-block transforms the element to generate a block of box type which is laid out like an inline box. And in QuirksMode, the inline-block is being placed inline which is on the same line where the other content lies, however, it acts as a block. And the inline-block elements are quite the same as the inline element though you can have the padding as well as the margins that can be added on all the four sides. This is the only difference though, you will have to mention in the CSS code display:inline-block. They are very commonly used to make the horizontal navigation link.
Explanation:
Please check the answer section.