Answer:
(10^6 + 9.9)
Explanation:
Given:
Total number of machine instructions = 1000
Number of page fault in 100 instructions = 1
Number of page faults in 1000 instructions = 10
Time to serve one page fault = 100 milliseconds
Time to serve ten page faults = 100*10 milliseconds = 1000 milliseconds = 10^6 Microseconds
Number of instructions without any page fault = 1000 - 10 = 990
Time required to run 1000 instructions = 10 Microseconds
So, time required to run 990 instructions = (10*(990/1000)) Microseconds = 9.9 Microseconds
So, the total time required to run the program = (10^6 + 9.9) Microseconds
Answer and Explanation:
C is a low level language and does not have classes. The language isn't based on object oriented programming(OOP) but is actually a foundation for higher level languages that adopt OOP like c++. Using c++ programming language we can implement the class, flower, with its three variables/properties and functions/methods since it is an object oriented programming language.
Windows, icons, menus, and pointers does a graphical user interface (GUI) interact with a desktop or laptop computer.
- Windows, icons, menus, and pointers
<u>Explanation:</u>
Graphics user interface (gui) made a big resolution on desktop or laptop or tablet or workstation industries. In olden days till 1994 still, people were using the black and white computer where a desktop consists of keyboard and printer and monitors where display color white and black.
If we open a picture it will display only in black and white so games are in black and white mode. After windows 3.1 we have seen color picture and mouse interface is used. Since technology developed and interface in GUI is also developed improved in windows icon menu and mouse pointer.
As technology developed we going back to a dark mode such as black and white mode.
He should reread and find arcticles about life on the Mississippi River in the 1800s
Answer:
Following are the declaration with the datatypes
int age; // variable age of int types
boolean gender; // variable gender of boolean type
double height; // variable height of double types
int weight; // variable weight of int types
Explanation:
Here we writing a personal program that store the age,gender,height,weight.
age of type integer because age are in integer value.
gender is type of boolean because boolean is return true or false .
height is type of double because height may be in floating value.
weight is type of integer because weight are in integer value.