
Naredbe uvjeta u C++
Authored by gdmk.informatika gdmk.informatika
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
Šta će biti rezultat izvršavanja sljedećeg koda u C++ ako unesemo da je a=58 ?
(a)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kojeg tipa treba biti uvjet u naredbi
if (uvjet) {blok naredbi}
int
double
char
bool
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Šta će bti rezultat izvršavanja sljedećih naredbi ako unesemo a=6 i b=9
(a)
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Šta će biti rezultat izvršavanja koda ako unesemo da je a=3 i b=2 ?
(a)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Šta će raditi sljedeći kod
if (x%2==0) cout<<x;
ispisuje samo neparne brojeve
ispisuje samo parne brojeve
greška u kodu
ispisuje svaki ispitani broj x
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Šta će ispisati kod na slici ako je a=3 i b=2
(a)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Koja instrukcija IF je ispravno napisana ?
if(a=b) cout<<a+b;
if(a==b) cout<<a-b
if(a!=b) cout<<a*b;
if(a<b) cout>>a*b;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?