C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

quiz-placeholder

Similar activities

quiz

quiz

1st - 5th Grade

15 Qs

กลางภาค ภาษาซี

กลางภาค ภาษาซี

9th - 12th Grade

15 Qs

AP CSA Recursion

AP CSA Recursion

9th - 12th Grade

10 Qs

Introducción a JavaScript I

Introducción a JavaScript I

9th Grade

10 Qs

Latihan UPS2

Latihan UPS2

5th - 12th Grade

15 Qs

Skill Development - Debugging Practice1

Skill Development - Debugging Practice1

10th Grade - Professional Development

10 Qs

Data Types in Python

Data Types in Python

1st - 5th Grade

14 Qs

Coding and Engineering 101

Coding and Engineering 101

6th - 7th Grade

10 Qs

C# lesson10

C# lesson10

Assessment

Quiz

Computers

1st - 10th Grade

Hard

Used 30+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Выберите строчку с правильно созданным массивом.

int[] array = new int[return = ""];

int[] array = new int[public bool];

int[] array = new int[6];

int array = new int;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Выберите строчку с правильно созданным циклом.

for(int; i = 0;i++){}

for(i++){}

for(int i = 0; i = 0;i++){}

for(int i = 0; i < 10;i++){}

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Выберите строку где допущены ошибки.

int a = 54;

float b = 23.4f;

string c = "str123";

int a = 4;

float b = 4f;

string c = "4";

int a = 5.5;

float b = 4f;

string c = 4;

int a = 51;

float b = 4.6f;

string c = "";

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Как правильно создать метод?

public void method(int a, int b){}

public method(int a, int b){}

public void method(a,b ){}

method(int a, int b){}

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Выберите методы с возвращаемым значением.

public int method(int a, int b)

public void method(int a, int b)

public float method(int a, int b)

public string method(int a, int b)

public void method(int a, int b)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Что выведет программа на консоль ?

string str = "qwert";

Console.WriteLine(str[3]);

q

w

e

r

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Выберите строчку без ошибок .

if (4 > ""){}

if (4 = 4){}

if (214 > 12 * 4){}

if (4213){}

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?