Answer:
Program for the above question in python:
mass = float(input("Enter the mass in grams")) # It is used to take the mass as input.
density = float(input("Enter the density grams per cm cube")) # It is used to take the input for the grams.
print("Volume ={:.2f}".format(mass/density)) #It is used to print the Volume.
Output:
- If the user inputs as 2.98 and 3.2, then it will results as 0.92.
Explanation:
- The above code is in python language, in which the first statement is used to take the inputs from the user for the mass and sore it into a mass variable.
- Then the second statement also takes the input from the user and store it into a density variable.
- Then the third statement of the code is used to print the volume up to two places using the above-defined formula.
Answer:
IP address and subnet mask.
Explanation:
The two components which are configured via software in order for a personal computer (PC) to participate in a network environment are;
I. IP address: it is an acronym for internet protocol address and can be defined as a unique number assigned to a computer or other network devices, so as to differentiate each device from one another in an active network system. Thus, an IP address is typically used to uniquely identify each computer or network devices connected to the internet or network.
In Computer networking, IP address are classified into two (2) main categories and these are; Local (internal) IP address and Global (external) IP address.
Also, the internet protocol (IP) address comprises of two (2) versions and these are; Internet protocol version 4 (IPv4) and Internet protocol version 6 (IPv6). An example of an IPv4 address is 192.168.1.0.
II. Subnet mask: this is a logical segmentation or subdivision of an internet protocol (IP) network so as to accommodate more hosts (computer systems). An example of a subnet mask is 255.255.0.0.
Answer:
<h3>ITS DEPENDS IF I'M INTERESTED</h3>
Explanation:
HBU?^_________^
Answer: keeps confidential documents secure,
displays a GUI, allocates the computer's resources, and retrieves files
Explanation:
The operating system can be defined as the software installed in the system that provides the information and services to the users by controlling the hardware, software resources, and regulates the computer programs. It runs the applications and programs in the system, displays the graphic user interface for the services, stores, manipulates, and retrieves files. It prevents the unauthorized access to the data and programs by using passwords thus provides the security to the system and documents.
Answer:
1GL: Machine language. Represented by a series of 1s and 0s.
2GL: Assembly language. An assembler converts 2GL into machine language.
3GL: High-level programming language. Uses a compiler to convert into machine language.
4GL: Specifically designed for creating database management programs.
5GL: Extremely advanced. Uses statements (scripts) rather than algorithms.
Explanation:
Programming languages started as a series of binary digits (i.e. 0's and 1'). This generation of language is referred to as the first generation.
However, the machine language were difficult to read by human, so mnemonics were created (i.e. assembly language). This language uses symbolic codes such as ADD for addition, etc. This is the second generation
The third generation are the high level languages that uses languages that can be easily understood by human, e.g. + means plus. However, the language must be translated; hence the need for a compiler or interpreter, as the case may be.
The fourth and fifth generations are extensions of the third generation languages. The fourth were created to connect to DBMS while the fifth are more advanced.