Backslash escape characters Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Show how to express this in backslash-escape style.

tab

A

\t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Show how to express this in backslash-escape style.

newline

A

\n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Show how to express this in backslash-escape style.

carriage return

A

\r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Show how to express this in backslash-escape style.

form feed

A

\f

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Show how to express this in backslash-escape style.

backspace

A

\b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Show how to express this in backslash-escape style.

bell

A

\a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Show how to express this in backslash-escape style.

escape (ASCII)

A

\e

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Show how to express this in backslash-escape style.

whitespace

A

\s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Show how to express this in backslash-escape style.

any character as an octal value

A

\nnn (e.g. \000)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Show how to express this in backslash-escape style.

any character as a hexadecimal value

A

\xnn (e.g. \x7f)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Show how to express this in backslash-escape style.

any ASCII control character

A

\cx or \C-x (examples of Control-X)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Show how to express this in backslash-escape style.

any meta character

A

\M-x (example of Meta-X)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Show how to express this in backslash-escape style.

any meta-control character

A

\M-\C-x (example of Meta-Control-X)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly