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 Quizizz
15 questions
Python - Loops, Patterns & List manipulations

Quiz
•
11th Grade
10 questions
döngüler

Quiz
•
10th - 11th Grade
13 questions
DBP do strane 81

Quiz
•
11th Grade
12 questions
Databáze - tabulky a relace

Quiz
•
9th - 12th Grade
14 questions
PHP & MySQL - 09 - Petlje

Quiz
•
11th Grade
10 questions
Prob. prog 2

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

Quiz
•
1st Grade - University
13 questions
Programming Quiz

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
67 questions
Course Recap Ptho May25

Quiz
•
University
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade