Answer:
64 terabytes
Explanation:
Given data:
Size of the disk block = 8 KB
Size required by the pointer to a disk block = 4 bytes
Now,
Size required by 12 direct disk blocks = 12 × 8
Size required by single disk block = 2048 × 8 KB
Size required by double disk block = 2048 × 2048 × 8 KB
size required by triple disk block = 2048 × 2048 × 2048 × 8 KB
Now,
the maximum size of the file that can be stored in the this file system = 12 × 8 + 2048 × 8 KB + 2048 × 2048 × 8 KB + 2048 × 2048 × 2048 × 8 KB = 64 terabytes
Answer:
- #include <iostream>
- using namespace std;
- struct Point{
- double x;
- double y;
- };
- int main()
- {
- Point origin;
- origin.x = 0;
- origin.y = 0;
- return 0;
- }
Explanation:
The solution code is written in C++.
Firstly, we create a data structure Point with two fields, x and y (Line 5 -8).
In the main program, declare an origin object with Point type (Line 12).
Set the x and y fields of origin object to zero using dot syntax (Line 13-14).
Answer:
Vulnerability
Explanation:
Vulnerability is a cyber-security term that refers to a flaw in a system that can leave it open to attack. A vulnerability may also refer to any type of weakness in a computer system itself, in a set of procedures, or in anything that leaves information security exposed to a threat. Vulnerabilities are what information security and information assurance professionals seek to reduce. Cutting down vulnerabilities provides fewer options for malicious users to gain access to secure information.
Answer:
Person
Explanation:
At
Person p = new Person(...);
int m1 = p.getMoney( ); // assignment 1
Person class which is base class for all sub class (Student, Employee and Retired ) creates an object which referenced is stored in p variable, and getMoney() is method which refereed Person's getMoney() method, so Person is the answer of above question