Script basics · Question 5 of 12

How do you assign the value Anna to the variable name?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • D name=Anna

Explanation

An assignment has no spaces around the equals sign and no $ in front of the name. The $ is only needed when reading the value.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications