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 Quizizz
10 questions
PAct3 - Data Structures and algorithm

Quiz
•
University
10 questions
PSP Week3

Quiz
•
University
10 questions
Unit 5

Quiz
•
University
15 questions
AEM 249 Lecture 16

Quiz
•
University
9 questions
String Methods

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

Quiz
•
University
10 questions
Array and string unit 7

Quiz
•
University
12 questions
Quiz #3-CS 213

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade