Questions: Type Systems Overview

3 questions to test your understanding

Score: 0 / 3
Question 1 Multiple Choice

Which of the following correctly describes the relationship between static/dynamic typing and strong/weak typing?

AStatic typing always implies strong typing; dynamic typing always implies weak typing.
BThey are orthogonal dimensions — a language can be any combination of the two.
CStrongly-typed languages must check types at compile time.
DDynamic typing means the language does not have types at all.
Question 2 True / False

A statically-typed language guarantees there will be no type errors at runtime.

TTrue
FFalse
Question 3 Short Answer

Why is a type system described as improving program correctness rather than just documentation?

Think about your answer, then reveal below.