?Object inspector darchasining vazifasi?


?Aylana, To’g’rito’rtburchak chizish va matnlarni chiqarish uchun dastur kodida qanday usullar ishlatiladi


Download 416.85 Kb.
bet12/15
Sana06.02.2023
Hajmi416.85 Kb.
#1171105
1   ...   7   8   9   10   11   12   13   14   15
Bog'liq
TTAT 2-semestr javoblar 2

?Aylana, To’g’rito’rtburchak chizish va matnlarni chiqarish uchun dastur kodida qanday usullar ishlatiladi
+Circle, Rectangle, TextOut
=Ellipse, Rectangle, TextOut
=Circle, Ellipse, Text
=C++da bunday usullar yo’q


?Yashil, sariq, qizil qanday qiymatga ega?
+Clgreen, Clyellow, Clred
= Clolive, Clyellow, Clred, Clblue
= Clgreen, Clyellow, Clpuple
= Clgreen, Clgray, Clred


?C++da chiziq chizish uchun qaysi operatorlardan foydalaniladi?
+MoveTo(x,y), LineTo(x,y)
=Canvas->Rect(x1,y1,x2,y2)
=Canvas->Ellipse(x1,y1,x2,y2)
=Canvas->Arc(x1,y1,x2,y2,x3,y3)


?Qaysi usul yoy chizadi?
+Arc(x1,y1,x2,y2,x3,y3)
=Ellipse(x1,y1,x2,y2,x3,y3,x4,y4)
=Arc(x1,y1,x2,y2,x3,y3,x4,y4)
=Circle(x1,y1,x2,y2,x3,y3,x4,y4)


?Grafikada qalam qanday xususiyatlarga ega?
+Color, Width, Style
=bsBDiagonal, color, style
=Canvas, image, pen
=Brush, color, style


?StRound Square xossasi qanday shaklni beradi?
+chetlari aylanasimon kvadrat
=uchburchak
=chetlari aylanasimon to’rtburchak
=to’g’ri to’rtburchak


?Shaklni bo‘yash uchun foydalaniladigan mo‘yqalam bu-
+Brush
=Pen
=StCircle
=Shape
?Pen protsedurasining vazifasi
+shakl chеtini chizish uchun qalam
=shaklni bo‘yash uchun mo‘yqalam
=ekranga chiqadigan shaklni aniqlaydi
=rasm uchun joy ajratadi
?4 ta satr va 3 ta ustundan iborat a nomli massiv elementlari xotiraga qanday kiritiladi?
+for(i=0; i<=3; i++)
for(j=0; j<=2; j++) cin>>a[i,j];
= for(i=0; i<=4; i++)
for(j=0; j<=3; j++) cin>>a[i,j];
=for(i=0; i<=3; i++)
for(j=0; j<=2; j++) cout>>a[i,j];
=skaner orqali


?10 ta butun sondan iborat a nomli massiv elementlari xotiraga qanday kiritiladi?
+for (i=0; i<10; i++) cin>>a[i];
= for (i=0; i<10; i++) cout<= for (i=0; i<10; i++) cin>>a;
= for (i=0; i<9; i++) cin>>a[i];



Download 416.85 Kb.

Do'stlaringiz bilan baham:
1   ...   7   8   9   10   11   12   13   14   15




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling