logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1491579 total)

Which of the following is an example of a module structure?
❌
❌
❌
✅
Переглянути це питання
A good architecture can facilitate stakeholder communication and support analysis of system qualities.
✅
❌
Переглянути це питання
A structure consists of elements and the relationships among them.
✅
❌
Переглянути це питання

Minden talajba telepített kültéri behatolásérzékelő kizárólag mechanikai rezgések érzékelésével működik.

0%
100%
Переглянути це питання
Which option is a quality attribute mentioned in the chapter?
✅
❌
❌
❌
Переглянути це питання
In software architecture, what is a view?
❌
❌
❌
✅
Переглянути це питання
::Q8:: Architectural erosion happens when the descriptive architecture violates the prescriptive one.
Переглянути це питання

Consider: 

scores = {"Asha": 6, "Ben": 4, "Cara": 6, "Dan": 8} 

passed = [] 

distinct_scores = set() 

 

for name in scores: 

    if scores[name] >= 6: 

        passed.append(name) 

        distinct_scores.add(scores[name]) 

 

Explain what values name takes during the loop and what scores[name] retrieves. [2 marks] 

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

After the loop finishes: 

  • What is stored in passed?
  • What values are in distinct_scores?
  • Why do these two collections have different lengths? 

You may give the set’s values in any order. [3 marks] 

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

The following code now runs: 

saved = distinct_scores 

saved.add(10) 

 

print(10 in distinct_scores) 

State the output and explain why it occurs. [2 marks] 

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