GoConqr has a new look! Let us know what you think.

Quiz

CS4337 Exam 1

Tracey Powell 151 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (151)

  1. 1In the context of a programming language, an examples of ____ in C is a function can return a value of any type, except for an array type or a function type.
    1. Anon-readability
    2. Bnon-writability
    3. Cnon-expressibility
    4. Dnon-maintainability
    5. Enon-orthogonality
  2. 2In the context of a programming language, this is about the existence of multiple ways of doing the same operation. Examples: incrementing a variable in C-based syntax, looping constructs (while, do while, for), Java's conditional ternary operator (?:).
    1. Amultiple aliasing
    2. Bmultiple operator
    3. Cfeature multiplicity
    4. Doperator overloading
    5. Eorthogonal multiplicity
  3. 3In the context of a programming language, the degree of orthogonality is ____ if particular combinations are forbidden (as exceptional cases) or the meaning of a particular combination is not evident from the meanings of its component parts, each one considered without regard to context.
    1. Alessened
    2. Bincreased
    3. Cminimized
    4. Dmaximized
    5. Eoptimized
  4. 4In the context of a programming language for its cost, which of the following is not one of the primary concerns?
    1. ATraining programmers as cost is a function of simplicity of language
    2. BWriting and maintaining programs as cost is a function of readability and writability.
    3. CCompiling programs, for very large systems, can take a significant amount of time.
    4. DArray index can or should begin with 0 or 1, or any number.
    5. EExecuting programs at run-time with various features can be very expensive.
  5. 5In the context of a programming language, this can aid readability if used with discretion, but can lessen readability if used unwisely (e.g., by using + as a comparison operator).
    1. Afunctional closure
    2. Boperator overloading
    3. Cparametric polymorphism
    4. Dvirtual inheritance
    5. Eoperator inheritance
  6. 6In the context of a programming language, a language that allows you to express computations/algorithms very concisely (such as APL, with its collection of powerful array and matrix operators) also tends to be difficult to read.
    1. AReliability vs cost (of execution)
    2. BWritability vs. readability
    3. CWritability vs. reliability
    4. DPortability vs. Generality
  7. 7In the context of a programming language, this is enhanced by the presence of powerful operators that make it possible to accomplish a lot in a few lines of code. The classic example is APL.
    1. Areadability
    2. Bwritability
    3. Cexpressibility
    4. Dmaintainability
    5. Eorthogonality
  8. 8In the context of a programming language, functional languages tend to be very ____, in part because functions are "first-class" entities which can be passed as parameters.
    1. Areadable
    2. Bwritable
    3. Cexpressible
    4. Dmaintainable
    5. Ereliable
  9. 9In the context of a programming language, this is a measure of how easily a language can be used to develop programs for a chosen problem domain.
    1. Areadability
    2. Bwritability
    3. Creliability
    4. Dcost
    5. Eorthogonality
  10. 10In the context of a programming language, this refers to the ease with which programs (in the language under consideration) can be understood. This is especially important for software maintenance.
    1. Areadability
    2. Bwritability
    3. Creliability
    4. Dcost
    5. Eorthogonality

Information

Description
Computer Science Quiz on CS4337 Exam 1, created by Tracey Powell on 27/09/2016.
Language
English
Views
4
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?