Skip to content

Question possible error #43

Description

@tony5Dim

Hi!
In arrays.yml l.59

question: 'If you wanted a variable containing the letters A through Z, that allowed you to access each letter independently, which of the following approaches could you use?'
answers:
- {value: "$str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';", correct: true}
- {value: "range('A', 'Z');", correct: true}
- {value: 'explode("", "ABCDEFGHIJKLMNOPQRSTUVWXYZ");', correct: false}
- {value: 'You would use the ALPHA_ARRAY constant', correct: false}
- {value: 'None of the above', correct: false}

Does the answer

$str = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';

is correct ? Since we can't access each letter independently...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions