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
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
Similar Resources on Wayground
10 questions
Grafy

Quiz
•
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
10 questions
K1 - Pemrograman Web

Quiz
•
University
15 questions
C++Arrays Loops and Functions Review

Quiz
•
University
13 questions
DBP do strane 81

Quiz
•
11th Grade
15 questions
INFORMATIKA X-5

Quiz
•
10th Grade - University
14 questions
PHP & MySQL - 09 - Petlje

Quiz
•
11th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade