O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Programming Languages Ch12 & Ch13

Miguel Lopez 28 perguntas

Fazer o quiz

Este quiz tem tipos de pergunta que abrem no player de sempre.

Perguntas do 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. AVerdadeiro
    2. BFalso
  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. AVerdadeiro
    2. BFalso
  7. 7All variables are typeless in Smalltalk
    1. AVerdadeiro
    2. BFalso
  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. AVerdadeiro
    2. BFalso
  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

Informações

Descrição
Computer Science Quiz sobre Programming Languages Ch12 & Ch13, criado por Miguel Lopez em 13-04-2022.
Idioma
English
Visualizações
1
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?