wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

ESDE GOTH Stack Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What elements are part of the Goth Stack we presented today?

a)

Go, TailwindCSS, htmx

b)

Go, Templ, html

c)

Go, TailwindCSS, html

d)

Go, Templ, htmx

2.
  1. What is Go’s mascot called?

a)

Gopher

b)

Gopi

c)

Golana

d)

Sven

3.
  1. What are the strengths of Go?

a)
  • Simplicity, easy to learn

b)
  • Rich feature set, elegant pattern matching

c)
  • Low level memory control

d)
  • Lots of syntactic sugar

4.
  1. Which of the following is NOT a benefit of templ?:

a)
  • It enables you to write Go code within your HTML templates

b)
  • It provides type-safety for your html templates

c)
  • It requires no compilation step

d)
  • It automatically escapes dynamic content

5.

Which of the following htmx-tags do you use to specify that the element with id “content” should be swapped with the result from the server?

a)

hx-swap=”outerHTML”

b)

hx-target=”this.content”

c)

hx-swap=”content”

d)

hx-target=”#content”

6.
  1. What are the principle(s) that HTMX builds on?

a)
  • Client-side state management, agnostic about API design

b)
  • Hypermedia as the engine of application state, RESTful API design

c)
  • Close coupling of client and server

d)
  • Clients should be able to handle both HTML and JSON, as should the server

7.

For what kind of websites is the stack NOT suited for?

a)
  • Highly interactive, offline-first single-page applications with complex client-side state

b)
  • Basic CRUD-based applications that mostly serve server-rendered HTML

c)
  • Simple marketing landing pages

d)
  • Server-driven dashboards

8.
  1. What are the features that make Go great for web servers?

a)
  • HTTP-first language design

b)
  • High performance, great support for concurrency

c)
  • Availability of structs and pointers, errors as values

d)
  • The combination of being both AOT-compiled and having a garbage collector

9.
  1. Which advantage does Templ provide compared to traditional string-based HTML templates?

a)
  • It automatically generates React components from your HTML

b)
  • It allows dynamic editing of templates in the browser with no backend

c)
  • It requires no knowledge of Go

d)
  • It offers type-checking and compile-time validation of templates, reducing runtime errors

10.
  1. Why is Go not a good choice for embedded programming?

a)
  • Because it is JIT-compiled

b)
  • Because it was designed to run in the cloud

c)
  • Because it has a garbage collector

d)
  • Because it has a garbage collector