Question: Task 3.8. Programming Problem (need to submit as a part of assignment 1) You are required to produce a text-based form displaying data about a

 Task 3.8. Programming Problem (need to submit as a part of

Task 3.8. Programming Problem (need to submit as a part of assignment 1) You are required to produce a text-based form displaying data about a particular computer. You need to prompt for and input the following values: PC serial number (10 digits and letters, no spaces) User name (as above) Employee name (text including spaces) PC type (S-server, D-desktop, L-laptop, T-tablet, P-phone) Number of cores (a positive non-zero integer) CPU Frequency (in GHz) MAC address (a 16 character HEX value stored as a string) IP address (IPV4 address stored as 4 short ints) Calculate the integer version of the IP address using this equation: IP(integer) ippart-1 * pow (256., 3) + iP part 2 * pow (256., 2) + iP part 3256 + iP part_4 for example, Swinburne's web server at http://136.186.1.10 can also be found at http:1/2293891338 i.e. 136x2563+186x2562+1x256+11 2293891338 the dot. tells the compiler that this number is a floating point type Display the table on the screen using iomanip commands and ASCII characters to match the output shown below. Complete this Data dictionary (plan of identifiers, data types, sample values): variable User name Employee name Serial number Identifier test value swinburne Swinburne 130201nxx5 Number of cores CPU frequency MAC address IPV4 address IP int address 2 3.12 005056C00001 136.186.1.10 Task 3.8. Programming Problem (need to submit as a part of assignment 1) You are required to produce a text-based form displaying data about a particular computer. You need to prompt for and input the following values: PC serial number (10 digits and letters, no spaces) User name (as above) Employee name (text including spaces) PC type (S-server, D-desktop, L-laptop, T-tablet, P-phone) Number of cores (a positive non-zero integer) CPU Frequency (in GHz) MAC address (a 16 character HEX value stored as a string) IP address (IPV4 address stored as 4 short ints) Calculate the integer version of the IP address using this equation: IP(integer) ippart-1 * pow (256., 3) + iP part 2 * pow (256., 2) + iP part 3256 + iP part_4 for example, Swinburne's web server at http://136.186.1.10 can also be found at http:1/2293891338 i.e. 136x2563+186x2562+1x256+11 2293891338 the dot. tells the compiler that this number is a floating point type Display the table on the screen using iomanip commands and ASCII characters to match the output shown below. Complete this Data dictionary (plan of identifiers, data types, sample values): variable User name Employee name Serial number Identifier test value swinburne Swinburne 130201nxx5 Number of cores CPU frequency MAC address IPV4 address IP int address 2 3.12 005056C00001 136.186.1.10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!