TCSS372A - HW1 (due October 7) - PowerPoint PPT Presentation

1 / 2
About This Presentation
Title:

TCSS372A - HW1 (due October 7)

Description:

Title: Lecture 1-4-05 Author: Larry A. Crum Last modified by: lcrum Created Date: 1/5/2005 12:41:53 AM Document presentation format: On-screen Show – PowerPoint PPT presentation

Number of Views:11
Avg rating:3.0/5.0
Slides: 3
Provided by: Larr155
Category:
Tags: tcss372a | courier | due | hw1 | october

less

Transcript and Presenter's Notes

Title: TCSS372A - HW1 (due October 7)


1
TCSS372A - HW1 (due October 7)
1) Memory Map Activation Records Show the
memory map during execution of the following
program at point 1 , and the stack at points 1
through point 7.
  • int main ()
  • int a 23
  • int b 14
  • ...
  • / point 1 /
  • b Watt(a)
  • / point 5 /
  • b Volta(a,b)
  • ... / point 7 /
  • int Watt(int c)
  • int w 5
  • ... / point 2 /
  • w Volta(w,10)
  • / point 4 /
  • ...

2
HW 1
  • 2) State System Design Design a blinking
    traffic sign which exhibits the following
    behavior
  • Repeat the following sequence
  • as long as operate switch is
  • turned on
  • State 1 No lights on ?
  • State 2 1 2 on ?
  • State 3 1, 2, 3, 4 on ?
  • State 4 1, 2, 3, 4, 5 on ?
  • - The system is in state 1 when
  • the operate switch is off

3
4
1
5
2
DANGERMOVERIGHT
Write a Comment
User Comments (0)
About PowerShow.com