Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Need to understand how to write a program that can determine which, if any, of the following properties a binary matrix exhibits: symmetric anti-symmetric asymmetric (from the textbook) reflexive or anti-reflexive (or neither of course)   Program Requirements:  Hard code at least 4 binary matrices all of size 4x4

Need to understand how to write a program that can determine which, if any, of the following properties a binary matrix exhibits: symmetric anti-symmetric asymmetric (from the textbook) reflexive or anti-reflexive (or neither of course)   Program Requirements:  Hard code at least 4 binary matrices all of size 4x4

Computer Science

Need to understand how to write a program that can determine which, if any, of the following properties a binary matrix exhibits:

  • symmetric
  • anti-symmetric
  • asymmetric (from the textbook)
  • reflexive or anti-reflexive (or neither of course)

 

Program Requirements: 

Hard code at least 4 binary matrices all of size 4x4.  Display each binary matrix and the the properties it exhibits. 

For example:

A = 0 1 0 0

    0 0 0 0

    0 0 0 0

    0 0 0 0

A - anti-reflexive, anti-symmetric, asymmetric

B = 1 1 1 0

    1 0 0 0

    1 0 0 0

    0 0 0 0

B - symmetric

C = 1 1 0 1

    1 0 1 1

    1 0 1 1

    0 1 1 0

C - none

and so on for at least 4 binary matrices

 

Additional Requirements:

  • You can hard code the matrices but DO NOT hard code the properties. The program must determine the properties. I should be able to change the values of your matrix and get a different answer
  • Do NOT use my example matrices
  • Test Cases not required but you should know the expected output. Calculate it in advance and make sure the program is generating the expected output

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE