Comp 4521 muppala android ui overview 8 sequen7al

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: hronize with the program: –  Program tells user it’s ready for more input –  User enters more input and it is processed •  While … if then… structures highly define the user’s path through the program •  Program is predefined with respect to 7me •  Handling of sequen7ally independent commands requires enormous amount of work COMP 4521 (Muppala) Android UI Overview 7 Sequen7al Programming •  Flow of a typical sequen7al program –  –  –  –  –  –  Prompt the user Read input from the keyboard Parse the input (determine user ac7on) Evaluate the result Generate output Repeat •  Shouldn’t the program be required to synchronize with the user? COMP 4521 (Muppala) Android UI Overview 8 Sequen7al Programming •  Advantages –  Architecture is itera7ve (one step...
View Full Document

This document was uploaded on 03/12/2014.

Ask a homework question - tutors are online