Quiz: GT Basics

Initial DRAFT to be expanded. For now, answers are in the comments.

This quiz is intended to allow you to assess your learning in the module 1. Learn the basics of Glamorous Toolkit.

Glamorous Toolkit is: (a) a programming language (b) a notebook system (c) a development environment (d) a language workbench.

(c) GT is a moldable development environment mainly supporting code written in Smalltalk, but providing support and language bridges for other languages envronments, such as Python, JavaScript and Rust. It includes a notebook system called Lepiter, as well as the language workbenches SmaCC and PetitParser.

Glamorous Toolkit is: (a) implemented in Pharo Smalltalk (b) is built on Pharo (c) is a Pharo development environment (d) is an application on top of Pharo.

(b) GT is built on top of the Pharo core, but completely replaces the graphical stack and many of the tools. Applications developed within GT are meant to run within GT, and won't necessarily work in Pharo. Pharo apps that depend on the Morphic graphical stack will not run in GT (unless Morphic is loaded first).

GT is: (a) pay by subscription (b) closed source (c) open source (d) shareware.

(c) GT is free and open source under an MIT license.

Moldable development means: (a) you can change any of the code in GT (b) the development tools can be adapted to the context of any application (c) GT tools can be easily adapted for new purposes (d) new user interfaces can easily be added to the development tools.

(b) The GT tools can be easily extended so they behave differently depending on the specific context in which they are used. For example, the object Inspector will show different views depending on contextual views and actions provided by the objects being inspected. The other answers are not wrong, but they miss the point.

Lepiter knowledge bases are meant to: (a) record documentation (b) track progress of a project (c) serve as a starting point for development (d) act as a repository of random ideas and code snippets

Trick question. All answers are correct. The GT Book is a Lepiter database providing documentation and tutorials for GT itself, and project knowledge bases are often used to record and track development, while your private database can be used as a “junkyard” of ideas.