logo

Crowdly

Browser

Add to Chrome

Questions Bank (1630326 total)

Що таке життєвий цикл Activity?

❌
✅
❌
❌
View this question

Що

робить такий код?

@Test

fun

stateWithContent_isRendered() {

val restaurants =

DummyContent.getDomainRestaurants()

testRule.onNodeWithText(restaurants[0].description)

.assertIsDisplayed()

…

}

❌
❌
✅
❌
View this question

Що таке довготерміновий маркетинговий план?

❌
✅
❌
❌
View this question

Засобами якої Jetpack-бібліотеки здійснюється доступ до локальної БД?

❌
✅
❌
❌
View this question

Де зазвичай виконуються інструментальні тести?

❌
❌
❌
✅
View this question

Що виведе

виклик функції

visitTavern і чи скомпілюється код?

 

private val

firstNames = setOf("Alex", "Mordoc", "Sophie",

"Tariq")

private val

lastNames = setOf("Ironfoot", "Fernsworth",

"Baggins", "Downstrider")

 

fun visitTavern

()

{

    var patrons: Set<String> = setOf()

    repeat(10) {

        patrons += "${firstNames.random()}

${lastNames.random()}"

    }

 

    println("There are several patrons in

the tavern:")

    println(patrons)

}

❌
❌
✅
❌
View this question

Які є три основні концепції та відповідні анотації щоб забезпечити

автоматичне впровадження залежностей у проекті мобільного застосунку?

❌
❌
✅
❌
View this question

Яка назва компанії, що готує звіти та статті в контексті User Experience?

✅
❌
❌
❌
View this question

Як на Kotlin перетворити один набір (тип) даних в інший, трансформувавши

його?

❌
❌
✅
❌
View this question

Чи скомпілюється

такий код?

class Tests {

    @Test

    fun `create map using infix to function`()

{

        val map = mapOf("a" to 1,

"b" to 2, "c" to 2)

        assertAll(

            { assertThat(maps,

hasKey("a")) },

            { assertThat(map,

hasKey("b")) },

            { assertThat(maps,

hasKey("c")) },

            { assertThat(map, hasValue(1)) },

            { assertThat(maps, hasValue(2)) })

    }

}

✅
❌
❌
View this question