NCAE Mapping Hub
Overview Scoreboard Data Roles Exercised Checklists Lessons Skill Drills Practice Terminal Progress
multiple_choice easy Remember quoting 2 points

Question 9. CSCD240-E1-C

NAME=ops. echo '$NAME' prints what?

Work the drill

Answer on paper or in a terminal before revealing the ideal answer.

Ideal answer
B: $NAME

Misconception bank

Each row below is a plausible wrong answer, the thinking that produces it, and the remedy that corrects the misconception. These are the foundation of the multiple-choice framing and the targeted feedback a student receives after answering.

A: ops
Misconception. That is double-quoted behavior.
Remedy. Single = literal.
C: (empty)
Misconception. Single quotes do not blank the value.
Remedy. Literal output of what is between quotes.
D: Error: unbound variable
Misconception. No errors — single quotes make it literal.
Remedy. set -u would error, but default shell does not.

Authority mappings

Hover any chip for the mapping justification; click to open the authority record.

DCWF tasks: T0498
KU outcomes: CD-BSP-O1
KU topics: CD-BSP-T8a
NCAE errors: WWW Content / failure: Failed to connect to hostWWW Content / timeout: TimeoutWWW Content / failure: Website cannot be reached

Course-artifact links

Lectures

  • CSCD240-S26-L07. I/O redirection, aliases, source, .bashrc, env

Lab questions

  • CSCD240-S26-LAB4: Set var="Stu Steiner". Show echo "$var" and echo '$var'.

CTF challenges

  • 04 Environment & Patterns: Literal vs Expanded