Difference between revisions of "Sandbox"

From Coder Merlin
(Created page with "== Quiz == <quiz shuffleanswers=true display=simple> { Select ALL of the following lines which would best be refactored as a function: |type="[]"} + Elements are in nearly so...")
 
 
Line 1: Line 1:
== Quiz ==
== Quiz ==
<quiz shuffleanswers=true display=simple>
<quiz shuffle=none display=simple>


{
{
Select ALL of the following lines which would best be refactored as a function:
Select ALL of the following lines which would best be refactored as a function:
|type="[]"}
|type="[]"}
+ Elements are in nearly sorted order
+ <syntaxhighlight lang=swift inline>print("Hello, World!")</syntaxhighlight>
- Elements are already sorted in reverse order
- Elements are already sorted in reverse order
- The set of elements is very large  
- The set of elements is very large  

Latest revision as of 17:22, 3 February 2021

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

Quiz[edit]

Select ALL of the following lines which would best be refactored as a function:

print("Hello, World!")
Elements are already sorted in reverse order
The set of elements is very large
Doubles (floating point types) are used rather than integers