logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1294954 total)

Розрізняють охолодження
Переглянути це питання
Під час подрібнення на м'ясорубці до кінцевого продукту висувають такі вимоги:
Переглянути це питання

public void processUserData(Object[] data) 

{  // Assumes index 0 is always Age and index 1 is always Postcode 

int age = (int) data[0]; 

String postcode = (String) data[1]; 

}

A rushed engineering team configures multiple distinct classes to expect an implicit, exact structural order of values inside a plain object array. When a new developer unknowingly swaps the element insertion order in another module, this routine instantly crashes. By taking a shortcut that relies on structural sequence dependency across components, the team introduced technical debt tied to which type of connascence?
0%
100%
0%
0%
0%
Переглянути це питання

public void handleUserRequest(Request req) {

    parsePayload(req);

    updateDatabase(req);

    sendNetworkAlert(req);

    renderUserInterface(req);

}

Under intense managerial pressure to deliver a feature, a developer crams UI parsing, database adjustments, networking requests, and error notifications into a single, massive routine block. The feature ships on time, but the resulting debt makes the method handle far too many disparate architectural responsibilities. Which structural code smell was directly accumulated in this routine due to the hurried implementation?

0%
0%
0%
100%
0%
Переглянути це питання

Read the code provided above. Imagine that the developer extracts the side-effect actions out of the conditional blocks entirely and delegates them directly to an incoming item object parameter by executing item.applyPowerUpEffect(this). What core object-oriented benefit is achieved by shifting from string checking to this style of object delegation?
0%
0%
0%
0%
100%
Переглянути це питання

Read the code provided above. To fix the duplicate conditional logic checking "Super Mushroom", a developer merges the two distinct conditional blocks into a single cohesive structure: This consolidation directly serves as the primary refactoring treatment for which architectural odour?
0%
0%
100%
0%
0%
Переглянути це питання

A cartoon of a person in a superhero garment

AI-generated content may be incorrect.

Read the code provided above. The console streaming prints for coordinate logging and spectroscopy analysis have been moved entirely out of the main execution flow and into runTelemetryScans(). By applying this specific structural change, which architectural cleanup goal was achieved?
0%
0%
0%
0%
100%
Переглянути це питання

A cartoon of a person in a superhero garment

AI-generated content may be incorrect.

A computer screen shot of a program code

AI-generated content may be incorrect.

Read the code provided above. To resolve the structural issues inside encounterElement, a developer decides to decouple the telemetry reporting instructions by isolating them into an independent, private utility method named runScans(). What is the formal name for this standard refactoring pattern?
100%
0%
0%
0%
0%
Переглянути це питання

    Напусткове

з’єднання двох пластини шириною 50

мм і товщиною 5 мм виконане двома лобовими зварними швами

катетом

k=5 мм. Пластини навантажені поздовжньою силою розтягу F. Завдання:

визначити:максимально

допустиму поздовжньою силу в кН, якщо  допустиме напруження в з’єднанні [τ] =60  МПа.  

Допустима похибка обчислення ±1 МПа.

Переглянути це питання

    Який вид з’єднання показаний на рисунку?

Переглянути це питання