
Dizi ve ArrayList Soruları

Quiz
•
Other
•
10th Grade
•
Hard

halime kanbil
Used 2+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4.int[ ] sayilar = {10, 32, 60, 100, 90, 5}; şeklinde oluşturulan bir dizi için sayilar.Length() metodu çalıştırıldığında komutun döndürdüğü değer aşağıdakilerden hangisidir?
A) 5
B) 6
C) 7
D) 10
E) Hata verir.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Aşağıdakilerden hangisi 4 elemanlı integer tipinde tanımlanmış bir dizidir?
A) int[] dizi = new int[4];
B) int[4] dizi;
C) int[] dizi = 4;
D) int dizi[4];
E) int[] dizi=new byte[4];
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Dizilerle ilgili aşağıdaki ifadelerden hangisi doğrudur?
A) Dizi elemanları sadece integer tipinde olur.
B) Dizinin Rank özelliği dizideki eleman sayısını verir.
C) Dizinin Length özelliği dizinin boyutunu verir.
D) Sayısal dizilerde ön tanımlı değeri 0’dır.
E) Dizilere istenilen tipte değer verilebilir.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Aşağıdakilerden hangisi 4 satır ve 5 sütundan oluşan iki boyutlu dizi tanımlamasıdır?
A) int[4, 5] sayilar = new int[ , ];
B) int [4][5] sayilar = new int[];
C) int [ , ] sayilar = new int[4, 5];
D) int [ , ] sayilar = new int[5, 4];
E) int[5,4] sayilar = new int[];
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
8. Aşağıdakilerden hangisi 2 satır ve 3 sütunlu bir dizinin doğru tanımlanmış hâlidir?
A) int[ , ] sayi= new int[2, 3]{{1, 2},{10,11},{ 5, 6}};
B) int[ , ] sayi = new int[2, 3]{};
C) int[ , ] a = new int[1, 2];
D) int[ , ] a = new int[1, 2]{{7, 1, 9}, {2, 5, 6}};
E) int[ , ] sayi= new int[2, 3]{{7, 1, 9},{2, 5, 6}};
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
9. int[] sayilar = { 1, 4, 8, 2 }; int toplam = 0; for ( int index=0; index < sayilar.Length; index++ ) { toplam = toplam + sayilar[index] ; } Yukarıda verilen kodlar çalıştırıldığında toplam değişkenin değeri aşağıdakilerden hangisidir?
A) 1482
B) 15
C) 13
D) 5
E) 0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
10. Aşağıdakilerden hangisi bir ArrayList tanımlamasıdır?
A) ArrayList[] liste=new ArrayList();
B) ArrayList liste=new ArrayList();
C) ArrayList liste=ArrayList();
D) ArrayList liste=new ArrayList[10];
E) ArrayList() liste=new ArrayList();
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
JAVA String-1.1

Quiz
•
10th Grade
15 questions
Definite Integrals #1

Quiz
•
10th Grade - University
12 questions
Classwork

Quiz
•
10th Grade
12 questions
Pakistan team quiz

Quiz
•
KG - University
13 questions
Films d'horreurs... croyez-vous les connaîtres?

Quiz
•
KG - University
20 questions
ALGORITMA DAN DASAR PEMROGRAMAN

Quiz
•
10th Grade
18 questions
Quiz sur le Métré

Quiz
•
1st Grade - University
20 questions
Convert point-slope to slope intercept form

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University