
CS172 - Strings Week 12

Flashcard
•
Other
•
12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

11 questions
Show all answers
1.
FLASHCARD QUESTION
Front
A _________ is a data type typically used to hold a collection of printable characters such as words, sentences, or longer sequences.
Back
string
2.
FLASHCARD QUESTION
Front
When a literal value is assigned to a string, it should be surrounded by double _________.
Back
quotes
3.
FLASHCARD QUESTION
Front
To find the length of a string (number of characters), we can use the function.
Back
length
4.
FLASHCARD QUESTION
Front
It is also possible to use the arithmetic operator + with strings to _________ the two strings.
Back
concatenate
5.
FLASHCARD QUESTION
Front
This means you start at the beginning of a string, select each character in turn, do something to it, and continue until the end.
Back
traversal
6.
FLASHCARD QUESTION
Front
In order to use strings in your program you must first include the string _________.
Back
library
7.
FLASHCARD QUESTION
Front
Which of the following is closest equivalent to the code below?
char str[] = "hello";
Options:
char str[10] = "hello";
char str[10] = {'h','e','l','l','o',\0};
char str[10] = {'h','e','l','l','o'};
char str[6] = "hello";
Back
char str[6] = "hello";
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
hello kitty y sus amigos

Flashcard
•
KG
8 questions
Sanrio

Flashcard
•
KG
10 questions
DNA vocab

Flashcard
•
11th - 12th Grade
14 questions
Halloween Java

Flashcard
•
12th Grade
12 questions
IT Concept Terminology II

Flashcard
•
11th Grade
10 questions
Python - Slicing Strings - 2

Flashcard
•
12th Grade
10 questions
Python - Slicing Strings - 2

Flashcard
•
12th Grade
5 questions
Enhanced For Loops

Flashcard
•
10th - 12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Chaffey

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade
12 questions
Classifying Polys - 1.1

Quiz
•
10th - 12th Grade
20 questions
1.1 (b) Add / Sub/ Multiply Polynomials

Quiz
•
12th Grade