Answer:
Open a file when the program needs to work with it and close the file as soon as you have finished using it.
Explanation:
In programming, we have some files that are stored in memory, or created in some other section of the program to save information.
<u><em>for example</em></u>, we want to save the data of a class or school faculty to create a database. For this purpose I need to create a file.
As the files that we will create may contains data, these files will utilize computer resources such as, memory (RAM, Cache) and other resources. While programming, we need these resources as well.
<em>Therefore, It is necessary to open a file when the program needs to work with it and close the file as soon as we have finished using it. The reason is that, it takes computer resources which are limited. </em>
Answer:
True
Explanation:
The class Math include mathematical functions such as sin(), cos(), tan(), abs(), etc
If the given statement is not written, each of the math function will be written as (take for instance, the sin() function):
<em>Math.sin()</em>
<em></em>
But after the statement has been written (it implies that the Math library has been imported into the program) and as such each of the mathematical function can be used directly.
So instead of <em>Math.sin(), </em>you write <em>sin()</em>
Answer:
Pong
Explanation:
In 1958, a physicist created a tennis game in which he found the very first video game.
Answer:
Segment registers
Explanation:
The initial purpose behind the segment registers was to enable a program to access many distinct (big) memory sections designed to be autonomous and part of a constant virtual store.
They don't have a processor-defined objective, but instead Operating system runs them for purpose. The GS register is used in Windows 64-bit to point to constructions defined by the operating scheme. Operating system kernels usually use FS and GS to access thread-specific memory. In windows, thread-specific memory is managed using the GS register. To access cpu-specific memory, the linux kernel utilizes GS.
Answer:
(B) Home
Explanation:
Echo is an Amazon product.
Home is a smart speaker developed by Google.
Cortana is a product of Microsoft.
HomePod is developed by Apple.
If Henry wants to be connected to his Google account, you would recommend him to buy Home, because it is a Google product.