Professional Documents
Culture Documents
TM240-2023-2024-3-TMA
TM240-2023-2024-3-TMA
Contents
Warnings and Declaration…………………………………….………………………………......1
Question 1 ……………….…………………………………. ………………………………...….2
Question 2 …………………………………………………………………………….………. …..2
Question 3 ……………………………………………………….……………………………..…..3
Question 4…….....………….………………………………………………………….…….……..3
Plagiarism Warning:
As per AOU rules and regulations, all students are required to submit their own TMA
work and avoid plagiarism. The AOU has implemented sophisticated techniques for
plagiarism detection. You must provide all references in case you use and quote
another person's work in your TMA. You will be penalized for any act of plagiarism as
per the AOU's rules and regulations.
I hereby declare that this submitted TMA work is a result of my own efforts and I have
not plagiarized any other person's work. I have provided all references of information
that I have used and quoted in my TMA work.
Name of Student:……………………………..
Signature:…………………………………………...
Date:…………………………………………………
Using appropriate Java code and animation principles that you learnt in the course, implement the
video in the file falling deformation.mp4. Please provide the code and video that you generated in
your answer sheet.
a) Adopting suitable Java primitives and based on the least significant digit of your ID,
implement one of the following shapes: [15 marks]
Using appropriate Java code and animation principles that you learnt in the course, implement the
video in the file q3.mp4. Please provide the code and video that you generated in your answer
sheet.
a) Write a java code segment to plot the following shape adopting parametric equations for an
ellipse as:
X=cos(q)
Y=sin(q) for q in the range [0, 2p]
End of Questions