draw DAG ,AST and control flow diagram
Question One Directed acyclic graph (DAG) is a simplified step from the AST. Solve the following expression by AST and DAG: • You must draw both DAG and AST graphs. X= (((a+a) + (a+a)) + ((a+a) + ( a+a ))) Question Two Draw the control flow graph for the following code: x=a+1; b=x+3; if b