| 问题   | 答案   | 
        
        |  开始学习 What does Fortanm stand for?  |  |  |  |  | 
|  开始学习 What was the first well known highlevel programming language?  |  |  |  |  | 
|  开始学习 Who lead the fortrand dev team  |  |  |  |  | 
| 开始学习 |  |   [1] lower the costs involved with programming and debugging; [2] compete with “hand-coded” (assembly language) programs in terms of execution speed.  |  |  | 
|  开始学习 When was the first fortan compiler compleated  |  |  |  |  | 
|  开始学习 What wear the features of early fortran  |  |   assignments, DO loops, three-way arithmetic IF statements, GOTO statements; integers, reals, arrays (and very basic string handling)  |  |  | 
|  开始学习 early for tran source code has a ___ source code format  |  |   Early Fortran source code has strict source code format,  |  |  | 
|  开始学习 Early programs were entered on a _____ keyboard onto ___ column punched cards  |  |   Early programs were entered on a keypunch keyboard onto 80 column punched cards  |  |  | 
|  开始学习 What is the TPK algorithm  |  |   [1] A program introduced by Donald Knuth and Luis Trabb Pardo to illustrate the evolution of computer programming languages. [2] a small program that involved arrays, indexing, mathematical functions, subroutines, I/O, conditionals and iteration.  |  |  | 
|  开始学习 Reflecting punched card input practice, Fortran programs were originally written in a _____ column format.  |  |   Reflecting punched card input practice, Fortran programs were originally written in a fixed column format.  |  |  | 
|  开始学习 A letter "__" in column __ caused the entire card to be treated as a comment and ignored by the compiler.  |  |   A letter "C" in column 1 caused the entire card to be treated as a comment and ignored by the compiler.  |  |  | 
|  开始学习 the card was divided into ___ fields  |  |   the card was divided into four fields  |  |  | 
|  开始学习 Columns 1 to 5 were the label field: a sequence of digits here was taken as a label for the purpose of a ___ or a ____ reference in a ____ or ___ statement.  |  |   Columns 1 to 5 were the label field: a sequence of digits here was taken as a label for the purpose of a GOTO or a FORMAT reference in a WRITE or READ statement.  |  |  | 
|  开始学习 Column __ was a continuation field: a non-blank character here caused the card to be taken as a continuation of the statement on the previous card.  |  |   Column 6 was a continuation field: a non-blank character here caused the card to be taken as a continuation of the statement on the previous card.  |  |  | 
|  开始学习 Columns 7 to __ served as the statement field.  |  |   Columns 7 to 72 served as the statement field.  |  |  | 
|  开始学习 Columns __ to 80 were ignored, so they could be used for identification information (e.g., a sequence number which could be used to re-order cards if a stack of cards was dropped)  |  |   Columns 73 to 80 were ignored, so they could be used for identification information (e.g., a sequence number which could be used to re-order cards if a stack of cards was dropped)  |  |  | 
|  开始学习 These restrictions are removed in Fortran __, which is a free-form language  |  |   These restrictions are removed in Fortran 90, which is a free-form language  |  |  | 
|  开始学习 Most variables are declared _____ (variables with names with first letters between I and N are INTEGERs, others are reals).  |  |   Most variables are declared implicitly (variables with names with first letters between I and N are INTEGERs, others are reals).  |  |  | 
|  开始学习 COBOL (COmmon Business Oriented Language) was created at the end of the _____ by a committee of the US Dept of Defense  |  |   COBOL (COmmon Business Oriented Language) was created at the end of the 1950s by a committee of the US Dept of Defense  |  |  | 
|  开始学习 It was designed for ___ ___ _____ rather than for scientific computing.  |  |   It was designed for business data processing rather than for scientific computing.  |  |  | 
|  开始学习 Its ______ syntax had the intention that managers as well as programmers should be able to ___the code; e.g.: SUBTRACT TAX FROM GROSS-PAY GIVING NET-PAY.  |  |   Its verbose syntax had the intention that managers as well as programmers should be able to read the code; e.g.: SUBTRACT TAX FROM GROSS-PAY GIVING NET-PAY.  |  |  | 
|  开始学习 COBOL has had many _____ e.g., programmers who feel that its verbosity simply increases program length, not ______  |  |   COBOL has had many critics, e.g., programmers who feel that its verbosity simply increases program length, not readability  |  |  | 
|  开始学习 Like Fortran, COBOL has seen _____ use since first introduced, initially pushed by the __ ___.  |  |   Like Fortran, COBOL has seen continued use since first introduced, initially pushed by the US DoD.  |  |  | 
|  开始学习 A large amount of ___ in business ____ running today has been written in COBOL.  |  |   A large amount of code in business applications running today has been written in COBOL.  |  |  | 
|  开始学习 what are the mahor concepts of Algo 60?  |  |   [1] use of formal notation for syntax (BNF notation - lecture 5) [2] block structure (with locally-defined variables) [3] recursive procedures [4]“readable” if and for statements.  |  |  | 
|  开始学习 It is a direct descendant of ____  |  |   It is a direct descendant of Algol  |  |  | 
|  开始学习 Pascal was intened to be more ___ to compete with ____ as a ____purpose lang  |  |   Pascal was intened to be more effiecet to compete with fortran as a general purpose lang  |  |  | 
|  开始学习 Pascal became popular in the late 70s as a ____ language in universities  |  |   Pascal became popular in the late 70s as a teaching language in universities  |  |  | 
|  开始学习 What is required as the first line of a pascl program?  |  |   The program statement is a required first line of every program.  |  |  | 
|  开始学习 every pascal program must have a name, t/f?  |  |  |  |  | 
|  开始学习 whast does "input" mean in a pascal program?  |  |   input means that the keyboard may be used to put information into the program.  |  |  | 
|  开始学习 What does "output mean in a pascal program?  |  |   output means that the program may write information to the video display.  |  |  | 
|  开始学习 what key word does every pascal program have at the start  |  |  |  |  | 
|  开始学习 what key word does every pascal program have at the finish  |  |  |  |  | 
|  开始学习 What are the features of a scripting language?  |  |   Typically scripting languages are typeless, with relatively simple syntax and semantics, interpreted and intended to be very fast to learn and write in  |  |  | 
|  开始学习 What re the features of the logical programming language prolog?  |  |   -Variables-Constants-Structures[1] Vars begin with a capital letter[2] Constants are either atoms, like english or integers, eg 6[3] Structures consist of a functor and arguments, eg speaks(Y, english). Speaks is the functor. Y, english are arguments.  |  |  | 
|  开始学习 A Prolog program consists of a collection of __ and __  |  |   A Prolog program consists of a collection of facts and rules. Prolog program containing 2 facts and one rule. speaks(mary, russian). speaks(jake, english). talkswith(X, Y):- speaks(X, L), speaks(Y, L), X \= Y  |  |  | 
|  开始学习 Prolog programs are used to answer ____ (although simple arithmetic operations are possible)  |  |   Prolog programs are used to answer queries (although simple arithmetic operations are possible)  |  |  | 
| 开始学习 |  |   a fact or rule that initiates a search for success. It specifies a search goal by naming variables that are of interest. E.g.,?- speaks(Who, russian). asks for an instantiation of the variable Who for which the query speaks(Who, russian) succeeds.  |  |  | 
|  开始学习 what are the language evaluation criteria? S__, l__ e__, O__, C__ s__, D__ t__, E__, T__ c__, E__ h__  |  |   what are the language evaluation criteria? Simplicity, lexical elements, Orthogonality, Control structures, Data types, Expressiveness, Type checking, Expectation handling  |  |  | 
|  开始学习 what are the language evaluation criteria?  |  |   what are the language evaluation criteria? Simplicity, lexical elements, Orthogonality, Control structures, Data types, Expressiveness, Type checking, Expectation handling  |  |  | 
| 开始学习 |  |   [1] lang' with small num' of constructs is easier to learn[2] eg complex language, C has 4ways of incrementing an int var: i=i+1; i+=1; i++; ++i;[3] this may be bad for the readability of C programs, but may make them easier to write  |  |  | 
| 开始学习 |  |   [1] The form that the individual lexical elements (i.e. words, symbols) of a language take can affect language readability. [2] The meaning of a symbol or keyword should ideally be obvious from its name.  |  |  | 
| 开始学习 |  |   [1] a lang' has a small number of control n data constructs (eg: data types), that can be combined in a small number of ways and where every combination is legal and meaningful. [2] no “special cases” to remember in the use of its constructs.  |  |  | 
|  开始学习 What is the impact of Orthogonality?  |  |   [1] The orthogonality of a language has an effect on both the readability and the writability of software. [2] If a language’s rules contain fewer special cases, it is easier to learn (and therefore easier to read and write).  |  |  | 
|  开始学习 Explain the importance of data types  |  |   [1] must have rich set of datatypes [2] C (until recently) included no boolean type (0 was used for false and any nonzero integer for true). readablity impcat: finished = 1; finished = true;  |  |  | 
| 开始学习 |  |   The expressiveness of a programming language relates to how much code (and effort) is required to implement computations. E.g., in Java, i++ is more convenient to write than i = i + 1.  |  |  |