
C# ponavljanje
Authored by Marta Ocvirk
Information Technology (IT)
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
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
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
Š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
Š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
Š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
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.
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?