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


Download 17.22 Kb.
bet2/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:
3


Question 10
C# dasturlash tilida Bitwise OR (bitli "YOKI") amali berilgan qatorni aniqlang?
Incorrect answer selected:
&
Correct answer:
|


Question 11
C# dasturlash tilida System.Char tipiga mansub o’zgaruvchi kompyuter xotirasidan necha bayt joy egallaydi.
Correct answer selected:
2 bayt


Question 12
C# dasturlash tilida Bitwise XOR (bitli "simmetrik YOKI") amali berilgan qatorni aniqlang?
Correct answer selected:
^


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


Question 14
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: char [] ch = {'Q','u','y','o','s','h'}; string s = new string (ch,2,4); Console.WriteLine(s);
Correct answer selected:
yosh


Question 15
int a=0; for(;a<=5;){a=(a==13) ? 0 : a+1;}ushbu dastur qismida takrorlanish necha marta amalga oshmoqda?
Incorrect answer selected:
cheksiz marta
Correct answer:
6


Question 16
C# dasturlash tilida float tipidagi identifikatorlar hotirada qancha joy egallaydi?
Incorrect answer selected:
2 Bayt
Correct answer:
4 Bayt


Question 17
Quyidagi amallardan qaysi biri qoldiqli bo’lishni ifodalaydi?
Correct answer selected:
%


Question 18
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: string c="inson", s = "parvar"; if (c.EndsWith(s)) Console.WriteLine(c); else Console.WriteLine(s);

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