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


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

Correct answer selected:
52 Bayt


Question 28
Quyidagi massiv xotiradan qancha joy egallaydi: decimal [,] a = new decimal [2,3];
Correct answer selected:
96 Bayt


Question 29
C# dasturlash tilida sbyte tipidagi identifikatorlar hotirada qancha joy egallaydi?
Correct answer selected:
1 Bayt


Question 30
Quyidagi massiv xotiradan qancha joy egallaydi: byte [,] a = new byte [5,3];
Correct answer selected:
15 Bayt


Question 31
Quyidagi massiv xotiradan qancha joy egallaydi: float [] a = new float [7];
Correct answer selected:
28 Bayt


Question 32
C# dasturlash tilida uint tipidagi identifikatorlar hotirada qancha joy egallaydi?
Correct answer selected:
4 Bayt


Question 33
Trim metodining vazifasi nima?
Correct answer selected:
Berilgan matn boshi va oxiridagi bo’sh joylarni o’chirish


Question 34
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: string s = "Matematika"; Console.WriteLine(s.IndexOf('m'));
Incorrect answer selected:
–1
Correct answer:
4


Question 35
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: string s = "Mustaqillik"; Console.WriteLine(s.Substring(7));
Correct answer selected:
llik


Question 36
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: string s = "vatanparvarlik"; Console.WriteLine(s.LastIndexOf('m'));
Correct answer selected:
–1


Question 37
return operatorining asosiy vazifasi nima?
Correct answer selected:
qiymat qaytarish



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