Lab7_Quiz_section2

Lab7_Quiz_section2

University

10 Qs

quiz-placeholder

Similar activities

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

JRB2 Quiz 4

JRB2 Quiz 4

University

10 Qs

TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)

TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)

University

10 Qs

JAVA QUIZ-1

JAVA QUIZ-1

University

10 Qs

Understanding Email, Contacts and Calendaring

Understanding Email, Contacts and Calendaring

University

10 Qs

BB

BB

University

10 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

CodeMonkey for B.Ed IT

CodeMonkey for B.Ed IT

University

10 Qs

Lab7_Quiz_section2

Lab7_Quiz_section2

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

bme programming

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers