Introduction To Computing and Information Technology 1: Important Note
Introduction To Computing and Information Technology 1: Important Note
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.
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
The Algorithm:
Start
Set i to 0
Set temp to program
For 0 I until temp.length
0 j
“ “ word
For j until ij
Word word + temp[j]
j j+1
Print word
I i+1
Question 2
2)
Start
1- Enter list size
2- answer list size
3- if list size <5
4- Print invalid number.
5- Enter list size
6- answer list size
7- go to 3
8- size answer
9- I 0
10- If i < size
11- Print enter your new book name
12- If answer is in book list
13- Print this book already exist!
14- go to 12
15- Else
16- Add book to book list
17- Print book was added successfully :)
18- i i+1
19- go to 10
3)
4)
5)
Ask for list size and check if valid
Question 3
1-
Algorithm: