Multiple Choice
Case Study 1:
1. >>> name = "Roy G Biv"
2. >>> first = name[0]
3. >>> first
4. >>> middleChar = name[4]
5. >>> middleChar
6. >>> name[-1]
-Refer to the session in the accompanying Case Study 1. What is printed after line 3?
A) 'R'
B) R
C) 'v'
D) G
Correct Answer:

Verified
Correct Answer:
Verified
Q12: The letter 'a' corresponds to the number
Q13: The concatenation operator joins two strings and
Q14: Although the function call len('abc') returns 3,
Q15: What is the result of the following
Q16: Case Study 2:<br>1. def scramble2Encrypt(plainText):<br>2. evenChars =
Q18: What is the value of 'John'[0]?<br>A) J<br>B)
Q19: Match each line of code with a
Q20: What is the repetition operator in Python?<br>A)
Q21: What is the [:] operator called?<br>A) Cut<br>B)
Q22: Match each line of code with a