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

Quiz

Programming Languages Ch12 & Ch13

Miguel Lopez 28 Fragen

Quiz starten

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

Fragen in diesem Quiz (28)

  1. 1– [blank_start]explicit[blank_end] (Programmer control)
    • [blank_start]Dangling pointer[blank_end] problem

    - [blank_start]Implicit[blank_end] through garbage collection
    • Various Garbage collection techniques
    1. Aexplicit
    2. BDangling pointer
    3. CImplicit
  2. 2Should all binding of messages to methods be
    dynamic?
    1. ARichtig
    2. BFalsch
  3. 3The initialization issue is [blank_start]whether[blank_end] and [blank_start]how[blank_end] objects are [blank_start]initialized[blank_end] when they are created.
    1. Awhether
    2. Bhow
    3. Cinitialized
  4. 4Smalltalk is a pure [blank_start]OOP[blank_end] language
    – Everything is an [blank_start]object[blank_end]
    – All computation is through [blank_start]objects[blank_end] sending messages to
    [blank_start]objects[blank_end]
    – None of the appearances of imperative languages
    – All objected are allocated from the [blank_start]heap[blank_end] and referenced
    through [blank_start]reference variables[blank_end]
    – All de-allocation is [blank_start]implicit[blank_end]
    – Constructors must be [blank_start]explicitly[blank_end] called when an object is
    created
    • A class can have multiple [blank_start]constructors[blank_end], but each must have a
    [blank_start]unique name[blank_end]
    1. AOOP
    2. Bobject
    3. Cobjects
    4. Dobjects
    5. Eheap
    6. Freference variables
    7. Gimplicit
    8. Hexplicitly
    9. Iconstructors
    10. Junique name
  5. 5Support for OOP in Smalltalk

    Type Checking and Polymorphism
    – All binding of messages to methods is [blank_start]dynamic[blank_end]
    1. Adynamic
  6. 6The only type checking in Smalltalk is static
    1. ARichtig
    2. BFalsch
  7. 7All variables are typeless in Smalltalk
    1. ARichtig
    2. BFalsch
  8. 8in Smalltalk, all [blank_start]subclasses[blank_end] are [blank_start]subtypes[blank_end] (nothing can be hidden
    1. Asubclasses
    2. Bsubtypes
  9. 9Smalltalk is fast compared with conventional compiled imperative languages
    1. ARichtig
    2. BFalsch
  10. 10Dynamic binding allows [blank_start]type errors[blank_end] to go [blank_start]undetected[blank_end] until run time
    1. Atype errors
    2. Bundetected

Informationen

Beschreibung
Computer Science Quiz am Programming Languages Ch12 & Ch13, erstellt von Miguel Lopez am 13/04/2022.
Sprache
English
Aufrufe
1
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