
KSP-1
Authored by Kamil Əhmədov
Computers
1st Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 5 pts
Sual 1: Aşağıdakı proqramın çıxışı nə olacaq?
public static void Main()
{
int i;
Console.WriteLine(i);
}
Random value
0
Runtime error
Compile-time error
2.
MULTIPLE CHOICE QUESTION
5 mins • 5 pts
Sual 2: Aşağıdakı kodun çıxışı nə olacaq?
int i = 5, j;
Console.WriteLine(j=i*2);
0
10
Runtime error
Compile-time error
3.
MULTIPLE CHOICE QUESTION
5 mins • 5 pts
Sual 3: Aşağıdakı proqramın çıxışı nə olacaq?
public static void Main()
{
int k;
display(k);
}
static void display(int val = 0)
{
Console.Write(val);
}
null
0
Compile-time error
Runtime error
4.
MULTIPLE CHOICE QUESTION
5 mins • 5 pts
Sual 4: Aşağıdakılardan hansı açar söz, dəyişənin tipinin kompilyator tərəfindən avtomatik müəyyən ediləcəyi dəyişəni elan etmək üçün istifadə olunur?dynamic
var
this
null
5.
MULTIPLE CHOICE QUESTION
5 mins • 5 pts
Sual 5: Aşağıdakılardan hansı məlumat növləri maksimum müsbət və ya mənfi, tam və ya ondalıq dəyəri ehtiva edə bilər?double
long
decimal
BigInteger
6.
MULTIPLE CHOICE QUESTION
5 mins • 5 pts
Sual 6: Aşağıdakı proqramın çıxışı nə olacaq?
public static void Main(string[] args)
{
int a = 1, b = 2, c = 3;
Console.Write ((a*b)+(b*c));
Console.Write ((a*b)+(b*c)-c);
}
·8, 5
9, 5
7,5
9,6
7.
MULTIPLE CHOICE QUESTION
5 mins • 5 pts
Sual 7: Namespace-də varsayılan giriş modifikatoru hansıdır?
Public
Private
Internal
Protected
Access all questions and much more by creating a free account
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
Already have an account?