AppsLab_Q2

AppsLab_Q2

10th Grade - Professional Development

10 Qs

quiz-placeholder

Similar activities

Python - Loops, Patterns & List manipulations

Python - Loops, Patterns & List manipulations

11th Grade

15 Qs

Arduino Quiz 2

Arduino Quiz 2

University

10 Qs

döngüler

döngüler

10th - 11th Grade

10 Qs

PHP & MySQL - 09 - Petlje

PHP & MySQL - 09 - Petlje

11th Grade

14 Qs

Prob. prog 2

Prob. prog 2

University

10 Qs

ICT 1 ročnik

ICT 1 ročnik

University

11 Qs

K1 - Pemrograman Web

K1 - Pemrograman Web

University

10 Qs

Programming Quiz

Programming Quiz

10th Grade

13 Qs

AppsLab_Q2

AppsLab_Q2

Assessment

Quiz

Computers

10th Grade - Professional Development

Hard

Created by

Peter Milovcik

Used 6+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pomocou ktorého príkazu je možné vytvoriť prázdny zoznam reťazcov?

var list = new List<string>{ "A", "B", "C" };

var list = new List<string>;

var list = new List<string>();

var list = new List<string>{};

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ktorá odpoveď správne zapisuje foreach cyklus?

foreach (item in items) { /* .. */ }

foreach (var item of items) { /* .. */ }

foreach (var item in items) { /* .. */ }

foreach (item of items) { /* .. */ }

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Akým príkazom je možne pridať reťazec do listu, ktorý je typu List<string>?

list.AddRange("A");

list += "A";

list.Insert("A");

list.Add("A");

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pomocou akého príkazu je možné zistiť v liste typu List<string> index reťazca "A"?

list.IndexOf("A");

list.Index("A");

list["A"];

list.GetIndex("A");

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Akým spôsobom je možné zistiť počet záznamov v liste, ktorý je typu List<int>?

int n = list.Length;

int n = list.Count();

int n = list.Count;

int n = list.Length();

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Akým spôsobom je možné vyprázdniť zoznam, ktorý je typu List<double>?

list.Destroy();

list.RemoveAll();

list.Clear();

list.Clean();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Akým spôsobom je možné zistiť, či zoznam obsahuje zadaný záznam?

list.Has(item);

list.Contains(item);

list.Exists(item);

list.Contain(item);

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?