
C# Döngü Deyimleri
Quiz
•
Computers
•
10th Grade
•
Hard
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
11 questions
Scratch
Quiz
•
3rd - 10th Grade
10 questions
C# Database
Quiz
•
10th Grade
10 questions
SID 2022
Quiz
•
KG - 12th Grade
14 questions
How the Internet Works
Quiz
•
4th Grade - University
13 questions
A words - GCSE Computer Science
Quiz
•
1st - 10th Grade
8 questions
Sieci komputerowe
Quiz
•
6th - 12th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 - LỚP 3
Quiz
•
1st - 10th Grade
15 questions
Luyện tập
Quiz
•
KG - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
