Exam 8: Cryptanalysis: Advanced Dictionaries and Lists, Regular Expressions

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

In a regular expression, a part of the expression surrounded by () is called a(n):

(Multiple Choice)
4.8/5
(41)

Match each definition with its term. -Refers to the field of code breaking.

(Multiple Choice)
4.8/5
(35)

What is the difference between row major order and column major order?

(Essay)
4.8/5
(35)

Case Study 2: 1. def maybeAdd(ch, toList): 2. if ch in 'abcdefghijklmnopqrstuvwxyz' and ch not in toList: 3. toList.append (ch) -Refer to the session in the accompanying Case Study 2. What is the value of myList after the following code is executed? >>> myList = [] >>> maybeAdd('a', myList)

(Multiple Choice)
4.8/5
(47)

Manually trying every possible combination of letters to decode a message is called:

(Multiple Choice)
4.8/5
(37)

What method sorts a list of values from largest to smallest?

(Multiple Choice)
4.8/5
(41)

The rail-fence cipher with a rail size of ___ breaks the plaintext into strings consisting of characters with odd and even numbered indexes.

(Multiple Choice)
4.9/5
(44)

Match each definition with its term. -Allows us to match strings using patterns.

(Multiple Choice)
4.9/5
(38)

One effective way to ignore non-letter characters is to add them to the string before we start counting.

(True/False)
4.8/5
(32)

What is the value of myList after the following statement? MyList = myList.sort().

(Multiple Choice)
4.8/5
(34)

When decrypting using the rail fence cipher, one can easily see how many rails were used and encrypt the message by simply examining the encoded message.

(True/False)
4.9/5
(37)

In Python, regular expressions are available through the ____ module.

(Multiple Choice)
4.9/5
(41)
Showing 21 - 32 of 32
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)