Flashcards
Chapter 12 (Text Processing)
Flashcards do conjunto (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
Informações
- Descrição
- O usuário eliminou as informações de disciplina FlashCards sobre Chapter 12 (Text Processing), criado por Usuário eliminado em 12-01-2021.
- Criado por
- Usuário eliminado
- Visualizações
- 15
- Tags
- Histórico
-
- Criado por Andrew Lewis · 14 dez 2020
- Copiado por Andrew Lewis · 12 jan 2021
- Avaliação