Name | Scope | Duration | Outline | Test |
Test-A | Ch 1-3 | 90 min | ![]() |
![]() |
Test-B | Ch 1-6 | 90 min | ![]() |
![]() |
Test-C | Ch 7-9 | 90 min | ![]() |
![]() |
Test-D | Ch 7-12 | 90 min | ![]() |
![]() |
Some of the questions (and answers) in these tests use the IO
and SE
classes (of type.lang
) to perform input/output operations and contract declarations.
The examples in the book use Scanner
, PrintStream
, and
ToolBox
to perform these functions. As far as these tests are concerned, the two
approaches are equivalent and one can easily translate one to the other. For example,
IO.readDouble()
is similar to input.nextDouble()
,
IO.print
is similar to output.print
, and
SE.require
is similar to ToolBox.crash
.