
C# Karar Yapıları

Quiz
•
Computers
•
10th Grade
•
Hard

Serhad OCAK
Used 4+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
byte skor1=1, skor2=4;
if (skor1 > skor2)
{
MessageBox.Show(“1. Takım Kazandı.”);
}
{
MessageBox.Show(“2. Takım Kazandı.”);
}
Yukarıdaki kodun çıktısı ne olur?
1. Takım Kazandı.
2. Takım Kazandı.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Eğer “a” değişkeni “b” den büyük ve “a” değişkeni “c” değişkenine eşit değilse, şart ifadesini yazınız?
if ( a>b && a=c )
if ( a>b || a!=c )
if ( a>b && a!=c )
if ( a>b && a<=c )
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Çift sayının bulunmasının istendiği C# kodunda hangi ifadenin yazılması beklenir?
if(sayi % 2 == 0)
if(sayi % 2 != 0)
if(sayi > 0)
if(sayi < 0)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Negatif sayı bulması beklenen C# kodunda hangi ifadenin olması beklenir?
if (!sayi<0)
if (sayi>0)
if (sayi<0)
if (sayi>1)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5'in katlarının bulunmasının istendiği bir C# kodunda hangi ifadenin bulunması beklenir?
if (sayi==5)
if (sayi%5==0)
if (sayi>5)
if (sayi=5)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tüm şartların true olması durumunda çalışması istenen ifade için hangi operatör kullanılmalıdır?
Or
||
Not
!
Özel Veya
^
Ve
&&
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sonucun true olması için şartların yalnızca birinin true olmasının yeterli kabul edildiği operatör hangisidir?
Değil
!
Veya
||
Ve
&&
Eşit
==
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
switch (sayi) {
case 1: Console.WriteLine("Pazartesi"); break;
case 2: Console.WriteLine("Salı"); break;
case 3: Console.WriteLine("Çarşamba"); break;
case 4: Console.WriteLine("Perşembe"); break;
case 5: Console.WriteLine("Cuma"); break;
case 6: Console.WriteLine("Cumartesi"); break;
case 7: Console.WriteLine("Pazar"); break;
default: Console.WriteLine("Değeri Kontrol Ediniz"); break; }
Kodunda 9 değeri için sonuç ne olur?
Salı
Perşembe
Değeri Kontrol Ediniz
Cumartesi
Similar Resources on Wayground
10 questions
10. Sınıf 2.2 Yazılı Sınavı Öncesi Çalışma Soruları

Quiz
•
10th Grade
12 questions
Unit 5 Lists, Loops, & Traversals

Quiz
•
10th - 12th Grade
7 questions
AP CSP - Functions (code.org unit4)

Quiz
•
9th - 12th Grade
11 questions
O que vamos aprender?

Quiz
•
1st Grade - University
10 questions
C# Operators

Quiz
•
10th Grade
11 questions
History of Computer Games Quiz

Quiz
•
7th Grade - University
10 questions
Code Evaluation

Quiz
•
9th - 11th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

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

Interactive video
•
6th - 10th Grade