Answer:
#include <stdio.h>
#Include<iostream>
using namespace std;
//Define required function
PersonalInfo( )
{
printf("Name : Robert Josh\n");
printf("DOB : July 14, 1975\n");
printf("Work Phone : 00-00000000\n");
printf("Cell Phone : 11-777777777\n");
return(0);
}
int main()
{
//Call function
PersonalInfo( );
return 0;
}
Explanation:
Its just a simple code to print required details when the function PersonalInfo is called.
Answer:
19.71 ms
Explanation:
The disk rotates at 3600 rpm, hence the time for one revolution = 60 / 3600 rpm = 16.67 ms.
Hence time to read or write on a sector = time for one revolution / number of sectors per track = 16.67 ms / 32 sectors = 0.52 ms
Head movement time from track 8 to track 9 = seek time = 2 ms
rotation time to head up sector 1 on track 8 to sector 1 on track 9 = 16.67 * 31/32 = 16.15 ms
The total time = sector read time +head movement time + rotational delay + sector write time = 0.52 ms + 2 ms + 16.15 ms + 0.52 ms = 19.19 ms
Answer:
The purpose of information management is to: design, develop, manage, and use information with insight and innovation. support decision making and create value for individuals, organizations, communities, and societies.
Explanation:
Answer:
Option D
Explanation:
Artificial intelligence is a technology where the information gathered in the past is processed for the future actions.
Here, based on the preferences of customer in the past and purchase history, AI can suggest the customer new products and services
Hence, option D is correct
Answer:
1)
officeAC = new AirConditioner();
officeAC.turnOn();
2)
officeAC = new AirConditioner();
officeAC.turnOn();
officeAC.setTemp(69);
Explanation:
1)
In the first statement a new object of the class AirConditioner whose reference is assigned to the officeAC. new is a keyword which creates an object of the class.
Next statement uses the method turnOn(). Reference to the new object officeAC is used to invoke this method turnOn().
2) The first two statements works the same as in 1)
The last statement invokes a method setTemp() using the reference variable and passes the value 69 to this method to set the desired temperature.