CSCI410 Programming Languages Exam 1-Questions and Answers Graded A+
CSCI410 Programming Languages Exam 1-Questions and Answers Graded A+ List some programming domains/paradigms - ANSWER-Meyer says: scientific data processing (cobol) artificial intelligence systems programming web software others: general purpose, computer vision Google says: Functional Programming Object-Oriented Programming Procedural Programming Imperative Programming Logic Programming Declarative Programming Fortan - ANSWER-Stands for Formula Translation. It was developed for scientific and engineering applications, and for easy translation of formulas into code. Supported floating-point arithmetic Cobol - ANSWER-Common business orented language Used for business use and commerce Prolog - ANSWER-Programming in logic (an example of logic programming) What makes a programming language orthogonal? - ANSWER-To be truly orthogonal, a language should have few primitive constructs that can be combined in every possible way. A language is more orthogonal if it tends toward this state. An orthogonal language should be able to combine any data type with any operator, for example What makes a language readable? - ANSWER-Overall simplicity - has a straightforward set of constructs orthogonality data types - enough data types to cover needs control structures - enough, not too many, easy-to-use syntax issues - upper/lowercase, meaningful keywords, use of delimiters What make a language writable? - ANSWER-All of the readability stuff applies support for abstraction - C++ class, for example expressivity - ways of specifying control and operators; this clashes somewhat with orthogonality What factors affect a language's reliability? - ANSWER-In the past, the language implementations themselves would be unreliable, i.e., the compiler wouldn't work correctly language can lack features or have too many type checking aliasing readability and writability affect reliability
Written for
- Institution
- COMPUTER SCIENCE
- Course
- COMPUTER SCIENCE
Document information
- Uploaded on
- April 25, 2024
- Number of pages
- 117
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- programming domains
- language categories
- aliasing
- computer programs
- software engineers
- program translation
- virtual computers
-
attribute gr
-
csci410 programming languages exam 1
-
types of dynamic semantics
Document also available in package deal