Dasturlash 2 (31-40)

A colorful and engaging representation of programming concepts, featuring code snippets, algorithms, and C++ symbols, with a modern, tech-inspired background.

Master the Code: Dasturlash 2 Quiz

Test your programming knowledge with our engaging Dasturlash 2 quiz! Designed for C++ enthusiasts, this quiz covers a range of topics to challenge your understanding of coding principles and practices.

What you'll find:

  • Multiple choice questions
  • Calculations and logical reasoning
  • Code snippets to analyze
  • Fun and educational experience
10 Questions2 MinutesCreated by CodingNinja542
Sikl operatori turlarining to'g'ri sonini ko'rsating?
3
1
4
5
Quyidagi ifodaning qiymatini aniqlang: 5 + 15 / 5 * 2
11
8
7
6
siklning tanasi necha marta bajarilishini aniqlang: int i=1; while ( i*(i-1)<81 ) { …… i*=3; }
3
1
9
2
Destruktorga nechta parametr jo’natish mumkin?
Destruktorga parametr jo’natish mumkin emas
Ko’pi bilan 3 ta
Ko’pi bilan 10 ta
Ko’pi bilan 1 ta
C++ tilida shartli operatorni to‘g‘ri yozish usulini ko‘rsating?
If (x>0) y=sqrt (x);
If (x>0) Do y:=sqrt (x)
If y=sqrt (x) then x>0
IF x>0 then y:=sqrt (x);
Noto'g'ri berilgan ifodani aniqlang ?
A!%5
A=5
A==5
A!=5
Kod fragmenti bajarish natijasida monitorga nima chop qilinadi int x,y; x=2; y=3; if (y/x>1) y+=2; else if (y/x<1) y-=2; else y*=2; cout<<"\n y="<<y<<endl;
Y=6
Y=5
Y=1
Y=11
Quyidagi sinflardan qaysi biri vositasida fayllarga kiritishni amalga oshiradi?
Ofstream
Ifstream
Instream
Inputfile
String dan char ga o`tish uchun ....... Funksiyalaridan foydalaniladi ?
C_str()
Assign
B va C
Strcpy
Ekranda qanday natija paydo bo'ladi? Int s = 0; for (int I = 0; i<= 7; i++) s=s+i; ѝout<<s;
28
22
25
26
{"name":"Dasturlash 2 (31-40)", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your programming knowledge with our engaging Dasturlash 2 quiz! Designed for C++ enthusiasts, this quiz covers a range of topics to challenge your understanding of coding principles and practices.What you'll find:Multiple choice questionsCalculations and logical reasoningCode snippets to analyzeFun and educational experience","img":"https:/images/course2.png"}
Powered by: Quiz Maker