Problem:
Question 1- In the Java language implement a right in-threaded tree as an array. Include methods makeTree, setLeftChild, setRightChild, and inorder traversal.
Question 2- Write a denotational semantics mapping function for the following statement forms:
Part 1- S1 ; S2 This is a statement list, described in the notes as Msl. Don't limit your function to two statements.
Part 2- Do S while B This is a logical post-test loop, where S is executed before B is evaluated. The pre-test loop is described in the notes as Ml.
Step by step instructions so I can understand would be greatly appreciated!