• Support PF! Buy your school textbooks, materials and every day products Here!

Combinational or Sequential

  • Comp Sci
  • Thread starter zak100
  • Start date
  • #1
zak100
Gold Member
462
11

Homework Statement:

A computer game generates ‘1s’ and ‘0s’. These are associated with awards. The first ‘1’ (i.e. the first 1 of an uninterrupted sequence of 1's obtained by continuously running the program several times such that each execution generates a 1 output in that set of executions) results in 4 awards but the remaining 1’s do not result in any award. On the other hand, each odd numbered 0 results in 2 points and each even numbered 0 does not get any award. For the output 011100001011.. of executions results in awards 2400202024240……
Is the above activity mentioned in the game, combinational or it must be sequential?
(Developed by self)

Relevant Equations:

No equations
Its sequential because we have to keep the count of 0s whether they are odd or not.

Zulfi.
 

Answers and Replies

  • #2
phinds
Science Advisor
Insights Author
Gold Member
2019 Award
16,188
6,197
Its sequential because we have to keep the count of 0s whether they are odd or not.
Yes. It has to have memory to do that.
 

Related Threads on Combinational or Sequential

  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
0
Views
1K
Replies
0
Views
924
Replies
3
Views
1K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
2
Views
2K
Replies
0
Views
3K
Replies
1
Views
1K
Replies
0
Views
2K
Top