Search Header Logo

NTP 2. hafta tekrar

Authored by Erdem KISMET

Other

11th Grade

Used 2+ times

NTP 2. hafta tekrar
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdaki değişken tanımlamalarından hangisi ondalıklı sayılar için uygundur?

int maas;

float maas;

string maas;

bool maas

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int sayi1 =10, sayi2;

sayi2 = 20;

ifadesi doğru bir ifade midir?

Doğrudur

Yanlıştır

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sadece true veya false değeri tutan değişken türü hangisidir?

bool

double

decimal

char

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int sayi;

sayi = 15;

sayi = 15%3;

MessageBox.Show(sayi);

Verilen kodlarda yapılan hata nedir?

% işareti kullanımından dolayı hata oluşur.

15%3 sonucu sayi değişkenine atanamaz.

MessageBox.Show() ifadesi string bir parametre beklediğinden sayi değişkeni toString() yardımıyla string'e dönüştürülmelidir.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int sayi;

sayi = 15;

sayi = 15%4;

MessageBox.Show(sayi.toString());

Kodların çıktısı olarak MessageBox'ta gözükecek değer kaçtır?

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdakilerden hangisi ondalık sayı tutamaz?

float

double

decimal

byte

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdaki değişken tanımlamalarından hangisi doğrudur?

int 1ucret;

bool doğrumu?;

int ucret katsayisi;

int ucret1;

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?