Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/21

Click to flip

21 Cards in this Set

  • Front
  • Back
What is ASCII?
American Standard Code for Information. Stores characters in a 7bit byte. 0-127
What is ANSI?
American National Standards Institue

defines code pages that have standard ASCII values from 0-127 and language specific values from 128-255
What is a code page?
Character Encoding table:
A mapping in which a sequence of bits is associated with a specific character
What is Unicode?
Unicode characters can use only one byte, or up to four bytes, to hold a Unicode "code point." The code point is a unique number for a character or some character aspect such as an accent mark or ligature. Unicode supports more than a million code points, which are written with a "U" followed by a plus sign and the number in hex; for example, the word "Hello" is written U+0048 U+0065 U+006C U+006C U+006F
What Unicode does the .NET Framework us as a default?
UTF16, sometimes UTF-8
Describe the quantifiers
^
$
\A
\Z
\G
^ the match must begin with (multine)
$ must end at (before \n) multiline
\A must match at the first character, ignores multiline
\Z must match at the end, ignores multiline
\G must match at the point where the last match ended
Regex
*
and what is the equivelant?
zo*
Matches the preceding character or subexpression ZERO or more times
{0,}
"z", "zoo"
Regex
+
and what is the equivelant?
Matches the preceding character or subexpression ONE or more times
{1,}
Regex
?
and what is the equivelant?
Matches the preceding character ZERO or ONE time
{0,1}
Regex
{n}
Matches exactly n-times
o{2} --> boob
Regex
{n,}
Matches at least n-times
Regex
{n,m}
Matches at least n at most m
Regex
[xyz]
ANY of the enclosed characters
Regex
[a-z]
matches any lower case character
Regex
\d
and equivelant?
any digit
[0-9]
Regex
\D
and equivelant?
any non-digit [^0-9]
Regex
\s
any whitspace
Regex
\S
any non whitespace
regex
()
groups
Create a regex pattern and show matching groups
Regex r = new Regex();
for (m = r.Match(inputString), m.Success, m.NextMatch())
{
m.Groups[1]

}
Show an example how to string replace using Regex
Regex.Replace("\b(?<month>..", "${month}))