Question 1 C# dasturlash tilida berilgan satrdagi belgilar sonini aniqlash uchun qanday metoddan foydalaniladi? Correct answer selected


Question 38 Inkapsulyalash atamasi ma'nosi... Incorrect answer selected


Download 17.22 Kb.
bet5/6
Sana17.06.2023
Hajmi17.22 Kb.
#1530320
1   2   3   4   5   6
Bog'liq
20230503T1138 - Burhonova Zilolaxon 1908 - Attestatsiyaga tayyorlov (1–qism)

Question 38
Inkapsulyalash atamasi ma'nosi...
Incorrect answer selected:
Inkapsulyalash atamasi yopiq, tashqi ta’sirlardan himoyalangan dastur qismi degan ma’noni bildiradi.
Correct answer:
Inkapsulyalash atamasi «germetik berkitilgan; tashqi ta’sirlardan himoyalangan dastur qismi» degan ma’noni bildiradi.


Question 39
C# dasturlash tilida Console oynasida BackSlash belgisini chiqarish uchun qaysi belgidan foydalaniladi?
Correct answer selected:
\\


Question 40
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: string c="texnologiya", s = "tex"; if (c.StartsWith(s)) Console.WriteLine(c); else Console.WriteLine(s);
Correct answer selected:
texnologiya


Question 41
C# dasturlash tilida Console oynasida tutuq belgisini chiqarish uchun qaysi belgidan foydalaniladi?
Correct answer selected:
\'


Question 42
for takrorlash operatori yordamida cheksiz takrorlanuvchi dastur tuzish mumkinmi?
Correct answer selected:
mumkin


Question 43
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: string s = "Qorbobo"; Console.WriteLine(s.Substring(3));
Correct answer selected:
bobo


Question 44
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: char [] ch = {'q','x','p','A'}; string s = new string (ch); Console.WriteLine(s);
Correct answer selected:
qxpA


Question 45
C# dasturlash tilida char tipidagi identifikatorlar hotirada qancha joy egallaydi?
Correct answer selected:
2 Bayt


Question 46
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: char [] ch = {'e','z','g','u','l','i','k'}; string s = "Vatanparvar"; Console.WriteLine(s.IndexOfAny(ch));

Download 17.22 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling