The program that computes the area of a circle is represented as follows:
x = int(input("Write the length of the radius of the circle: "))
area = 3.14 * x**2
print(area)
The code is written in python
<h3>Code explanation:</h3>
- The first line of code ask the user to input the length of the radius. The variable x is used to store the user's input.
- The variable "area" is used to store the arithmetic manipulation of area of a circle.
- Then, we print the variable "area". This will print the actual area of the circle with the particular radius you inputted.
learn more on python program: brainly.com/question/16398286?referrer=searchResults
Answer:
Physical layer is the first layer of OSI model. The detail about physical layer and its parts is given below in explanation section.
Explanation:
The physical layer is the lowest and first layer of the Open Systems Interconnection Model (OSI). The physical layer is used for the transmission of data in bit forms. For transmission of data between devices, it uses the transmission medium that is either wired or wireless.
In the wired cable the component of the psychical layer include cable and connectors that are implemented for carrying data from one place to another or simply to transmit data between two connected devices. The wireless transmission medium is used to transmit data in the form of electromagnetic signals for carrying data into a stream of bits. Over past advancements in networking technologies, rapid growth has been seen in wireless data transmission and Wi-Fi and Bluetooth communication are few names of it.
Components/Parts of Psychical Layer
In the physical layer, the hardware components used it in are the network interface cards, connectors and interfaces, intermediate devices, modems, and cables to facilitate the transmission of data between devices or from source to destination.
- The network interface card (NIC)
NIC is a component installed in the computer to connect it to any available devices over the network.
- Connectors and Interfaces
Connectors and interfaces are used to connect cables that are being used for transmission of data from one source to another. The decision to choose connectors and interfaces depends on the type of cable. Typical examples are RJ-45, RJ-11, V.35, HDMI, etc.
Cables are the physical components of the physical layer that carry optic or electromagnetic signals for transmission of data from source to destination in the network.
The intermediate devices are hubs and repeaters etc. The functions of these devices are to amplify or generate the signal at the intermediate point in a network.
Answer:
is a measurement that defines the sharpness of a display. It measures the distance between the dots used to display the image on the screen. This distance is very small and is typically measured in fractions of millimeters. The smaller the dot pitch, the sharper the picture.
Let's assume a condition where ram is 256 MB and the program size is more than 256 MB
in that case, CPU has to wait for I/O to load the remaining part of the program..in this case
CPU utilization is much poorer.
So adding gives benefit only when your CPU is fast enough to take advantage like if a process waiting for I/O
it can put the current process in the run queue and take another process from the ready queue.
This way a better CPU utilization can be achieved.
So by adding ram we can load more programs while waiting for I/O . CPU utilisation will be better.
here by adding 2GB ram we can load 2048/256 = 8 new process into ram at the same time.
2. if cpu have to execute the cpu bound process that wait for I/O cpu will be idle most of the time while
waiting for I/O to be done..this way CPU utilization will be poorer as compare to earlier.