1/31
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
CharVariable
Identifier for a variable storing a single character
SingleParamSubroutine
Identifier for a user-defined subroutine with one parameter
IntReturnSubroutine
Identifier for a user-defined subroutine returning an integer
MenuDisplay
Identifier for a user-defined procedure to display a menu
Named Constants
Advantages include better understanding and easy adaptability
Exception Handling
Triggers error block if issues occur, used in EditSourceCode for input validation
Structured Programming
Relies on basic structures like assignment, sequence, selection, iteration, and subroutines
Local Variables
Variables like NumberOfLines can have the same identifier if they are local
Global vs
Local variables save memory and aid in debugging and maintenance
Array
Identifier for an array
Dictionary
Identifier for a dictionary
StringVariable
Identifier for a local variable storing a string value
Data Sharing
Functions return values to share data between subroutines
Exceeding Array Size
Error code 2 is printed if the data file exceeds the array size
Arrays vs
Arrays store one data type, saving more memory
Error Code 3
Displayed when a label is used more than once in UpdateSymbolTable
Nested Iteration
Identifier for a subroutine using nested indefinite iteration
Mixed Data Structure
Identifier for a data structure storing multiple data types
Single Data Type Structure
Identifier for a data structure storing one data type
Hierarchy Chart
Represents program structure and aids in problem decomposition
Whole Numbers
Integer is the most appropriate data type for whole numbers
SourceCode[0]
First element stores the number of lines in SourceCode
Decomposition
Breaking down a problem into smaller sub-problems
Definite vs
Definite has a specified loop count, indefinite loops until a condition is met
Reused Subroutine
DisplayStack is an example of subroutine reuse in the program
Subroutine Reuse
Saves time and memory by avoiding redundant code
BinaryString Representation
Stored as a string to retain leading zeros
Error Code Definitions
Explanation of various error codes in the program
Subroutine Instantiation
Creating an instance of a subroutine
OperandValue
Stores value or line number based on operand type within an object
Jump1 Start
Default start if no start label is present or if it's in the first line
Negative Overflow
No runtime error for negative overflow due to flag handling restrictions.