Answer:
1. multiplying two numbers when you meant to add them - Logical Error
2. dividing by zero - Compile time error
3. semi colon at the end of a programming statement - Logical error
4. wrong in output - Run time error
5. when you should have typed a - Compile time error
6. producing inaccurate results - Logical error or Run time error
Explanation:
Compile time error is a lack in computer programming which causes to violate the rules which are defined by user in the program.
Run time error produces wrong outputs. It causes lags in the softwares which makes the output inefficient. It even causes programs crash when the output is just seconds away.
Logical error is the situation where programs completes the task assigned but with the wrong syntax. The output is produced with some abnormality.
Answer:
a. Maximum size of file = 8.003 GB
Explanation:
<u>a. Maximum size of file</u>
= (6 * 2 KB) + (2048 * 2 KB) + (2048 * 2048 * 2 KB)
= 12kb + 4096 Kb + 8388608 kb
= 8392716 kb
8392716/1024 mb = 8196.01 MB
8196.01 /1024 GB= 8.003 GB
<u>b. According to above calculation</u>
For 8 GB 6 direct, 1 single and 1 double indirect block requires
so
for 32 GB
24 direct Block
4 single and 4 double indirect block requires
Answer:
This is a python program that counts the number of divisors of a given number and calculates the sum of the divisors.
Explanation:
The first line defines a function "sum_divisors" with an argument "n". The square root of the argument is converted to integer and assigned to the variable "x", then a for loop is used to iterate through the range 2 to the calculated nth number of divisors in the argument.The return keyword returns the sum value.
The function is called with several arguments and printed with the print function.
You can include up to 255 logical conditions in the AND function. This is to test multiple<span> conditions at the same time.
</span><span>The syntax of the AND function is the following: =AND (logical1, [logical2], ...)</span><span>
The AND function can be true (one) and false (null), only one of these two values.
</span><span>The AND function will return #VALUE if no logical values are found or created during evaluation.</span>
Answer:
Explanation:
There are many weaknesses/vulnerabilities, some of which are the following...
Default Network Hardware, many individuals will go out and buy a new router and install it in their home. These devices come with a preset configuration including a preset security password which is many times a default password used for every router of the same model. This can be easily obtained by anyone who can then access the network.
Access Point hacking, an experienced individual can use a packet sniffer to detect the SSID that is frequently sent from the router in order to create an access point to be able to access the network.
WEP encryption is another vulnerability. These are very low security passwords that can be cracked using different software in a short period of time.
These are some of many vulnerabilities that wireless local networks have, but there are also many precautions and security measures that can be taken to prevent them.