Search Header Logo

07.Mock_SoftwareProgrammingMethods_UnitTesting_v1.0

Authored by 44. Nguyễn Thị Ngà

Information Technology (IT)

University

Used 1+ times

07.Mock_SoftwareProgrammingMethods_UnitTesting_v1.0
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is Unit Testing?

A software development process in which the smallest testable parts of an application, called units, are individually and independently scrutinized for proper operation.
A measure used to describe the degree to which the source code of a program is executed when a particular test suite runs
Both
None

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Why we need run Unit Testing?

Quickly fixing, lower costs of fixing.​
Quickly make changes to the code base.
Can reuse code, migrating it to new projects.
All

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which is Unit Testing Techniques?

Black box
White box
Both
None

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is Stubs in Unit Testing?

simulates a called unit and substituting a called function
objects pre-programmed with expectations which form a specification of the calls they are expected to receive
objects are passed around but never actually used. Usually they are just used to fill parameter lists
All

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which is Unit Testing Tools?

gtest
vscode
Both
None

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is White box test?

A software testing method in which the functionalities of software applications are tested without having knowledge of internal code structure, implementation details and internal paths.
A testing technique in which software’s internal structure, design, and coding are tested to verify input-output flow and improve design, usability, and security.
Both
None

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which is Unit Testing Disadvantages?

Not to uncover every bug.
Not catch errors in integration.​
Time investment to write test code.​
All

Access all questions and much more by creating a free account

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?