wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

05/25

Total questions: 25

Worksheet time: 12mins

Name
Class
Date
1.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main() { cout << "* * * * ; }
a)
Sintaksis səhv verər
b)
* * * *
c)
****
d)
İnclude iostream
e)
cout
2.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main() { cout << "* \n* \n* \n*" ; }
a)
* * * *
b)
Sintaksis səhv verər
c)
* * * *
d)
****
e)
cout
3.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ int x = 9; cout << "x"; }
a)
X
b)
9
c)
x = 9
d)
x9
e)
heçnə
4.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ int x = 9; cout << x; }
a)
9
b)
x
c)
x=9
d)
x9
e)
heçnə
5.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "6 + 4"; }
a)
6 + 4
b)
10
c)
“6 + 4”
d)
“10”
e)
heçnə
6.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "A" << "B"; }
a)
AB
b)
A << B
c)
A
d)
B
e)
heçbiri
7.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "A" << "B"; }
a)
AB
b)
A B
c)
A
d)
B
e)
heçbiri
8.
Aşağıdakı kodlardan hansı ekranda ardıcıl 4 ulduz çap edər?
a)
cout << "****";
b)
cout << "*\n*\n*\n*";
c)
cout << "****" << "****";
d)
cout << ****;
e)
heçbiri
9.
Aşağıdakı kodlardan hansı ekranda alt-alta 4 ulduz çap edər?
a)
cout << "*\n*\n*\n*";
b)
cout << "****";
c)
cout << "****" << "****";
d)
cout << ****;
e)
heçbiri
10.
Aşağıdakı kodlardan hansı ekranda x = 10 çap edər?
a)
cout << "x = " << 10;
b)
cout << x = << 10;
c)
cout << x << = 10;
d)
Hamısı
e)
heçbiri
11.
Aşağıdakı kodlardan hansı ekranda x və y dəyişənlərinin qiymətləri cəmini çap edər?
a)
cout << x + y;
b)
cout << x << + << y;
c)
cout << " x + y" ;
d)
hamısı
e)
heçbiri
12.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "Menim ilk Proqramim"; }
a)
Menim ilk Proqramim
b)
Heçnə çap olunmaz
c)
Sintaksis səhvi verər
d)
İnclude iostream
e)
cout
13.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "Salam "; cout << "Salam "; }
a)
Salam Salam
b)
Salam Salam
c)
Sintaksis səhvi verər
d)
İnclude iostream
e)
cout
14.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "Salam \n"; cout << "Salam "; }
a)
Salam Salam
b)
Salam Salam
c)
Sintaksis səhvi verər
d)
İnclude iostream
e)
cout
15.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "Salam \n"; cout << "Salam \n"; cout << "Salam "; }
a)
Salam Salam Salam
b)
Salam Salam Salam
c)
Sintaksis səhvi verər
d)
İnclude iostream
e)
cout
16.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "* * * * * *; }
a)
Sintaksis səhv verər
b)
* * * * * *
c)
******
d)
İnclude iostream
e)
cout
17.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "* \n* \n* \n* \n* \n*" ; }
a)
* * * * * *
b)
Sintaksis səhv verər
c)
* * * * * *
d)
****
e)
İnclude iostream
18.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ int y = 20; cout << "y"; }
a)
y
b)
20
c)
y = 20
d)
y20
e)
heçnə
19.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ int y = 20; cout << y; }
a)
20
b)
y
c)
y=20
d)
y20
e)
heçnə
20.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "5 * 3"; }
a)
5 * 3
b)
15
c)
“5 * 3”
d)
“15”
e)
heçnə
21.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "FF" << "HH"; }
a)
FFHH
b)
FF << HH
c)
FF
d)
HH
e)
heçbiri
22.
Aşağıdakı proqram icra olunanda ekranda nə çap olunar? int main(){ cout << "FF" << "HH"; }
a)
FFHH
b)
FF HH
c)
FF
d)
HH
e)
heçbiri
23.
Aşağıdakı kodlardan hansı ekranda ardıcıl 5 üstəgəl simvolun çap edər?
a)
cout << "+++++";
b)
cout << "+\n+\n+\n+\n+";
c)
cout << "+++++" << "+++++";
d)
cout << +++++;
e)
heçbiri
24.
Aşağıdakı kodlardan hansı ekranda alt-alta 5 üstəgəl simvolun çap edər?
a)
cout << "+\n+\n+\n+\n+";
b)
cout << "+++++";
c)
cout << "+++++" << "+++++";
d)
cout << +++++;
e)
heçbiri
25.
Aşağıdakı kodlardan hansı ekranda y = 45 çap edər?
a)
cout << "y = " << 45;
b)
cout << y = << 45;
c)
cout << y << = 45;
d)
Hamısı
e)
heçbiri