final - COP-4020 PROGRAMMING LANGUAGE CONCEPTS Instructor...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
COP-4020 PROGRAMMING LANGUAGECONCEPTS Instructor: Manuel Bermudez SPRING 2011 FINAL EXAM Take-home, due April 28 5 p.m. TURN IN YOUR SOLUTION AS A SINGLE, PLAIN TEXT FILE WITH YOUR ENHANCED TINY INTERPRETER, WRITTEN IN RPAL.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Spring 2011 COP-4020 Final Exam Page 2 of 5 PROBLEM 1. (10 points) Add the following binary operators to the RPAL implementation of Tiny, a sdis- cussed in class. Foryour reference, the RPAL sytax grammar is shown in Appendix A. ’>=’, ’<’, ’>’, ’=’, ’<>’, ’-’, ’*’, ’/’, ’and’, ’or’. PROBLEM 2. (10 points) Add the following unary operators to the RPAL implementation of Tiny, a cussed in class. ’-’, ’+’. PROBLEM 3. (10 points) Add the ’cond’ construct (conditional expression) to Tiny, asdescribed in class. PROBLEM 4. (10 points) Add the prefix and postfix auto-increment operators to Tiny, asdescribed in class. PROBLEM 5. (10 points) Add the one-armed ’if’statement to Tiny. PROBLEM 6. (10 points) Add the ’repeat’ statement to Tiny.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/15/2012 for the course COP 4020 taught by Professor Cubert during the Fall '08 term at University of Florida.

Page1 / 5

final - COP-4020 PROGRAMMING LANGUAGE CONCEPTS Instructor...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online