Student Resource Page                                      Back to Home Page

 

Algorithms from 9691 Computing Theory Modules

Sr. No. Algorithm Description
1 Data Structures Part 1 Algorithms from the Data Structure chapter including arrays, stacks, queues and linked lists. These are both in pseudo code form and in structured English.
     

 

Solved Algorithms
 

Sr. No. Algorithm Language Description
1 Even or Odd QBasic Novice level algo to find if a number is even or odd. Uses IF...ENDIF and MOD.
2 Factorial QBasic Novice level algo to calculate factorial of a positive integer. Uses FOR...NEXT.
3 Prime Numbers QBasic Novice level algo to find prime numbers between 1 and 100. Uses MOD, IF...ENDIF and FOR...NEXT.
4 Perfect Numbers QBasic Novice level algo to find perfect numbers between 1 and 10,000.
5 Grade Calculator QBasic Novice level algo that calculates the grade of five students, each with three subjects. Uses nested loops (Do...LOOP, FOR...NEXT) and IF...ENDIF.
       

 

Unsolved Algorithms

Sr. No. Algorithm Description
1    
     

 

 

Mubashir N. Mir - MIR Consultants

Lahore, Pakistan.