Search Header Logo

C# Konsol Uygulama Soruları

Authored by mehmet ozcetin

Computers

University

Used 3+ times

C# Konsol Uygulama Soruları
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Aşağıdaki değişken isimlendirmelerinden hangisi hatalıdır?

string sehir=”İstanbul”;

string universite1=”Nişantaşı Üniversitesi”;

string kampus_adi=”1453”;

string bolum    adi=”Dijital Oyun Tasarımı”;

string _girisyili=”2021”;

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Aşağıdaki yapılardan hangisinde bir koşul (karşılaştırma) kullanılmaz?

if

for

while

do-while

array

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Mod alma işlemi için hangi işaret kullanılır?

<

&

%

!

M

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Aşağıdakilerden hangisi değişken türlerinden değildir?

int

slow

string

double

float

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Aşağıdaki kod çalıştırıldığında ekranda hangi sonucu gösterir? 

int sayi1 = 15;

  int sayi2 = 10;

  int sayi3 = 5;

  sayi3 = sayi1 + sayi2;

  Console.WriteLine(sayi3);

5

10

15

25

30

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Aşağıdaki kod çalıştırıldığında ekranda hangi ili gösterir?

int a = 2;

int b = a + 4;

 

if (a * b == 8)

   Console.WriteLine("İstanbul");

else if (a * b != 12)

    Console.WriteLine("Ankara");

else if(a+b/2==4)

    Console.WriteLine("İzmir");

else if (a*2==b)

    Console.WriteLine("Antalya");

else

    Console.WriteLine("Bursa");

İstanbul

Ankara

İzmir

Bursa

Antalya

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Aşağıdaki kodlardan hangisi ekrana true yazar ?

Console.WriteLine(1>2);

Console.WriteLine(2<1);

  Console.WriteLine(1 > 2 && 2 > 1);

Console.WriteLine(1 > 2 || 2 > 1);

Console.WriteLine(1 > 2 == 2 > 1);

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

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

Already have an account?