Q1. (20marks)

Write a program to add numbers from m to n (including them) where m and n are the first two digits and last two digits of your student number respectively. (In case they both are the same, modify n as n=m+25)

Q2. (20marks)

Write a program to read two 3×3 matrices and calculate their sum and print the output using while loop.

Q3. (30marks)

A water level sensor in a water tank is mounted above the tank and it measures the distance to the water surface from its position. The empty tank outputs 5m and the full tank outputs 1m on the sensor readout.

The inlet water pump should start whenever the water height of the tank goes below 3m.The output valve should close whenever it goes below 0.5m and should turn on otherwise. (ignore the hysteresis you need for actual water tank operations to simplify the program)

Write a program for the following conditions:

Ask the user to enter the water level sensor readout in meters and then display the condition of water pump and outlet valve as follows:

Water level sensor reading = XXX ( XXX is the user input)

Inlet Pump is: ON (or OFF depending on XXX)

Outlet valve is: ON (or OFF depending on XXX)

Then check with the user where s/he wants to run it again. The program should run repeatedly until user input that s/he does not want to run it again.

Q4. (30marks)

Write a program to read a 4 x 4 integer matrix from keyboard and print it as a 4 x 4 matrix.

(5 marks)

Then transpose the matrix using pointers and print the transposed matrix (no marks will be given to answers obtained without using pointers !) (25 marks)

( 100% of marks is equal to 20% of unit total)

Embedded Systems Design Assignment Help

Assessment criteria:

This assignment is based on C language programming skills. To obtain full marks students must provide all in detail problem solving and solution development evidences. Each student must have their unique programms developed by themselves. Answer to every problem should include a flowchart / NS-diagram or other similar graphical representation of the solution. A clean working program as the answer to a question without evidence of development of it(ex: a soft copy of workbook pages relevant to it) will receive a maximum of 50% of the allocated marks for that question. Provide screenshots of your answers.

You can order ENEX 20001 Embedded Systems Design assignment from our service and receive a completely high-quality custom paper. Our service offers any of the academic papers written from scratch, according to all customers’ specifications, expectations and highest standards.”

Related posts: