Se Quiz 1

Se Quiz 1

University

12 Qs

quiz-placeholder

Similar activities

Coleções - Python

Coleções - Python

University - Professional Development

17 Qs

แบบทดสอบ 2.2 KRU AORN

แบบทดสอบ 2.2 KRU AORN

University

10 Qs

Archivos

Archivos

University

17 Qs

Information Technology

Information Technology

University

17 Qs

BPMN - Which models are sound?

BPMN - Which models are sound?

University

10 Qs

YT-Quiz

YT-Quiz

University

10 Qs

SQLite - Writing Queries

SQLite - Writing Queries

University

9 Qs

Python with DataScience

Python with DataScience

7th Grade - University

10 Qs

Se Quiz 1

Se Quiz 1

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Glenn :D

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

Was ist hier der Side effect?

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Was ist richtig?

Internal Documentation ist teil vom source code und sollte aus möglichst vielen Kommentaren bestehen, da es computationally irrelevant information enthält

Internal Documentation ist teil vom source code und sollte aus möglichst wenigen Kommentaren und selbstdokumentierendem Code bestehen

External Documentation ist teil vom source code und besteht aus möglichst vielen Kommentaren, die die technischen Details der Lösung beschreiben

External Documentation ist außerhalb vom Code und besteht immer aus mindestens einem Video

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Refactoring = a change made without changing its observable behavior.

a program p2 is a valid refactoring of p1 if...

Wenn es in keinem Kontext einen sichtbaren Unterschied gibt

Wenn ein User keinen Unterschied erkennen würde

Wenn p1 und p2 genau der gleiche Code sind

Wenn es mindestens einen Kontext gibt in dem es einen sichtbaren Unterschied gibt

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Was ist kein valides refactoring für einen Long Method Smell?

lokale variablen in parameter umwandeln

values, die von der langen methode verändert werden, in return values umwandeln

variablen immutable machen

den code in eine hilfsmethode umverschieben

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Dieser Code würde beim input Red crashen. Was ist das für ein smell?

Long Method

Partial Domain

Null

Sentinel Value

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

Ist die Precondition oder die Postcondition stärker?

Warum?

Ist das gut oder schlecht?

Evaluate responses using AI:

OFF

7.

WORD CLOUD QUESTION

3 mins • Ungraded

Nenne einen Code Smell

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?