Тести
Мова сайту: Українська
Українська
English
Русский
Тести з програмування
Вхід
Реєстрація
Тести з програмування
Теорія
Сніпети
Статті
Головна
Android
Ціни
FAQ
Історія Cosmo
Правила та умови сервісу
Політика конфіденційності
Політика щодо файлів cookie
Зворотній Зв’язок
list
:
Мова контенту: English
Русский
Which of these elements will create a list? Select all that correct.
list
Consider following code snippet: <ul> <li> element 1</li> <li> element 2</li> <li> element 3</li> </ul> Select all correct statements on code above
list
What is the correct HTML for inserting a drop-down list?
list
How can you create a drop-down list that allows multiple selections?
list
Which attribute of <ol> tag specifies the start value of the first list item in an ordered list?
list
What will typing the following to Python interpreter produce? lang = list('Python') ; lang[:-4]
list
Given a list called my_list, what would the following slice notation give you: my_list[-1:-5:-1]
list
What is the value of len(d) ? d = set( [ 0, 0, 1, 2, 2, 3, 4] )
list
Examine the next Scala match expression. What will be the result of pattern matching of the list? val x = List(1, 2, 3, 4, 5) match { case Cons(x, Cons(2, Cons(4, _))) => x case Nil => 42 case Cons(x, Cons(y, Cons(3, Cons(4, _)))) => x + y case Cons(h, t) => h + sum(t) case _ => 101 } Assuming the following code is available for your reference sealed trait List[+A] case object Nil extends List[Nothing] case class Cons[+A](head: A, tail: List[A]) extends List[A]
list
Take a look at the implementation of the following function, select the correct result: def someFunction[A](list: List[A]): List[A] = list match { case Nil => sys.error("empty list") case Cons(_, t) => t } someFunction(List(1, 2, 3)) Assuming the following code is available for your reference sealed trait List[+A] case object Nil extends List[Nothing] case class Cons[+A](head: A, tail: List[A]) extends List[A]
list
← Попередня
1
2
3
4
Наступна →
Зареєструйся Зараз
або
Підпишись на майбутні тести