Incorrect answer selected:
–1
Correct answer:
parvar
Question 19
int a=0; for(;;){a=(a==13) ? 0 : a+1;}ushbu dastur qismida takrorlanish necha marta amalga oshmoqda?
Correct answer selected:
cheksiz marta
Question 20
C# dasturlash tilida decimal tipidagi identifikatorlar hotirada qancha joy egallaydi?
Correct answer selected:
16 Bayt
Question 21
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: string s = "vatanparvarlik"; Console.WriteLine(s.LastIndexOf('v'));
Correct answer selected:
8
Question 22
C# dasturlash tili kompilyatori berilgan qatorni toping?
Correct answer selected:
csc.exe
Question 23
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: char [] ch = {'h','i','s','o','b'}; string s = "davlat"; Console.WriteLine(s.LastIndexOfAny(ch));
Correct answer selected:
–1
Question 24
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: string s = "Qorbobo"; Console.WriteLine(s.Substring(9));
Correct answer selected:
ArgumentOutOfRangeException tipidagi xatolik sodir bo’ladi.
Question 25
C# dasturlash tilida ? operatori strukturasi qanday?
Correct answer selected:
nom = (shart) ? ifoda_1 : ifoda_2;
Question 26
Quyidagi dastur qismi ishlashi natijasida konsol oynasida qanday natija hosil bo’ladi: string s = "Matematika"; Console.WriteLine(s.IndexOf('h'));
Incorrect answer selected:
4
Correct answer:
–1
Question 27
Quyidagi massiv xotiradan qancha joy egallaydi: int [] a = new int [13];
Do'stlaringiz bilan baham: |