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

45 sec • 1 pt

Media Image

Šta će biti rezultat izvršavanja sljedećeg koda u C++ ako unesemo da je a=58 ?

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

Media Image

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

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Šta će biti rezultat izvršavanja koda ako unesemo da je a=3 i b=2 ?

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

Media Image

Šta će ispisati kod na slici ako je a=3 i b=2

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?