Flashcards
Chapter 12 (Text Processing)
Cards in this deck (6)
- 1In pseudocode, how would you display the first character in the string variable "str"?Display str[0]
- 2In pseudocode, how would you display the last character in the string variable "str"?Display str[length(str) - 1]
- 3In pseudocode, how would you use the insert function to change "berry" to "blackberry" for the string variable "str"?insert(str, 0, "black")
- 4In pseudocode, how would you use the delete function to change "Redmond" to "Red" for the string variable "str"?delete(str, 3, 6)
- 5What will the following pseudocode result in? Declare String name = "Sall" Set name [4] = "y"An error will occur.
- 6Using a subscript to access a specific character of a string is known as _____.Subscript Notation
Information
- Description
- User has deleted their subject information Flashcards on Chapter 12 (Text Processing), created by Deleted user on 12/01/2021.
- Created by
- Deleted user · Jan 2021
- Updated
- Jan 12, 2021
- Views
- 15
- Tags
- History
-
- Created by Andrew Lewis · Dec 14, 2020
- Copied by Andrew Lewis · Jan 12, 2021
- Rating