Bazat e Programimit në Java
Quiz-summary
0 of 21 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
Information
Quiz bazik per kursin “Bazat e programimit ne Java”
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 21 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Elementary 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- Answered
- Review
-
Question 1 of 21
1. Question
Çka nënkupton J2SDK
Correct
Incorrect
-
Question 2 of 21
2. Question
Vendosni shkurtesat e me poshtme aty ku pershtatet pershkrimi
Sort elements
- JRE
- JVM
- JDK
-
Java Runtime Environment
-
Java Virtual Machine
-
Java Development Kit
Correct
Incorrect
Hint
Shkurtesat lart terhiqni me maus tek fjala qe ju pergjigjet
-
Question 3 of 21
3. Question
Kodet e klasave të shkruara në Java duhet të kenë prapashtesë fajlli .class?
Correct
Incorrect
-
Question 4 of 21
4. Question
Java arrin pavarësinë prej platformave duke kompiluar kodin burimor në kod të ndërmjetëm të quajtur
Correct
Incorrect
-
Question 5 of 21
5. Question
Plotesoni fjalite qe mungojne
- Dy nga seksionet e JVM jane (stack, heap) dhe (stack, heap)
Correct
Incorrect
-
Question 6 of 21
6. Question
Cila opsionet më poshtë është identifikatorë legal
Correct
Incorrect
-
Question 7 of 21
7. Question
Java lejon qe dy apo më shume urdhra të grupohen në blloqe kodi
Correct
Incorrect
-
Question 8 of 21
8. Question
Për urdhrat në vijim:
char c = 'c'; int i = 8; double d = 9; long l = 2; String s = "Tung";
Cili nga urdhrat në vijim kompilohet pa gabime?
Correct
Incorrect
-
Question 9 of 21
9. Question
Nënvizo fjalët kyçe:
Correct
Incorrect
-
Question 10 of 21
10. Question
String është tip primitiv
Correct
Incorrect
-
Question 11 of 21
11. Question
Zgjedh modifikatoret e Java nga lista më poshtë
Correct
Incorrect
-
Question 12 of 21
12. Question
Vlera e zakonshme e variabiles se tipit Boolean është
Correct
Incorrect
-
Question 13 of 21
13. Question
null është fjale kyçe në Java?
Correct
Incorrect
-
Question 14 of 21
14. Question
Supozojmë se int x = 1; dhe double y = 1.5; Llogaritni vlerën e shprehjes
(x < y) == (x == y)
Correct
Incorrect
-
Question 15 of 21
15. Question
Llogaritni rezultatin e shprehjes:
9 + 1 + " detyra"
Correct
Incorrect
-
Question 16 of 21
16. Question
Çka do të jete dalja e programit në vijim:
public class Conditional { public static void main(String [] args) { boolean b1 = true; boolean b2 = false; boolean b3 = true; if ( b1 && b2 | b2 && b3 | b2 ) System.out.print("ok"); if ( b1 && b2 | b2 && b3 | b2 | b1 ) System.out.println("doki"); } }
Correct
Incorrect
-
Question 17 of 21
17. Question
Cila nga dekalrimet në vijim është e sakte
Correct
Incorrect
-
Question 18 of 21
18. Question
Cila nga dy urdhërat më poshtë shkakton gabim kompilimi?
Correct
Incorrect
-
Question 19 of 21
19. Question
Cila është dalja e programit në vijim
public class Mesatarja { public static void main(String[] args) { double[] nr = { 10.1, 11.2, 12.3, 13.4, 14.5 }; double rez = 0.0; int i; for (i = 0; i < 5; i++) rezultati += nr[i]; System.out.println(rez / 5); } }
Correct
Incorrect
-
Question 20 of 21
20. Question
Çka do te jete dalja e programit në vijim
class Test { public static void main(String [] args){ int x= 0; int y= 0; for (int z = 0; z < 5; z++) { if (( ++x > 2 ) || (++y > 2)){ x++; } } System.out.println(x + " " + y); } }
Correct
Incorrect
Hint
Kujdes pergjigjen ta shkruani sakt. Si rezultat jane dy numra te ndare me hapesire ne mes.
-
Question 21 of 21
21. Question
Renditni sipas perparesise
-
negacioni unar, p.sh., -3
-
shumezimi, *, pjestimi, /, dhe mbetja %
-
mbledhja/ngjitja e stringjeve, +, dhe zbritja, -
-
operatoret krahasues, <, <=, >, >=
-
operatoret e barazise, ==, dhe jo barazise, !=
Correct
Incorrect
Hint
Levizni kutiat duke i terhequr me maus. Renditja te behet nga lart (me shume perparesi) poshte (me pak perparesi).
-