C# ponavljanje

C# ponavljanje

10th Grade

13 Qs

quiz-placeholder

Similar activities

ICT pro první ročník

ICT pro první ročník

10th Grade

11 Qs

Počítačová grafika

Počítačová grafika

6th Grade - University

10 Qs

Počítačové sítě

Počítačové sítě

6th Grade - University

9 Qs

Database Design Tools Quiz

Database Design Tools Quiz

10th Grade

10 Qs

Hakiranje 3 - Quiz 2

Hakiranje 3 - Quiz 2

9th - 12th Grade

10 Qs

SP247

SP247

6th Grade - University

14 Qs

Metode de Sortare a Tablourilor

Metode de Sortare a Tablourilor

10th Grade

15 Qs

Osnove baza podataka

Osnove baza podataka

10th Grade

10 Qs

C# ponavljanje

C# ponavljanje

Assessment

Quiz

Information Technology (IT)

10th Grade

Medium

Created by

Marta Ocvirk

Used 1+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Koja je greška u sljedećem kodu?

Polje treba biti tipa double, ne int.

Indeks treba biti manji od 5.

Nema greške, kod je ispravan.

Točka-zarez je na krivom mjestu.

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Koja je greška u sljedećem kodu?

Nema greške.

Vrijednost se ne može ispisati uz pomoć Console.WriteLine

Polje treba biti tipa int.

Preveliki indeks u pozivu ispisa.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Što će ispisati sljedeći kod?

0

1 2 3 4 5

1 2 3 4

izbacit će grešku

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Što će ispisati sljedeći kod?

3

4

12

izbacit će grešku

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Koji je ispravan način za definiranje metode koja ne vraća vrijednost?

void metoda() { }

function metoda() { }

def metoda() { }

func metoda() { }

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Što je krivo u sljedećem kodu?

Greška je u varijabli x, treba biti tip string

Nema greške, kod je ispravan.

Greška je u operatoru =, trebao bi biti ==

Greška je u ispisu, treba biti "x == 10"

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Koja je greška u sljedećem kodu?

Nema greške

Greška je u metodi Console.WriteLine

Greška je u deklaraciji varijable age

Varijabla age treba biti string, a ne int.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?