Chapter 12 (Text Processing)

Beschreibung

Computer Science Karteikarten am Chapter 12 (Text Processing), erstellt von Andrew Lewis am 14/12/2020.
Andrew Lewis
Karteikarten von Andrew Lewis, aktualisiert more than 1 year ago
Andrew Lewis
Erstellt von Andrew Lewis vor fast 4 Jahre
11
0

Zusammenfassung der Ressource

Frage Antworten
In pseudocode, how would you display the first character in the string variable "str"? Display str[0]
In pseudocode, how would you display the last character in the string variable "str"? Display str[length(str) - 1]
In pseudocode, how would you use the insert function to change "berry" to "blackberry" for the string variable "str"? insert(str, 0, "black")
In pseudocode, how would you use the delete function to change "Redmond" to "Red" for the string variable "str"? delete(str, 3, 6)
What will the following pseudocode result in? Declare String name = "Sall" Set name [4] = "y" An error will occur.
Using a subscript to access a specific character of a string is known as _____. Subscript Notation
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

TOEFL English Vocab (A - M)
Ali Kane
Random German A-level Vocab
Libby Shaw
Vocabulary Words
Jenna Trost
TOEFL English Vocabulary (N - Z)
Ali Kane
L'environnement
Bryony Whitehead
TOEFL Vocabulary
aliking
French 1A Vocab
Jade Allatt
10 animals in spanish
Jlaal Mohammed
TOEFL Vocabulary Test
Ali Kane
French 1B Vocab (numbers)
Jade Allatt
French 1D Vocab
Jade Allatt