We will have the page separated into sections:
A) Various Programs
B) Exercises @ UCY (University of Cyprus)
If you have a specific request don’t hesitate to contact us with your problem.
Section A – Various Programs
C++ Language
@12/8/2011: Permutations of a sequence in C++ without STL
@12/8/2011: GCD (greatest common divisor) and LCM (lowest common mulpiple) functions
@27/1/2011: Print all the permutations of a sentence (same logic for characters)
C Language
@21/12/2010: Concatenate two strings one after the other
@19/12/2010: Pascal Triangle
@19/12/2010: Decimal to Binary Converter
Section B – Exercises @ UCY
Final Exam in C++ (EPL132 – CS132):
You will find some exercises i prepared that may be in the final exam. If you have trouble solving any of them just look into the solutions pdf.
@16/05/2011: Revision Quiz in CS132 | Revision Quiz in CS132 solutions
Final Exam in C (EPL131 – CS131):
@21/12/2010: (UCY – Final Exams) Compare two strings
@21/12/2010: (UCY – E.8 in Final Exams) Re-arrange an array with repeated integers
@21/12/2010: (UCY – E.7 in Final Exams) Average all cells in RxC table according to the cells around
Revision Exercises in C (EPL131 – CS131):
Download PDF with exercises here
@19/12/2010: (UCY – 16.4 in Revision Exercises) Add characters into a sorted array
@19/12/2010: (UCY – 15.4 in Revision Exercises) Find PI recursively
@19/12/2010: (UCY – 15.1 in Revision Exercises) Sum of 1/n for n terms
@19/12/2010: (UCY – 14.5 in Revision Exercises) Read Nums from file and calculate average per row
@19/12/2010: (UCY – 12.2 in Revision exercises) Convert a string toUpper or toLower
@19/12/2010: (UCY – 12.1 in Revision exercises) Find, Erase common chars and Search string in string
@19/12/2010: (UCY – 10.6 in Revision exercises) Times a function is called as Character
