
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
What is a string in programming?
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
15 questions
JavaScript String Methods

Quiz
•
12th Grade - Professi...
10 questions
Array and string unit 7

Quiz
•
University
10 questions
PYTHON_CHAPTER 6

Quiz
•
University
6 questions
String3

Quiz
•
University
12 questions
Quiz #3-CS 213

Quiz
•
University
10 questions
Q2 - Python

Quiz
•
University
10 questions
PAct3 - Data Structures and algorithm

Quiz
•
University
10 questions
DFA - Design 2

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade