What is a string in programming?

Lab7_Quiz_section2

Quiz
•
Computers
•
University
•
Medium
bme programming
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A series of integers
A series of characters
A mathematical function
A data type for boolean values
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Length property of a string do?
Returns the number of words
Returns the number of characters
Modifies the string size
Converts the string to uppercase
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you convert a string to uppercase in C#?
ToUppercase()
ToUpper()
Upper()
MakeUpper()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to compare two strings in C#?
CompareTo()
compareto()
Same()
Match()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the CompareTo() method return if two strings are equal?
-1
0
1
null
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of "Hello".Substring(0, 2);?
"He"
"llo"
"Hel"
"Hello"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is use to remove specified Unicode characters at the beginning and end of the string?
Trim()
Split()
Substring()
split()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Array and string unit 7

Quiz
•
University
10 questions
PYTHON_CHAPTER 6

Quiz
•
University
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
10 questions
PSP Week3

Quiz
•
University
10 questions
Variable warm-up activity

Quiz
•
6th Grade - University
9 questions
String Methods

Quiz
•
12th Grade - University
10 questions
DFA - Design 2

Quiz
•
University
15 questions
JavaScript String Methods

Quiz
•
12th Grade - Professi...
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade