Search Header Logo

SWE201c 9

Authored by Le CT)

English

5th Grade

Used 1+ times

SWE201c 9
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Only one line of code should change per commit.

A. True

B. False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Commits should happen only at the end of a daily coding session.

A. True

B. False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is created to allow a compiler to temporarily stop processing code that is being executed to allow for the developer to see current state?

A. D​ebugging break

B. D​ebugging

C. P​ause

D. S​toppoint

E. B​reakpoint

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Using a debugger can find all defects in code.

A. True

B. False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cyclomatic complexity is calculated by the formula:
M = E − N + 2P,
where
E = the number of edges of the graph.
N = the number of nodes of the graph.
P = the number of connected components.

Calculate the cyclomatic complexity for the following control flow graph:

(Red - 2 White - 1 White - 2 White - Blue) (Red & Blue are connected)

4

2

3

1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cyclomatic complexity is calculated by the formula:
M = E − N + 2P,
where
E = the number of edges of the graph.
N = the number of nodes of the graph.
P = the number of connected components.

Calculate the cyclomatic complexity for the following control flow graph:

(Red - 3 White - 3 White - Blue) (Red & Blue are connected)

4

3

2

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cyclomatic complexity is calculated by the formula:
M = E − N + 2P,
where
E = the number of edges of the graph.
N = the number of nodes of the graph.
P = the number of connected components.

Calculate the cyclomatic complexity for the following control flow graph:

(Red - 3 White - 3 White - Blue)

4

3

2

1

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?