Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please need asap and do in C not in Java or C# please read the question and answer. Don't answer the wrong one. Application Screens

Please need asap and do in C not in Java or C# please read the question and answer.

Don't answer the wrong one.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Application Screens Your program must be able to output the following screens 1. Main menu screen This screen appears when the users first start the application. There are two different options, as shown in the following figure. Pressing 1 to run the calculator or 2 to terminate the application. II 1111111 ILLI !!!!! === Main Menu === Enter 1: To Run The Calculator Enter 2: To Exit The Program Please Select An Above Option: If the users enter any other characters rather than the listed numbers, display the warning message to allow them to re-enter their key. === Main Menu Enter 1: To Run The Calculator Enter 2: To Exit The Program Please Select An Above Option: f Your chosen option is not listed, please try again: g Your chosen option is not listed, please try again: 2. Calculator screen This screen appears when the users pick the first option in the main menu. They can press the number 2 key to go back to the main menu or number 1 to start generating the matrix. . Machine Learning Layer Calculator Enter 1: To Generate The Matrix Enter 2: To Go Back To The Main Menu Please Select One Of The Above Options: If the users enter any other characters rather than the listed numbers, display the warning message to allow them to re-enter their key. EEEEEEEE Machine Learning Layer Calculator Enter 1: To Generate The Matrix Enter 2: To Go Back To The Main Menu Please Select One Of The Above Options: e Your chosen option is not listed, please try again: e Your chosen option is not listed, please try again: d Your chosen option is not listed, please try again: If the users picked I then allow them to enter the matrix size. The size must be a positive number and greater or equal to 4. Please enter the matrix size: If the users entered a number that is less than 4, then display the warning message and allow them to re-enter the matrix size again. Invalid size! The minimum allowed matrix size is 4 Please enter the matrix size: If the users entered a number that is greater or equal to 4, then ask whether you would like to use the zero-padding within their matrix or not. They can answer yes or no. Would you like to use zero-padding within your matrix (yes or no)? If the users enter any other characters rather than the listed answers, display the warning message to allow them to re-enter their answer again. Invalid answer, please try again Would you like to use zero-padding within your matrix (yes or no)? If the users picked I then allow them to enter the matrix size. The size must be a positive number and greater or equal to 4. Please enter the matrix size: If the users entered a number that is less than 4, then display the warning message and allow them to re-enter the matrix size again. Invalid size! The minimum allowed matrix size is 4 Please enter the matrix size: If the users entered a number that is greater or equal to 4, then ask whether you would like to use the zero-padding within their matrix or not. They can answer yes or no. Would you like to use zero-padding within your matrix (yes or no)? If the users enter any other characters rather than the listed answers, display the warning message to allow them to re-enter their answer again. Invalid answer, please try again Would you like to use zero-padding within your matrix (yes or no)? It does not matter whether they have answered yes or no, the application will generate a random matrix based on the users given matrix size. Each matrix value is a random number from 0 to 255. The random matrix: 246 161 207 36 50 210 195 240 29 108 44 86 8 77 244 134 174 If they have answered yes for the zero-padding, make sure that you add zero boundaries that are surrounding the matrix. The random matrix: 0 @ 0 @ 92 253 208 163 0 246 132 120 56 208 111 141 174 @ 138 41 229 87 0 Display the default kernel matrix right after the random matrix. NOTE: the values of this kernel matrix are not random numbers. The kernel matrix: -1 0 -1 4 -1 0 -1 0 Then display the output feature map, the max-pooling matrix, and the average pooling matrix values after in the giving order (as shown in the below figure). The random matrix: @ a 92 253 208 163 246 132 120 56 @ 208 111 141 174 @ 138 41 229 87 a @ 3 @ The kernel matrix: 1 4 1 -1 The output feature map: - 131 580 296 388 552 -202 -57 -233 337 -78 -70 412 303 -314 647 -55 The max pooling matrix: 253 253 253 208 253 253 253 208 246 246 229 229 208 229 229 229 The average pooling matrix: 80 116 103 60 115 167 150 95 97 151 121 89 55 96 87 70 Enter continue: Enter Exit: To Re-calculate Another Matrix To Go Back To The Main Menu Please Select One Of The Above Options: In the end, make sure to allow the users to re-enter another matrix if they would like to. If they picked Continue then allow them to re-enter another matrix size. If the picked Exit, then go back to the main menu Enter continue: To Re-calculate Another Matrix Enter Exit: To Go Back To The Main Menu Please Select one of the above Options: If the users enter any other characters rather than the listed answers, display the warning message to allow them to re-enter their answer again. Invalid answer, please try again Enter continue: To Re-calculate Another Matrix Enter Exit: To Go Back To The Main Menu Please select one of the Above options

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions