GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

programming languages midterm

Duncan Levings 123 Fragen

Quiz starten

Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.

Fragen in diesem Quiz (123)

  1. 1What is a programming language?
    a notational system for describing computation in human-readable and machine-readable form
    1. ARichtig
    2. BFalsch
  2. 2Is HTML a programming language? no.

    a programming language must be Turing complete meaning it has integer variables, arithmetic and sequentially executes statements, selection (if), and loop (while) statements, and has a mechanism for defining new functions using existing functions, selection, and recursion
    1. ARichtig
    2. BFalsch
  3. 3What are some of the concepts of a programming language?
    1. Aparameter passing (by-value, by-reference)
    2. Btyping (static or dynamic)
    3. Csupport for abstraction (procedural, data)
    4. Dscope (static or dynamic)
    5. Eimplementation (interpreted or compiled)
    6. Freadability (language)
    7. Greliability (safety)
  4. 4[blank_start]C vs. C++ vs. C#[blank_end] for systems programming
    [blank_start]Fortran vs. C[blank_end] for numerical computations
    [blank_start]PHP vs. Ruby[blank_end] for web-based applications
    Ada vs. C for embedded systems
    Common Lisp vs. Scheme vs. ML for symbolic data manipulation
    [blank_start]Java vs. .NET[blank_end] for networked PC programs
    1. AC vs. C++ vs. C#
    2. BFortran vs. C
    3. CPHP vs. Ruby
    4. DJava vs. .NET
  5. 5Programming languages have four properties:
    1. ASyntax
    2. BNames
    3. CTypes
    4. DSemantics
    5. ELogic
    6. FVariables
    7. GFunctions
  6. 6The syntax of a programming language is a precise description of all its grammatically correct programs
    1. ARichtig
    2. BFalsch
  7. 7Named entities are bound in a running program to:
    1. Ascope
    2. Bvisibility
    3. Ctype
    4. Dlifetime
    5. Eglobal
    6. Fsyntax
  8. 8A type is a collection of values and a collection of operations on those values

    Simple types - numbers, characters, booleans
    Structured types - Strings, lists, trees, hash tables
    1. ARichtig
    2. BFalsch
  9. 9Type system in a programming language is needed to organize data and helps to check the correctness of programs:
    Determine legal operations
    Detect type errors
    1. ARichtig
    2. BFalsch
  10. 10What is a paradigm?
    a model or world view

    What is a model?
    a simplified view of something in the real world

    What is a programming language paradigm?
    a pattern for a programming language to follow
    1. ARichtig
    2. BFalsch

Informationen

Beschreibung
Computer Science Quiz am programming languages midterm, erstellt von Duncan Levings am 26/10/2018.
Sprache
English
Aufrufe
16
Schlagwörter
computer science
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck