Quizz Tests and Technical Dept

Quizz Tests and Technical Dept

University

10 Qs

quiz-placeholder

Similar activities

Five Nights At Freddy's: Security Breach Quiz

Five Nights At Freddy's: Security Breach Quiz

KG - Professional Development

13 Qs

Intro to Data Mining

Intro to Data Mining

University

15 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

ADVACOMT-Quiz No.1 (final term)

ADVACOMT-Quiz No.1 (final term)

University

15 Qs

Quis Administrasi Sistem Jaringan

Quis Administrasi Sistem Jaringan

University

15 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

Programming

Programming

University

12 Qs

Què en saps de GSuite?

Què en saps de GSuite?

University - Professional Development

10 Qs

Quizz Tests and Technical Dept

Quizz Tests and Technical Dept

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Mathieu Chauvin

Used 21+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tests code does not matter as much as application's code

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tests should usually be the more numerous?

End-to-end tests

Unit tests

integration tests

Performance tests

3.

MULTIPLE SELECT QUESTION

45 sec • 2 pts

Which of these properties are required for unit tests?

(Multiple choice allowed)

Reproducibility

Isolation from any external resource

One test per method

Independance of execution order

4.

MULTIPLE CHOICE QUESTION

45 sec • 3 pts

I have a code that uses Math.random(). I must test the case when the random value is less that 0.5.

I can't. Random is random!

I loop in my test until a value less than 0.5 is returned

I should not use Math.random() in my application

I introduce a new service that encapsulates Math.random(), and fake that service in my test

5.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is the main reason why tests should be fast?

Because it consumes less resources and energy

Because it demonstrates that my application is fast

Because it allows me to run them often while I'm working

Because I told you they should

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does AAA stand for?

Arrange, Act, Assert

Awesome Alcoholics Anonymous

Act, Assert, Arrange

Arrange, Assert, Act

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is not part of the technical dept?

We're using a 2 years old version of Java

We have a whole bunch of untested code

The code was written by many developers all using their own code format conventions

Some code is complicated because we had to solve a performance issue

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?