Basics Flashcards

(21 cards)

1
Q

What are the core stages of the software engineering process?

A

Specification, Development, Validation, Evolution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the Waterfall Model?

A

A linear software development model with sequential phases: Requirements, Design, Implementation, Testing, Maintenance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

List a problem with the Waterfall model.

A

Requires perfect requirements; inflexible to changes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the V-Model in software engineering?

A

An extension of the Waterfall model that emphasizes verification and validation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an Agile Model?

A

An iterative and incremental model focused on collaboration, customer feedback, and small, rapid releases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Name a drawback of Agile models.

A

Lack of process visibility; poor structure; requires special skills.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How is effort typically distributed in SE processes?

A

60% design/build, 40% testing/delivery, with evolution/maintenance often being most costly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the Git command git status do?

A

Check the current state of your working directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the Git command to stage changes?

A

git add <filename>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Git command to commit changes?

A

git commit -m 'message'

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the Git command to push changes?

A

git push

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the Git command to clone a repository? And what does cloning a repository mean?

A

git clone <repository-url> download a repository to your local machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does git pull do?

A

Fetches and merges changes from the remote repository.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the purpose of git log?

A

Displays the commit history.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a Git branch used for?

A

Allows working on different features or fixes independently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does git tag do?

A

Gives a friendly name to a specific commit.

17
Q

What is .gitignore used for?

A

Specifies files and directories Git should ignore.

18
Q

How does Git help prevent code loss?

A

Maintains a complete history, designed to stop multiple people overwriting changes by mistake, lets you work on copies

19
Q

What should team members do before pushing changes?

A

Run git pull to ensure no conflicts with the remote.

20
Q

Why doesn’t Dropbox replace Git?

A

Dropbox lacks version control, branching, and proper merge tools for code collaboration.

21
Q

What does git fork do?

A

Create a personal copy of someone else’s repository