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



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

Correct answer selected:
a. c=d+88++


Question 171
f = i = 1; while (i<=4) f = f*i ++; proqram fraqmentində f-in qiymətini təyin
edin.
Incorrect answer selected:
c. 6


Question 172
Aşağıdakı proqram fraqmenti icra olunduğu zaman hansı qiymət çap
olunacaq? void F(int *p, int *q, int n){ for (*q = 0; n > 0; n--) *q = *q + *p++;
} main(){ int x,A[5]={1,3,7,1,2}; F(A,&x,5); std :: cout<
Incorrect answer selected:


Question 173
Aşağıdakı proqram fraqmenti icra olunduğu zaman hansı qiymət çap
olunacaq? #include int main() { int x = 3; switch(x) { case 0: x = 1; std ::
cout << x << std :: endl; break; case 3: std :: cout << x << std :: endl;
break; default: x = 2;std :: cout << x << std :: endl; } return 0; }
Correct answer selected:


Question 174
int a; for(a = 0; a < 10; a++) {} proqram kodu yerinə yetirildikdən sonar a
dəyişəni hansı qiyməti alacaq?
Correct answer selected:
d. 10


Question 175
for(i=1;i<100;i++) A[i]=i*i; for(i=1;i<100;i++) B[i]=A[i]-100; - B massivinin
neçə elementi müsbət qiymət alacaq?
Correct answer selected:
c. 90


Question 176
#include void mul(int,int) ; int S; void main() {int a=2,b=3;
mul(a,b);a=b=2*S; mul(a,b); cout< < S; Sleep(100000); } void mul(int x,int
y) {S=x*y;} praqram kodunun icrasının nəticəsini müəyyənləşdirin.
Incorrect answer selected:
b. 64


Question 177
e+sqrt(e)*1e1/2*a ifadəsinin qiyməti e = 4, a = 3olduqda nəyə bərabər
olacaq?
Correct answer selected:
a. 34


Question 178
int d=5; bool b = true, c; c = (!b||(d>3)); ifadəsinin nəticəsi nəyə bərabərdir?
Correct answer selected:
a. true



Yüklə 78,99 Kb.

Dostları ilə paylaş:
1   ...   14   15   16   17   18   19   20   21   ...   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ə