
Lab7_Quiz

Quiz
•
Computers
•
University
•
Medium
bme programming
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property gives the total number of characters in a string in C#?
size( )
Length
count( )
TotalLength
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the CompareTo method return when two strings are equal?
1
0
-1
Equal
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If string1.CompareTo(string2) returns a negative one, what does it mean?
string1 is equal to string2.
string1 comes after string2 in the sort order.
string1 comes before string2 in the sort order.
string1 is null.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which characters are removed by default when Trim() is used without parameters?
Only numbers
White spaces
Special characters
All characters
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does TrimStart() do?
Removes characters from the end of a string
Removes characters from the start of a string
Removes characters from both ends of a string
Removes a specific substring
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are strings stored in C#?
As mutable objects
As arrays of integers
As immutable objects
As char pointers
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does Substring(2, 3) do?
Starts at index 2, takes 3 characters.
Removes 3 characters from index 2.
Replaces 3 characters from index 2.
Starts at index 3, takes 2 characters.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Workshop 2 Review

Quiz
•
University
10 questions
Python-Matrix-Reloaded-Workshop

Quiz
•
University
15 questions
Python Quiz Ver- 1.3

Quiz
•
University
15 questions
REACTOR

Quiz
•
University
14 questions
Learning Quizizz

Quiz
•
1st Grade - Professio...
12 questions
Pretes Pertemuan ke 3

Quiz
•
University
13 questions
Variables

Quiz
•
University
10 questions
C Program Array and strings

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University