1. Late for School
2. Draw a structure chart for the process of making a pizza in your home.
3. Classify each clue as "SC" (Structure Chart) or "FC" (Flow Chart).
4. Draw a structure chart for the process of cleaning your locker. Put on about 10 methods.
5. Structure Charts are also used outside programming to show the hierarchy in businesses. Draw a structure chart for the school. Include the trustee, principal, vice-principals, department heads, teachers and students.
6. Draw a structure chart for this program. Start with the main mehtod:
public class x
{
public static void main (String args [])
{
new x ();
}
public x ()
{
a ();
b ();
c ();
}
public void a ()
{
System.out.println ("Hi");
}
public void b ()
{
System.out.println ("Hi2");
}
public void c ()
{
System.out.println ("Hi3");
}
}
7. Draw a structure chart for this program. Start with the main method:
public class x
{
public static void main (String args [])
{
new x ();
}
public x ()
{
a ();
b ();
c ();
}
public void a ()
{
b ();
}
public void b ()
{
c ();
e ();
}
public void c ()
{
System.out.println ("Hi");
}
public void d ()
{
a ();
e ();
}
public void e ()
{
System.out.println ("Hi");
}
public void g ()
{
e ();
e ();
b ();
}
}
8. Assume all void methods. Write a program for this structure chart.
|----- c
|---- a --|
main--- b --| |----- c
|
|---- d --|------f
|----- e