Dasturlash (41-50)

A vibrant and engaging illustration depicting a person solving coding problems on a laptop, with lines of code and programming symbols in the background, showcasing a dynamic tech atmosphere.

Dasturlash 101: Test Your Coding Skills

Welcome to the Dasturlash quiz designed to test your knowledge of programming concepts and techniques. This quiz consists of 10 multiple-choice questions that challenge your understanding of coding fundamentals.

Participate to:

  • Gauge your programming proficiency
  • Learn more about C/C++ language
  • Challenge yourself with engaging questions
10 Questions2 MinutesCreated by CodingWizard42
Quyidagi dastur qismi bajarilganda ekranga nimani chop qiladi : int x = 3; if ( x > 7 | | x < 5 ) if ( x < 6 && x > 1 ) if ( ( x > 2 ) ) printf ( “ 1 ” ); else printf ( “ 2 ” ); else printf ( “ 3 ” ); else printf ( “ 4 ” );
1
4
3
2
int X ning qaysi qiymatlarda quyidagi ifoda true qiymat qabul qiladi : X < 3 | | X >= 4 & & X < 5
[INT_MIN;2] va 4
X=4
Ifoda har doim false
[4;INT_MAX]
Funksiya parametrlariga nechta argument berish mumkin?
Cheklanmagan miqdorda
5
10
30
include kalit so’zining vazifasini aniqlang ?
Kutubxonalarni kiritadi
Dasturning boshini bildiradi
Ichki buyurtmalarni chaqiradi
Maxsus so'z
Getch () funksiyasi qaysi fayl (kutubxona) sarlavhasiga tegishli
Dastur qismi bajarilgandan keyin k nimaga teng? k=1; while (k<10) k=k+k; ѝout<< k;
16
4
18
6
Quyidagi dastur qismi bajarilganda ekranga nimani chop qiladi int x = 3; if ( x > 7 | | x < 5 ) if ( x < 6 && x > 1 ) if ( !( x > 2 ) ) printf ( “ 1 ” ); else printf ( “ 2 ” ); else printf ( “ 3 ” ); else printf ( “ 4 ” );
2
4
1
3
Kod fragmentiini bajarish natijasida int i=2; switch (i) { case 1: I += 2; break; case 2: I *= 3; break; case 6: I /= 2; break; default: ; }
I o'zgaruvchisi 6 ni teng bo’ladi
I o'zgaruvchisi 3 ga o'rnatiladi
Switch operator kalitining tanasi I o'zgaruvchining qiymatini o'zgartirmaydi
I o'zgaruvchisi 1 ga o'rnatiladi
Quyidagi dasturda nechta “Salom” so’zi chiqadi: #include int main(){ float a = 45, b = a / 10 + 3; for (int I = 0; I < 2; I ++) for(int j = 0; j < -2; j ++) puts("Salom"); return 0; }
0
1
9
5
Quyidagi dasturda std nimani anglatadi? #include int main() { std::cout << "Hello, World!\n"; }
Bu cout obyekti joylashgan nomlar fazosi
Bu static bo’lmagan cout funksiyasiga ega sinf nomi
Bu static cout funksiyasiga ega sinf nomi
Bu cout funksiyasi joylashgan nomlar fazosi
{"name":"Dasturlash (41-50)", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Welcome to the Dasturlash quiz designed to test your knowledge of programming concepts and techniques. This quiz consists of 10 multiple-choice questions that challenge your understanding of coding fundamentals.Participate to:Gauge your programming proficiencyLearn more about C\/C++ languageChallenge yourself with engaging questions","img":"https:/images/course3.png"}
Powered by: Quiz Maker