Koja je greška u sljedećem kodu?

C# ponavljanje

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Marta Ocvirk
Used 1+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
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.
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Osnove informatike za srednju školu

Quiz
•
10th Grade
10 questions
Središnji dio Javascript jezika i DOM

Quiz
•
9th - 12th Grade
15 questions
Cybersecurity Quizz

Quiz
•
9th - 12th Grade
10 questions
Cyberbezpieczeństwo

Quiz
•
8th Grade - University
15 questions
Tekst

Quiz
•
9th - 12th Grade
9 questions
Ograničenja u Bazi Podataka

Quiz
•
10th Grade
11 questions
Rad s objektima

Quiz
•
9th - 12th Grade
14 questions
Quiz on Classes and Objects in C++

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade