Start learning →

Valid or invalid identifier

Exercise and reference answers

Left
Allowed
Items
  1. Item
    marks1
    Answer
    Allowed
  2. Item
    _total
    Answer
    Allowed
  3. Item
    avgMarks
    Answer
    Allowed
  4. Item
    1marks
    Answer
    Not allowed
  5. Item
    for
    Answer
    Not allowed
  6. Item
    my@name
    Answer
    Not allowed
Right
Not allowed
Instructions
Swipe left if the name is allowed, right if it is not.

Explanation

_Source: syllabus Computer Science, Ch 5 'Getting Started with Python'_
Continue learning with Quill →

Browse more BCA questions and exercises →