



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




(caddr '(a b c d)) - ANSa scheme list that is returning its first element A bottom up parser is typically ____. - ANSLR A top down parser is typically ____. - ANSLL Abstract Data Type - ANSa syntactic enclosure with access controls. This can be used to declare an object, as well as provide operations for the objects of that type. Accuracy - ANSThe correctness of the value in representing the intended value. Actual parameter - ANSarguments to a function ADA - ANSlanguage that constituted the largest design effort, going through a number of requirements starting with strawman. ALGOL - ANSThe language that is generally understood to be the first of the more "sophisticated" languages. Ambiguity - ANSMore than one meaning Associative array - ANSIn Perl, this stores tables of information where the lookup is the right hand key (usually a string) to an associated scalar value.
ex: %salaries = ("gary" => 75000, "perry" => 57000, "mary" => 56000) Associativity - ANSaddresses the order that operators with the same precedence are done. Attribute - ANSThis type of grammar extends CFG to handle context things. C Programming Language - ANSDeveloped at Bell Labs as a "system programming" language that helped usher in the era of Unix. C++ is _______typed and Python is ________typed. - ANS- statically
Local Referencing Environment - ANSHolds all the parameters, local variables, constants, and global variables that are able to be referenced by a subprogram. Machine Programming Memory - ANSHolds global constants. Non-determinism - ANSan algorithm that, even for the same input, can exhibit different behaviors on different runs. Norrowing conversion - ANSthis shrinks a variable to a smaller type. Operational - ANSA way of describing semantics Orthogonal - ANSA small set of primitive constructs combined in a small number of ways, all of which are legal. Parsing - ANSSyntax analysis Precedence - ANSaddresses the order in which operators of different importance are done. Precision - ANSThe number of digits in a floating-point value. Process abstraction - ANSEx: use of a subprogram to implement a sort algorithm that is required several times in a program. Referential Transparency - ANSSuppose:
temp = fun(a) result1 = fun(a) + b result2 = temp + b This is ______________ if result1 = result2. Regular grammer - ANSused in lexical analysis Reserved words - ANSwords that cannot be used as identifiers (variables, functions, etc.), because they are reserved by the language. Run Time Stack Memory - ANSHolds local variables. Scheme - ANSa multi-paradigm language that is primarily intended to model lisp and the functional programming paradigm. Scope - ANSthe set of statements in which the variable is visible. Strongly typed - ANSThis means that all the type errors are found in the language. T/F: An ordinal data type is one that can be counted -- has a one to one correspondence to the positive integers. - ANSTrue T/F: If a sentence has more than one parse tree, this means that the sentence is ambiguous. - ANSTrue