TM111-TMA-all-Spring2122.docx

TM111-TMA-all-Spring2122.docx

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: 20

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:

1. 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.

1. If you will not provide SCREENSHOTs you will lose grades

Name of Student:

Signature:

Date:

Question 1 : …………………………………………………………………………………………………(10 marks)

Let assume we have a list of numbers contains even and odd numbers , so you need to build an algorithm to make the odd number in the beginning of the list and the even number at the end of the list. For example:

List=[5,6,8,3,1,7,10] so after you build the algorithm the result will be as below:

List=[5,3,1,7,6,8,10]

To answer question 1, you need to do the following:

1.