
C# 1ST EXAM
Authored by أشرف شهاب
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int type in C# take a size from memory equal to___?
8
16
32
64
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
when assign value from int variable to float variable this conversion called
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
int i = 4, k = 2, c = 2;
c += c + k++ + (++i - ++c) * i++;
Console.WriteLine(c);
16
18
17
15
4.
MULTIPLE SELECT QUESTION
1 min • 2 pts
اكبر نوعين من الانواع المبينه هما
long
int
short
byte
5.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
int A = 1;
for (int i = 1; i <= 4; i++)
A += i;
Console.WriteLine(A);
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
string st = "MY NAME IS ABU SALEEM";
string newst = st.Substring(8, 6);
Console.WriteLine(newst);
NAME IS
SALEEM
BU SAL
IS ABU
7.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
int A, B = 89;
A = (B < 90) ? 90 : B;
Console.WriteLine(A);
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?