CS332:
Computer Organization and Architecture
Assignement
2
Cairo University, Faculty of Computers
and Information
Rules:
1- Remember NO CHEATING. Very strict action taken against
any cheating.
2- Assignments are done as individual.
3- Name your program by the problem name and put all the
programs in a rar file named with your ID i.e. 200xxxx.rar
4-
5- Any assignments doesn’t fully follow the naming policy will
get penalty marks
Problems:
Question1: (+1 bonus recursive functions)
1-Create a program with a function length to calculate length of string
given by user (assume MAX length is 100).
Hint: ‘/0‘ equal 10 ASCII.
Question2: (+1 bonus recursive functions)
1-Create a program with a function CheckPalindrome to check if string
entered by user is palindrome or not(assume MAX length is 100).