
Dizi ve ArrayList Soruları
Quiz
•
Other
•
10th Grade
•
Practice Problem
•
Hard
halime kanbil
Used 2+ times
FREE Resource
Enhance your content in a minute
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();
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?
Similar Resources on Wayground
20 questions
Ch. 2 Life Skills
Quiz
•
10th Grade - University
21 questions
Christmas
Quiz
•
KG - Professional Dev...
20 questions
Gouvernement local - organisation
Quiz
•
6th - 12th Grade
13 questions
Pesticide Core Review - Unit 3
Quiz
•
9th - 12th Grade
16 questions
Technology Basics
Quiz
•
4th - 12th Grade
20 questions
SURAT ELEKTRONIK
Quiz
•
10th - 12th Grade
14 questions
Brzydkie kaczątko
Quiz
•
1st - 12th Grade
20 questions
Pick the Mix
Quiz
•
KG - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Parallel Lines Cut by a Transversal
Quiz
•
10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
