Search Header Logo

TDD/Mocha Quiz

Authored by Brian Goodrich

Computers

1st Grade

Used 4+ times

TDD/Mocha Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the first step in writing a program with TDD?

Write a single unit test describing an aspect of the program

Immediately start coding to solve the problem as fast as possible

Have some coffee

Write everything down on paper

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What keyword is associated with a "Test Suite"?

assert

it

describe

equals

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What keyword is associated with a "Unit Test"?

describe

it

mkdir

should

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is NOT a step in the software development lifecycle?

Design

Testing

Deployment

Marketing

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the last step in the software development life cycle?

Deployment

Requirements

Ideation

Maintenance

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is Mocha?

My favorite coffee flavor

A testing framework

A testing library

A front end framework

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is Chai?

An assertion library

A testing framework

A testing library

Tea

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?