Search Header Logo

String Quiz

Authored by Viktor Kovács

Computers

11th Grade

Used 3+ times

String Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Mit írunk ki a konzolra?

string str = "Buborékrendezés";

Console.WriteLine(str.Substring(7, 4));

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Milyen paramétereket kell megadnunk ahhoz, hogy "rék" jelenjen meg a konzolon?

string str = "Buborékrendezés";

Console.WriteLine(str.Substring(???));

(4, 3)

(4, 7)

(8, 3)

(8, 8)

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Mit írunk ki a konzolra?

string str = "Napról napra, hétről hétre.";

Console.WriteLine(str.IndexOf("nap"));

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Milyen paramétert kell megadnunk ahhoz, hogy "7" jelenjen meg a konzolon?

string str = "napról napra";

Console.WriteLine(str.IndexOf(???));

napra

nap

apra

n

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Mit írunk ki a konzolra?

string str = "Napról napra";

Console.WriteLine(str.Replace("nap", "pap"));

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Milyen paramétereket kell megadnunk ahhoz, hogy "faluról falura" jelenjen meg a konzolon?

string str = "napról napra";

Console.WriteLine(str.Replace(???));

("nap", "falu")

("napr", "falun")

("napról", "faluról")

("napra", "falura")

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Mit írunk ki a konzolra?

string str = "True";

Console.WriteLine(str.ToLower());

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?