Question 1 Prioriteti aşağı olan əməliyyatı göstərin. Correct answer selected: h. ? Question 2



Yüklə 78,99 Kb.
səhifə14/24
tarix17.01.2023
ölçüsü78,99 Kb.
#98727
1   ...   10   11   12   13   14   15   16   17   ...   24
20230112T1524 - nolb gagas - New Quiz

Correct answer selected:
e. 1.67


Question 132
a=3; b=7; c=a- -*b- -;. c-ni hesablayın.
Correct answer selected:
e. 21


Question 133
continue operatoru dövrün daxılındə istifadə olunarsa, nə baş verər?
Correct answer selected:
d. Dövr yeni tsiklə keçir;


Question 134
& və && operatorları arasında fərq nədir?
Correct answer selected:
b. & — “və” bit operatorudur, && — “və” məntiqi operatordur


Question 135
Aşağıdakı praqram kodu yerinə yetirildikdən sonar hansı qiymət çap
olunacaq?
using namespace std;
int main()
{ int sum = 0; int a[3][3] = {{0, 1, 2}, {3, 4, 5}, {6, 7, 8}}; for (int i = 0; i < 3 ;
++i)
{ for (int j = 2; j < 3 ; j++) { sum += a[i][j]; } } std :: cout<< sum << std ::
endl; system("PAUSE"); return 0; }
Incorrect answer selected:


Question 136
#define CIRC(x) (3 * (x) * (x)) int main() {int a = 1, b = 2; cout << CIRC(a +
b);} ifadəsinin nəticəsi hansıdır?
Correct answer selected:
c. 27


Question 137
Əgər şərt operatorunun nəticəsi yalandırsa,.....
Incorrect answer selected:
a. if şərtinin gövdəsindəki operator yerinə yetirilir


Question 138
float y=1.0; int x,n; x=3;n=3;
switch(n) { case 5: y=y*x; case 4: y=y*x; case 3: y=y*x; case 2: y=y*x;cout
< < y; break; case 1: y=y*x;cout < < y; break; default: cout < <
"Stepen bolshe 5"; }
–Ekranda nə çap olunacaq?
Incorrect answer selected:


Question 139
x = 4, y = 3 olduqda x++*2+y--*3; ifadəsinin qiymətini hesablayın.
Correct answer selected:
e. 17


Question 140
Ölçüsü 10-a bərabər olan massivi “0”-larla dolduran for dövrü qurun.

Yüklə 78,99 Kb.

Dostları ilə paylaş:
1   ...   10   11   12   13   14   15   16   17   ...   24




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə