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

Quiz
•
Computers
•
10th Grade - Professional Development
•
Hard
Peter Milovcik
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Wayground
10 questions
Ukládání souborů a dat

Quiz
•
5th Grade - University
10 questions
Quiz 2: Introduction to PHP

Quiz
•
11th Grade
6 questions
Buď v online pohode! 🖥️🔒 – Kvíz o bezpečnosti na internete

Quiz
•
1st Grade - University
15 questions
C++Arrays Loops and Functions Review

Quiz
•
University
15 questions
XII RPL 1

Quiz
•
9th - 12th Grade
15 questions
Flutter intro and Dart quiz

Quiz
•
University
12 questions
Databáze - tabulky a relace

Quiz
•
9th - 12th Grade
10 questions
Grafy

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade