C# Döngü Deyimleri

C# Döngü Deyimleri

10th Grade

10 Qs

quiz-placeholder

Similar activities

Computing figures

Computing figures

4th - 12th Grade

14 Qs

สอบเก็บคะแนน ไพทอน ม.4

สอบเก็บคะแนน ไพทอน ม.4

9th - 12th Grade

10 Qs

Expresii și operatori în C++

Expresii și operatori în C++

7th - 10th Grade

10 Qs

Kuis Kelas 9 SMP DAMPAK SOSIAL INFORMATIKA

Kuis Kelas 9 SMP DAMPAK SOSIAL INFORMATIKA

9th Grade - University

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Kuis tipedata, flowchart informatima kelas X j4njang SMA

Kuis tipedata, flowchart informatima kelas X j4njang SMA

9th - 12th Grade

10 Qs

Internet ed azienda

Internet ed azienda

9th - 11th Grade

10 Qs

Finding Information

Finding Information

10th Grade

10 Qs

C# Döngü Deyimleri

C# Döngü Deyimleri

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Serhad OCAK

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

private void button1_Click(object sender, EventArgs e)

{

for (int i = 0; i < 3; i++)

{

listBox1.Items.Add(“Bilişim Teknolojileri”);

}

}

Kod parçasının çıktısının aşağıdaki seçeneklerden hangisi olması beklenir?

0' dan başlayarak 3'e kadar sayıları listBox1 kontrolüne ekler.

listBox1 kontrolüne 3 satır

Bilişim Teknolojileri

ifadesini ekler.

1.Bilişim Teknolojileri

2.Bilişim Teknolojileri

3.Bilişim Teknolojileri

şeklinde çıktı verir.

Bilişim Teknolojileri

Bilişim Teknolojileri

Bilişim Teknolojileri

şeklinde çıktı verir.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1'den 10'a kadar ardışık sayıları ListBox aracına ekleyen döngü ifadesi aşağıdakilerden hangisidir?

for (int i = 1; i <= 10; i=i+2)

{

listBox1.Items.Add(i);

}

for (int i = 0; i <= 10; i++)

{

listBox1.Items.Add(i);

}

for (int i = 0; i < 10; i++)

{

listBox1.Items.Add(i);

}

for (int i = 1; i < 10; i++)

{

listBox1.Items.Add(i);

}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5'ten 15'e kadar ardışık sayıları ComboBox kontrolüne ekleyen kod parçası aşağıdakilerden hangisidir?

for (int i = 5; i <=15; i++)

{

comboBox1.Items.Add(i);

}

for (int i = 5; i <=15; i++)

{

listBox1.Items.Add(i);

}

for (int i = 0; i <=15; i++)

{

comboBox1.Items.Add(i);

}

for (int i = 6; i <=16; i++)

{

textBox1.Items.Add(i);

}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2 ile 32 arasındaki çift sayıları ListBox kontrolüne ekleyen kod parçası aşağıdakilerden hangisidir?

for (int i = 0; i <=32; i++)

{

listBox1.Items.Add(i);

}

for (int i = 2; i <=32; i++)

{

listBox1.Items.Add(i);

}

for (int i = 2; i <=32; i=i+2)

{

listBox1.Items.Add(i);

}

for (int i = 1; i <=33; i=i+3)

{

listBox1.Items.Add(i);

}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ComboBox kontrolüne;

5 - 10 - 15 - 20 - 25 - 30 - 35 - 40 - 45 - 50

sayılarını ekleyen kod parçası aşağıdakilerden hangisidir?

for (int i = 1; i <=50; i=i+5)

{

comboBox1.Items.Add(i);

}

for (int i = 5; i <=50; i=i+5)

{

comboBox1.Items.Add(i);

}

for (int i = 0; i <=50; i=i+5)

{

listBox1.Items.Add(i);

}

for (int i = 5; i <=45; i=i+5)

{

comboBox1.Items.Add(i);

}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ComboBox kontrolüne;

100 - 95 - 90 - 85 - 80 - 75 - 70 - 65 - 60 - 55 - 50

sayılarını ekleyen kod parçası aşağıdakilerden hangisidir?

for (int i = 100; i >=50; i=i-5)

{

listBox1.Items.Add(i);

}

}

for (int i = 100; i >=50; i=i+10)

{

comboBox1.Items.Add(i);

}

}

for (int i = 50; i <=100; i=i+10)

{

listBox1.Items.Add(i);

}

}

for (int i = 100; i >=50; i=i-5)

{

comboBox1.Items.Add(i);

}

}

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int say = 1;

while (say<=10)

{

listBox1.Items.Add(say);

say++;

}

Kod parçası aşağıdaki çözümlerden hangisini verir?

TextBox kontrolüne

say

ifadesini yazar

listBox1 kontrolüne

1'den 10'a kadar sayıları

yazar

ComboBox1 kontrolüne 1'den 10'a kadar sayıları yazar

listBox kontrolüne

10 kez say ifadesini yazar

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?