Search Header Logo

Naredbe uvjeta u C++

Authored by gdmk.informatika gdmk.informatika

Computers

9th - 12th Grade

Used 3+ times

Naredbe uvjeta u C++
AI

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 BLANKS QUESTION

45 sec • 1 pt

Media Image

Š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 BLANKS QUESTION

1 min • 1 pt

Media Image

Šta će bti rezultat izvršavanja sljedećih naredbi ako unesemo a=6 i b=9

(a)  

4.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Media Image

Š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 BLANKS QUESTION

1 min • 1 pt

Media Image

Š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

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?