What This Document Is
This document is a reference guide detailing the specific pseudocode language used for examinations in the CSCI 1202 Computer Programming II course at Fairleigh Dickinson University. It outlines the keywords, symbols, and conventions students are expected to understand and, ideally, utilize when responding to exam questions. It’s based on the OCR (Oxford Cambridge and RSA Examinations) specification, but adapted for course use.
Why This Document Matters
Students enrolled in CSCI 1202 need this guide to confidently interpret exam questions and formulate answers using the expected pseudocode format. Consistent use of this language ensures clarity in communication and demonstrates understanding of core programming concepts. It’s particularly valuable for students unfamiliar with the specific conventions used in OCR examinations. This resource bridges the gap between general programming knowledge and the precise requirements of the course assessments.
Common Limitations or Challenges
This guide is a *reference* – it doesn’t teach programming fundamentals. It assumes a base level of programming knowledge. It also doesn’t provide practice problems or detailed walkthroughs of exam-style questions. Users will still need to apply these concepts through practice and further study. It is not a substitute for understanding underlying programming logic.
What This Document Provides
The full document provides a categorized overview of:
* **Logical, Comparison, and Arithmetic Operators:** Definitions and examples of how to use operators like AND, ==, +, and MOD.
* **Commenting and Input/Output:** How to add comments to code and how to take input from the user and display output.
* **Variables, Constants, and Assignments:** Rules for declaring and assigning values to variables and constants, including the use of `global` and `const` keywords.
* **Type Casting:** Functions for converting between data types (e.g., `str()`, `int()`).
* **Iteration (Loops):** Syntax and examples for `FOR` and `WHILE` loops, including loops with steps.
* **Selection (Conditional Statements):** The structure of `IF-THEN-ELSE` statements.
This preview *does not* include detailed explanations of programming concepts, practice exercises, or complete code examples beyond those shown inline with the language definitions. It does not cover all possible pseudocode constructs.