Comp9021 python programming assignment - you will design


Python Programming Assignment -

General presentation - You will design and implement a program that will

  • check whether some numbers, stored in a file, represent a particular coding of a frieze, and
  • either display the period of the pattern of the frieze and the transformations that keep it invariant, based on a result that classifies friezes into 7 groups of symmetries, or output some Latex code in a file, from which a pictorial representation of the frieze can be produced.

The representation of a frieze is based on a coding with numbers in the range 0 . . . 15, each such number n being associated with a particular point p such that

  • if the rightmost digit of the representation of n in base 2 is equal to 1 then p is to be connected to its northern neighbour:
  • if the second rightmost digit of the representation of n in base 2 is equal to 1 then p is to be connected to its north-eastern neighbour:
  • if the third rightmost digit of the representation of n in base 2 is equal to 1 then p is to be connected to its eastern neighbour:
  • if the fourth rightmost digit of the representation of n in base 2 is equal to 1 then p is to be connected to its south-eastern neighbour:

Assessment - The automarking script will let each both assessed methods of your program run for 30 seconds. Still you should not take advantage of this and strive for a solution that gives an immediate output.

Attachment:- Assignment Files.rar

Solution Preview :

Prepared by a verified Expert
Python Programming: Comp9021 python programming assignment - you will design
Reference No:- TGS02761013

Now Priced at $60 (50% Discount)

Recommended (91%)

Rated (4.3/5)