Search Header Logo

C# 1ST EXAM

Authored by أشرف شهاب

Computers

University

Used 3+ times

C# 1ST EXAM
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

int type in C# take a size from memory equal to___?

8

16

32

64

2.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Media Image

when assign value from int variable to float variable this conversion called

(a)  

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

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 BLANKS QUESTION

3 mins • 1 pt

Media Image

int A = 1;

for (int i = 1; i <= 4; i++)

A += i;

Console.WriteLine(A);

(a)  

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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 BLANKS QUESTION

2 mins • 1 pt

Media Image

int A, B = 89;

A = (B < 90) ? 90 : B;

Console.WriteLine(A);

(a)  

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?