Certification

cancel
Showing results for 
Search instead for 
Did you mean: 

SM practice

Some practice projects of SM, have minor bugs.

Download All
0 Kudos
Message 1 of 7
(995 Views)

You can't just throw code at us without much explanation.

 

Please explain all acronyms, SM can have many meanings.

 

Also explain the purpose of your posts. Are you looking for feedback? What are the "minor bugs"?

 

What is the reason for three different zip attachments?

Who wrote these projects? You? Found somewhere on the internet?

 

(If these are certification exercises, here's a better place. I can move the thread for you.)

0 Kudos
Message 2 of 7
(895 Views)

Some very quick comments on your "queued SM":

 

  • As a rule of thumb, the terminal of latch action booleans belong inside their respective event case.
  • It is not "counting" if you add random values. Counting implies consecutive integers.
  • It is a good practice to place the "value" terminal before the case structure so it shows zero even if no case has occurred yet.
  • Why is "initialize" the default case?
  • You can use "use default if unwired" for all your green output tunnels, eliminating many FALSE diagram constants. Same for the zero in the init case.
  • Not really sure why you even need a queue. How deep can it possibly get?

 

(I won't analyze the other attachment, because you definitely did not write them)

0 Kudos
Message 3 of 7
(880 Views)

Thank you for you advise. They are some practice I did. I fixed the bugs in ATM and update the Queued SM.

Download All
0 Kudos
Message 4 of 7
(849 Views)

You are still throwing a pile of zip files at us without saying much. Do you have any specific questions?

0 Kudos
Message 5 of 7
(845 Views)

These are practice I did. If you find any issue or have any suggestions please let me know.

0 Kudos
Message 6 of 7
(774 Views)

Here are some OOP practice/exercise I did.

Download All
0 Kudos
Message 7 of 7
(767 Views)