Hangi kodlar hatalıdır?
C# PROGRAMLAMA

Quiz
•
Computers
•
9th - 10th Grade
•
Hard
Fatih Gönül
Used 31+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
int 1sayı;
sayı = 20;
string ad;
ad = "fatih";
char karakter;
karakter = 'ad';
double ortalama;
ortalama = "45.92";
2.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
Hangi kodlar hatalıdır?
int sınav;
sınav = 20;
string ad;
ad = fatih;
char karakter;
karakter = 'a';
bool geçti_mi;
geçti_mi = evet;
3.
FILL IN THE BLANK QUESTION
5 mins • 1 pt
Aşağıdaki kodun çıktısı nedir?
int y1 = 20, y2 = 30, y3 = 100;
Console.WriteLine(y3/(y1+y2));
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Aşağıdaki koda göre hangisi doğrudur?
const double pi = 3.14;
pi=4;
pi sayısının son değeri 4 olmuştur.
pi sayısının son değeri 3.14 olmuştur.
Kod hatalıdır.
pi sayısının son değeri 3 olmuştur.
5.
FILL IN THE BLANK QUESTION
5 mins • 1 pt
Aşağıdaki kodun çıktısı nedir?
int a=10, b=20, c=30;
a++;
b--;
a+=5;
b-=3;
c=a+b;
c++;
c*=2;
Console.WriteLine(c);
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Aşağıdaki koda göre hangisi doğrudur? Kod bloklarına dikkat edin.
int c=30;
{
int a = 10;
}
{
int b = 20;
Console.WriteLine(a);
Console.WriteLine(c);
}
Ekrana 10 yazar.
Kod hatalıdır.
Ekrana 30 yazar.
Ekrana 20 yazar.
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Aşağıdaki kodun çıktısı nedir?
string metin1 = "Bu";
string metin2 = "soru";
string metin3 = "zor";
string metin4 = "değil.";
Console.WriteLine(metin1 + metin2 + " " + metin3);
Bu soru zor
Busoru zor
Bu soru zor.
Bu soru zor değil.
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Nesne Tabanlı 3. hafta

Quiz
•
10th Grade
28 questions
CSP Unit 7 Review Code.org

Quiz
•
9th - 12th Grade
27 questions
AP CS A CH 1 Review

Quiz
•
10th - 12th Grade
34 questions
Python Seviye 1

Quiz
•
5th - 12th Grade
35 questions
Python-Listeler

Quiz
•
9th Grade
25 questions
computers

Quiz
•
9th Grade
27 questions
Мова програмування С#

Quiz
•
1st - 10th Grade
25 questions
Java Programming Quizz-GX

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University