You are on page 1of 1

Graded Assignment No.

01
Deadline

Your assignment must be uploaded/submitted at or before 10th November, 2009.

Uploading instructions

Please view the assignment submission process document provided to you by


the Virtual University to upload the assignment.

Rules for Marking

It should be clear that your assignment will not get any credit if:

o The assignment is submitted after due date.


o The assignment is copied.

Objective

o To understand the Concepts of SNOBOL

Further more, after the completion of this assignment you will have sufficient
knowledge of different categories as well as the Languages evaluation criteria.

Assignment No .01
Modern Programming Languages
Q.1 Write a pattern that matches words beginning with C or CR, Followed by O or
OO or EE, followed by P or PS. Construct the pattern so that each successful step in the
pattern matching is explicated by a printed output. [10]

Q.2 (a) Write down a program in SNOBOL that calculates the factorial of 7.
(b) Write the program in SNOBOL that outputs the cube of numbers between 1 to 10
[5+5]
(use goto field for conditional jumps as there is no explicit loop statement in SNOBOL).

Note: Please Submit Assignment only in the word format.

You might also like