Preview

This Is It

Powerful Essays
Open Document
Open Document
59253 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
This Is It
Principles of Programming Languages

Eliezer A. Albacea

University of the Philippines OPEN UNIVERSITY

Principles of Programming Languages By Eliezer A. Albacea

Copyright © 2002 by Eliezer A. Albacea and the University of the Philippines Open University Apart from any fair use for the purpose of research or private study, criticism or review, this publication may be reproduced, stored or transmitted, in any form or by any means ONLY WITH THE PERMISSION of the author and the UP Open University.

Published in the Philippines by the UP Open University Office of Academic Support and Instructional Services 2/F, National Computer Center CP Garcia Avenue, Diliman, Quezon City 1101 Telephone (63-2)426-1515 Email oasis@upou.edu.ph First printing, 2002 Second printing, 2005

ISBN 971-767-123-0

Layout by Helen Mercado Creer

Printed in the Philippines

Preface
This book is intended for a one-semester course on programming languages. It discusses the basic concepts of programming languages and the actual implementation of basic programming language constructs which makes it different from other language programming books that stop after a discussion of the concepts. As a teacher for many years, I believe it is best to teach and learn concepts when we put them to use. In this case, to implement the language. You should at least have a basic knowledge of the syntax of a variety of programming languages like Pascal, C. FORTRAN, Algol, COBOL, Prolog, Lisp, and ML, though a working knowledge of Pascal and C is sufficient. I used the intermediate language Slim+ as the target language for for translation. Slim+ is a simple stack-oriented language with very simple instructions that can be mapped to any actual machine instrucitons. As an additional aid both for students and teachers, Slim+ is discussed in the Appendix. I strongly advise the reader to take up this topic before proceeding to Module 3 and before tackling the first topic on implementation. Finally,

You May Also Find These Documents Helpful

  • Powerful Essays

    The purpose of this Lab. is to familiarize student how to solve practical problems programmatically; they will practice on elementary programming using primitive data types, variables, constants, operators, expressions, and input and output. Also, they will learn how to diagnose errors that may occur when a program is compiled or executed. There are some exercises, through which they will understand the concept learn in this chapter.…

    • 2338 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    Lab 7 Student

    • 1242 Words
    • 7 Pages

    This lab accompanies Chapter 5 (pp. 163-183 and pp. 196-201) of Starting Out with Programming Logic & Design.…

    • 1242 Words
    • 7 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab 3 Student

    • 1264 Words
    • 7 Pages

    This lab accompanies Chapter 2 (pp. 56-68) of Starting Out with Programming Logic & Design.…

    • 1264 Words
    • 7 Pages
    Satisfactory Essays
  • Good Essays

    Yup This is IT

    • 516 Words
    • 3 Pages

    George Orwell was “disgusted by the inhumanity of colonial rule that he witnessed while stationed in Burma” (2835 Orwell). Using his writing to confess the inner conflict of an imperial police officer, he wrote an autobiographical essay titled Shooting an Elephant. He notes that the Burmese civilians were not allowed to own guns during his stay – a testament of British control over Burmese resources. Feeling “stuck between his hatred of the empire he served and his rage against the evil-spirited little beasts who tried to make his job impossible” he knew that “the sooner he chucked up the job and got out of it the better” (2844 Orwell). Orwell repressed his emotions because acting out as the only white man would have been foolish. If he betrayed his country, he risked treason. If he sided with the Burmese, he would never fit into their culture. Every white man’s life long struggle in the East was to not be laughed at, so the safest choice for a man like George was to live without action. However, when a sexually aggressive elephant gets loose Orwell is called to take action.…

    • 516 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Bs311 Unit 3 Essay

    • 3508 Words
    • 15 Pages

    Designing secure key distribution in an ad-hoc network might be an extremely hard task. Any reliance on a certificate of authority is not trivial at all, for the same reasons that reliance in any centralized authority is problematic. Additional problems include the increased packet sizes required by authentication extensions, unicast/multicast routing, Quality of Service support and power aware routing. Furthermore, due to the limited transmission range of wireless network interfaces, multiple hops may be needed to exchange data between nodes in the network (c.f.…

    • 3508 Words
    • 15 Pages
    Powerful Essays
  • Powerful Essays

    The Educational Forum, 76: 464–478, 2012 Copyright © Kappa Delta Pi ISSN: 0013-1725 print/1938-8098 online DOI: 10.1080/00131725.2012.709032…

    • 7375 Words
    • 30 Pages
    Powerful Essays
  • Good Essays

    this is it

    • 1095 Words
    • 4 Pages

    Obesity is a fast-growing health issue affecting children and adolescents across the nation and here at home. Rutgers Cooperative Extension (RCE), along with agency and community partners, implemented a unique, collaborative solution aimed at raising awareness, providing education and effecting workable strategies for preventing obesity in children and families in our community. From working regularly with children and families, Family and Community Health Sciences (FCHS) faculty were aware that NJ…

    • 1095 Words
    • 4 Pages
    Good Essays
  • Better Essays

    this is it

    • 1847 Words
    • 8 Pages

    The ethical debate surrounding biological engineering to duplicate human DNA in order to produce a genetic replicate has found its way into discussion through several media outlets, including medical journals, film and literature. Questions of who we are as both individuals and as a human species are raised in hopes of addressing the controversial dilemma surrounding this biological manipulation. Several films and novels have wrestled with the issue through the narration of fictional characters who find themselves in the eye of the storm, as the products of genetic cloning. “Never Let Me Go” by Kazuo Ishiguro addresses the bioethical debate in a less direct manner, looking at the issue in a fictional context. Through the eyes of Kathy H., we are guided through her experiences as a clone growing up in an institution meant to rear the students in humane environments. Ishiguro’s novel was not written as a means to argue the ethics of cloning, however, his novel “Never Let Me Go” serves as a reference for the bioethical debate. Kathy H.’s narration can help answer the questions of how biologically engineered beings should be treated in relation to their classification as humans or non-humans, as Ishiguro attempts to define humanity through the eyes of a Kathy H., a clone with experiences much like that of any other ordinary human. Through the analysis of Ishiguro’s novel and several articles discussing the connections between bioethics and Ishiguro’s approach to the issue, I will attempt to interpret an answer to the often unconsidered, yet entirely relevant question: what does it mean to be human?…

    • 1847 Words
    • 8 Pages
    Better Essays
  • Powerful Essays

    The following information will introduce general knowledge in basic programming concepts. It shall discuss basic types of computer programming languages as-well-as program development. There are three basic types of computer programming languages that will be discussed in a simple and easy to understand manner. We shall also describe the program development cycle and discuss why it is important to use a structured and organized process to create a computer programming language.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    This chapter deals with introducing the nature of the study as the reason why the researcher chose this topic. This also contains the general problems that he wanted to find answers to, the importance and to whom it would benefit and the important terms to be defined.…

    • 2712 Words
    • 11 Pages
    Good Essays
  • Better Essays

    Online and Campus Classes

    • 2094 Words
    • 9 Pages

    References: Tello, F.S.(2007, July-Sep). International Journal of Information and Communication Technology Edu. Vol.3, Iss3; pg 47, Retrieved September 7, 2009, from Proquest database…

    • 2094 Words
    • 9 Pages
    Better Essays
  • Good Essays

    © ASEAN University Network (AUN) All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording and/or otherwise without the prior written permission of the Executive Director, ASEAN University Network. Version No. 2.0 Date of Publication: June 2011…

    • 23815 Words
    • 96 Pages
    Good Essays
  • Good Essays

    patient monitoring system

    • 795 Words
    • 4 Pages

    A Research Presented to College of Information & Engineering of Mary The Queen College of Quezon City.…

    • 795 Words
    • 4 Pages
    Good Essays
  • Better Essays

    References: Proceedings of the First Biennial National Congress on Education. 2009. Presidential Task Force for Education. Office of the PA for Education, Office of the President, Malacanang, Manila.…

    • 1002 Words
    • 5 Pages
    Better Essays
  • Powerful Essays

    FACTORS AFFECTING THE ACADEMIC PERFORMANCE OF THE WORKING STUDENTS IN POLYTHECNIC UNIVERSITY OF THE PHILIPPINES…

    • 5240 Words
    • 21 Pages
    Powerful Essays