Quizz Tests and Technical Dept

Quizz Tests and Technical Dept

University

10 Qs

quiz-placeholder

Similar activities

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

FGCT4023 Topic 5 - Colour & Text

FGCT4023 Topic 5 - Colour & Text

University

10 Qs

Data Analytics using Python - Quiz 1

Data Analytics using Python - Quiz 1

University

10 Qs

coding

coding

KG - Professional Development

15 Qs

Different types of Memory

Different types of Memory

University

10 Qs

C Classes

C Classes

University

10 Qs

ArrayList Review

ArrayList Review

9th Grade - University

11 Qs

4.2 Types of Programming Language, Translators, and Integrated D

4.2 Types of Programming Language, Translators, and Integrated D

10th Grade - University

11 Qs

Quizz Tests and Technical Dept

Quizz Tests and Technical Dept

Assessment

Quiz

Computers

University

Medium

Created by

Mathieu Chauvin

Used 21+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?