Faculty of Computer Studies
Course Code: TM111
Course Title: Introduction to computing and information technology 1
Tutor Marked Assignment
Cut-Off Date: TBA                                    Total Marks: 30
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.
Declaration of No Plagiarism by Student (to be signed and submitted by student with TMA
work):
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.
Important Note:
       For all questions you need to write the full algorithm and implement the algorithm
        by using OUBILD script. The student should provide provide one screenshot for
        the OUBUILD script and two screenshots for differnt outputs.
       If you will not provide SCREENSHOTs you will lose grades
Name of Student:
Signature:
Date:
Question 1 : (12 marks)
   1- Write an algorithm to draw the below graph and after you have asked the user to
      enter how many rows you need to print between (2 to 8) .
      The below graph shows that the user entered 5 rows.
   2- Draw the flowchart for the algorithm
   3- Build your algorithm by OUbuild and provide three
      screenshots for the output ? 3 rows , 5 rows and 8 rows
Question 2: (10 marks)
write an algorithm to implement encrypting Capital letter text using the Ceasar
cipher.Used all capital letters to implement the encryption algorithm for Caesar cipher
by shifting three letters forward in the alphabet. This can be represented by using the
following equation set_shifted_position to ((alphabet_position+3) mod
26)+1.
Your instructions :
   1. You should add all letters to alphabet List
   2. Ask the user to enter some text in UPPERCASE for encryption.
   3. The input text should be encrypted by using the above equation for example if
      the user input “APPLE” then it will be “ETTPI” after encrypted
   4. Write your algorithm and then implement the algorithm by OUBUILD
   5. Provide screenshots for the input and output results
Question 3: (8 marks)
       Consider a ten-minute film to be displayed on a computer at 24 fps. Each frame
       is 400 x 500 pixels and RGB encoding is being used. What is the size of the film
       file in bytes, KB, MB and GB?
                                       Good luck
                                   End of the question