Answer:
Explanation:
The sheet name at the footer of the screen gets changed from sheet1 to inventory.
Answer:
(c) A list of words
Explanation:
<em>First let's format the code properly</em>
fin = open('words.txt')
for line in fin:
word = line.strip()
print(word)
<em>Second, let's explain each line of the code</em>
Line 1:
The open() function is a built-in function that takes in, as argument, the name of a file, and returns a file object that can be used to read the file.
In this case, the name of the file is <em>words.txt. </em>Therefore, the variable <em>fin </em>is a file object which contains the content of the file - <em>words.txt</em>
Line 2:
The <em>for </em>loop is used to read in each line of the content of the file object (fin).
Line 3:
Each line of the contents is stripped to remove any trailing and leading white spaces by calling on the <em>strip()</em> function. The result of the strip is stored in the variable <em>word.</em>
Line 4:
The content of word at each of the cycles of the loop is printed to the console.
Therefore, the overall output of the program is a list of words where each word represents a line in the target file (words.txt)
Drag... you drag the mouse across the screen.
I don't know what language you want it in but I will write this in Java.
public int isMultiple(int x, int y) {
if (x % y == 0)
return 1;
return 0;
}
The mod function (%) returns 0 iff x divides y.
Feel free to ask me questions!
Answer:
(C).The level of detail in the fact table in the data warehouse.
Explanation:
Data Granularity is the level of detail of the data stored in the fact table in the data warehouse.If the granularity is high it means that the data which is detailed that is near or at the transaction level . If the granularity is Low it means the data which is summarized or aggregated, usually from the transaction level data.