AppsLab_Q2

AppsLab_Q2

10th Grade - Professional Development

10 Qs

quiz-placeholder

Similar activities

EIT237-bases de php7-3

EIT237-bases de php7-3

Professional Development

12 Qs

Arduino Quiz 2

Arduino Quiz 2

University

10 Qs

DBP do strane 81

DBP do strane 81

11th Grade

13 Qs

Databáze - teorie 1

Databáze - teorie 1

8th - 12th Grade

12 Qs

PHP & MySQL - 09 - Petlje

PHP & MySQL - 09 - Petlje

11th Grade

14 Qs

CSE 102 Exam 2 Practice

CSE 102 Exam 2 Practice

University

15 Qs

quizizz word

quizizz word

University

10 Qs

2023 - 08 (Polja)

2023 - 08 (Polja)

11th Grade

10 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?