Smalltalk Basic Programming Test

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Cripstwick
C
Cripstwick
Community Contributor
Quizzes Created: 636 | Total Attempts: 795,498
Questions: 10 | Attempts: 553

SettingsSettingsSettings
Smalltalk Basic Programming Test - Quiz

Smalltalk is an object-oriented programming language designed greatly for educational use. Take this basic programming test to assess your knowledge of Smalltalk.


Questions and Answers
  • 1. 

    Which of these was Smalltalk first released as? 

    • A.

      Smalltalk 60

    • B.

      Smalltalk 70

    • C.

      Smalltalk 80

    • D.

      Smalltalk 90

    Correct Answer
    C. Smalltalk 80
    Explanation
    Smalltalk was first released as Smalltalk 80. This indicates that Smalltalk was initially released in the year 1980. The numbering system represents the version of Smalltalk, with Smalltalk 80 being the specific version that was released initially.

    Rate this question:

  • 2. 

    When was the first stable version of Smalltalk released?

    • A.

      1980

    • B.

      1989

    • C.

      1984

    • D.

      1987

    Correct Answer
    A. 1980
    Explanation
    The first stable version of Smalltalk was released in 1980. This means that the software reached a point where it was considered reliable and ready for use by the public. It is important to note that Smalltalk is a programming language and environment that was developed at Xerox PARC in the 1970s. Its release in 1980 marked a significant milestone in the history of programming languages.

    Rate this question:

  • 3. 

    Where was Smalltalk created? 

    • A.

      CERN 

    • B.

      PARC

    • C.

      NASA

    • D.

      MAN

    Correct Answer
    B. PARC
    Explanation
    Smalltalk was created at PARC, which stands for Palo Alto Research Center. PARC is a research and development company located in Palo Alto, California. It is well-known for its contributions to the development of modern computing technologies, including the creation of the Smalltalk programming language. Smalltalk was developed in the 1970s by a team led by Alan Kay at PARC, and it is considered one of the first object-oriented programming languages.

    Rate this question:

  • 4. 

    What type of inheritance does Smalltalk support? 

    • A.

      Unlimited

    • B.

      Single

    • C.

      Double

    • D.

      Triple

    Correct Answer
    B. Single
    Explanation
    Smalltalk supports single inheritance. This means that a class can only inherit from a single superclass. In other words, each class in Smalltalk has only one direct parent class. This type of inheritance allows for a simpler and more straightforward class hierarchy, as compared to multiple inheritance where a class can have multiple parent classes.

    Rate this question:

  • 5. 

    Smalltalk is executed by a virtual machine as which of these languages?

    • A.

      PHP

    • B.

      Java

    • C.

      JavaScript

    • D.

      Python

    Correct Answer
    B. Java
    Explanation
    Smalltalk is executed by a virtual machine as Java. Smalltalk is a dynamic, object-oriented programming language that was designed to be executed on a virtual machine. The Smalltalk virtual machine is written in Java, which allows Smalltalk code to run on any platform that supports Java. This makes it easier to develop and deploy Smalltalk applications, as they can be run on a wide range of devices and operating systems.

    Rate this question:

  • 6. 

    Smalltalk codes are stored in the virtual machine in which form?

    • A.

      Byte-code

    • B.

      Kilo-code

    • C.

      Bit-code

    • D.

      Hex-code

    Correct Answer
    A. Byte-code
    Explanation
    Smalltalk codes are stored in the virtual machine in byte-code form. Byte-code is a low-level representation of the Smalltalk code that can be executed by the virtual machine. It is a compact and efficient form of representation that allows for faster execution of the code. By storing the code in byte-code form, the virtual machine can interpret and execute the Smalltalk code more efficiently, resulting in improved performance.

    Rate this question:

  • 7. 

    Which is the file that contains all Smalltalk codes?

    • A.

      File

    • B.

      Cody

    • C.

      Image

    • D.

      Hotspot

    Correct Answer
    C. Image
    Explanation
    The correct answer is "Image." In Smalltalk programming, an "Image" file contains all the Smalltalk code. This file includes the entire state of the Smalltalk system, including classes, methods, and objects. It is used to save and load the Smalltalk environment, allowing developers to easily save their work and resume it later. The Image file is a crucial component of Smalltalk development as it ensures the persistence and portability of the codebase.

    Rate this question:

  • 8. 

    In which version of Smalltalk was metaclass added? 

    • A.

      Smalltalk 77

    • B.

      Smalltalk 78

    • C.

      Smalltalk 79

    • D.

      Smalltalk 80

    Correct Answer
    D. Smalltalk 80
    Explanation
    The metaclass was added in Smalltalk 80.

    Rate this question:

  • 9. 

    Which version of Smalltalk was Squeak derived from? 

    • A.

      Version 1

    • B.

      Version 2

    • C.

      Version 3

    • D.

      Version 4

    Correct Answer
    A. Version 1
    Explanation
    Squeak was derived from Version 1 of Smalltalk.

    Rate this question:

  • 10. 

    What is the programming paradigm of Smalltalk? 

    • A.

      Procedural

    • B.

      Functional

    • C.

      Object-oriented

    • D.

      Logic

    Correct Answer
    C. Object-oriented
    Explanation
    The correct answer is Object-oriented. Smalltalk is a programming language that follows the object-oriented programming paradigm. It emphasizes the use of objects, which are instances of classes, to represent and manipulate data. In Smalltalk, everything is an object, and interactions between objects occur through message passing. This paradigm allows for encapsulation, inheritance, and polymorphism, enabling the creation of modular and reusable code.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 29, 2018
    Quiz Created by
    Cripstwick
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.