Official Cert Guide - Chapter 1 - 3 Flashcards

1
Q

Where stands SDLC for? And which types are includes?

A

Software Development Life-Cycle

Agile
Waterfall
Lean

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

SDLC contains which 6 plans?

A

Planning
Defining
Designing
Building
Testing
Deployment

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

Why should you use SDLC?

A

To create correct code instead of cowboy code. Standards and structures must be made

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

SDLC has several models. Which models are mostly used? Provide the 3 most important ones.

A

Waterfall
Lean
Agile

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

The waterfall method is one of the populair methods. Which phases does it contain?

A
  1. Requirement/analysis
  2. Design
  3. Coding
  4. Testing
  5. Maintenance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the downside of the waterfall method? (3 answers)

A
  1. Does not handle change very well during later phases.
  2. Finish of the project will only be achieved at the end of the project.
  3. Quality. Not enough time to develop which decreases Quality.Project is 50% complete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are important concepts of Lean? (3 answers)

A
  1. Elimination of waste
  2. Just-in-time
  3. Continuous improvement(Kizan)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

On which model is Agile based?

A

Based on Lean method

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

Which 12 principes are the core of the Agile Manifesto

A
  1. Customer satisfaction
  2. Changing requirements in the proces
  3. Software is delivered frequently
  4. Process based on close
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the biggest win Agile opposite Waterfall

A

Quick and continue deployment during the process instead of waiting for the end.

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

Where stands MVC for?

A

Model-View-Controller

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

Were was MVC used for?

A

One of the first design patterns to leverage the seperation of concepts (SoC) principe

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

What is the SoC principe?

A

Is used to decouple an application interdependencies and f unctions from it other parts.

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

What is the goal of MVC?

A

Make various layers of the application modular. Such as: 1. Data Access 2. Business logic 3. presentation

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

What uses MVC concepts?

A

Web framworks.
Angular

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

The classical MVC pattern has three main parts?

A

Model
View
Controller

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

Where is the observer pattern used for?

A

To address the problem of sharing information between one object and many other objects

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

Which observer pattern logical components are there? (2 Answers)

A

Subject
Observer

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

What does the observer pattern subject do?

A

Reers to the objet state being observed

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

What does the observer pattern observer do?

A

Synchonize its data with the subject when called

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

What is the most populair CLI shell in Linux

A

Bash

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

Which features supports Bash?

A

Piping

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

Which command can you use in Bash to represent the directory where you are?

A

This is done through a DOT (.) like: ./filname.sh

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

Which sign you can use to reference the home directory?

A

This is done through a Tilde (~) like: ~/

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

Which bash commands show user rights in the folder where you are?

A

command: ls -l

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

Which bash command can you use to create a file but don’t edit it

A

command: touch

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

Where stands SVC for?

A

Software Version Control

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

What is the power of SVC?

A
  1. Version control
  2. Tree structure of files
  3. Each check-in is tagged with who made the change and what is changed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

You can you create a seprate work stream in GIT?

A

This is done through a Branch

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

Are GIT and GitHub the same?

A

No

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

What kind of structure uses GIT?

A

Multi-tree structure. It looks like a file system.

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

Which main structures GIT tracks?

A
  1. Local Workspace
  2. Staging Area(Index)
  3. Head
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

Which statusses include the GIT file status lifecycle? (4 Answers)

A

Untracked

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

How do you change the status of a Untracked file which is not in GIT?

A

You need to manually add the file with the command: git add

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

When a file is modified in the GIT repository you do you change this status?

A

You need to manually add the file with the command: git add

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

What process is done when a new file is aded tot the GIT index?

A

Staging process

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

Which two types of git commands are there? (2 Answers)

A
  1. Porcelain (user-friendly)
  2. Plumbing (Expert)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

How do you create a GIT repo?

A

Using GIT INIT or GIT CLONE command.

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

How do you add files to the index

A

so it is tracked by GIT?

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

What is the difference between git add . Or -A and git add

A

git add . Or -A adds the entire folder structure. Git add adds specific file

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

What happens if you commit a file

A

You move the file from index/staging area to the repository

42
Q

When you use a shared repo. How do you sync your local repo to the remote repo?

A

Use the command: git push

43
Q

When there are changes on the remote repo. How do you sync this to yourl ocal repo?

A

Use the command: git pull

44
Q

What is an important workflow in software developtment

A

Branches

45
Q

Where do you use GIT branches?

A

To not modify the main project(master git) during bug fixes or software upgrades. But create a separate work string.

46
Q

How do you create a GIT branch?

A

Use the command: git branch

47
Q

How is the first commit state named?

A

HEAD

48
Q

How many of the SHA-1 value is displayed?

A

First 4

49
Q

When your code in the branch is ready you can move it to the master. Which command must be applied?

A

git merge

50
Q

How can you compare code between two different GIT commits

A

git diff

51
Q

Which information is git diff looking for?

A

history of commits

52
Q

What is the most usefull function of git diff?

A

See the difference between the git tree structure

53
Q

Is Python 2.x. compatible with Python 3.x?

A

No! Recommanded is to use version 3.x

54
Q

How can you run version 2.x and 3.x in the same client?

A

Using virtual environments where you can run both versions next to each other.

55
Q

What is the Python philosophy? (5 answers)

A
  1. Beautiful is beter than ugly
  2. Explicit is better than implicit
  3. Simple is btter than complex
  4. Coplex is better than complicated
  5. Readability counts
56
Q

What is different in Python opposite to other languages

A

White space matters!

57
Q

Tabs or spaces. What is the standard for Python from the PEP-8 style guide?

A

Use four spaces of indentation before each block or code.

58
Q

When is the allignment very important

A

When you work with nest loops and conditional statements

59
Q

What is the fuel/fueltank for a program

A

Data and variables

60
Q

What are Python variable conditions?

A
  1. Must start with letter or underscore character
  2. Cannot start with number
  3. Only consist out of alphanumeric numbers
  4. is case sensitive
61
Q

Is everything in Python an object?

A

Yes

62
Q

Which two data types Python objects are there?

A
  1. Mutable
  2. Immutable
63
Q

Are Mutable and Immutable types treated differently?

A

Yes

64
Q

What are mutable objects?

A

Object that you want to stay the same

65
Q

What are immutable objects

A

Object which information is changed by addding or substracting information on regular basis

66
Q

What are Python Integers?

A

Whole number without decimal points

67
Q

What are Python Floating point?

A

Number with decimal points or exponents

68
Q

Python uses the following calculation order:(7 answers)

A

PEMDAS:
1. Parentheses
2. Power
3. Multiplication
4. Division
5. Addition
6. Subscration
7. Left to Right

69
Q

Which values can booleans have?

A

True or False

70
Q

What is a boolean?

A

Comparisation. It is used for constructing conditional steps

71
Q

Which Python Data types are most common?

A
  1. Integer (int)
  2. Boolean (bool)
  3. String (str)
  4. List (list)
  5. Tuple (tup)
  6. Dictonary (dict)
  7. Set (set)
72
Q

What is a python string

A

A list of characters in a certain order that python keeps track off

73
Q

With which number does Python always start in case of a string

A

Zero (0)

74
Q

What can contain a Python list

A

Any Python object such as integers

75
Q

Where are empty list used for?

A

To pull data from other sources

76
Q

With which number does Python always start in case of a list

A

Zero (0). Same as with a string - Mutable

77
Q

Lists and tuples are very similar. What is the biggest difference?

A

Lists are mutable. Tuples are inmmutable

78
Q

Why are there lists and tuples when they are prety much the same?

A

Because how Python access objects and data in memory. When you have a lot of changes you can better us metable object and vica-versa

79
Q

Which parentheses uses tuples?

A

()

80
Q

Which parentheses uses lists?

A

[]

81
Q

What is a dictonary?

A

Provides another way of creating a collection of items

82
Q

Which rules are there regarding a dictonary?

A

Keys

83
Q

Which parentheses uses sets?

A

{}

84
Q

What is a Python set?

A

Consists of an unordered grouping of data. Sets are mutable.

85
Q

What are two main functions of Python to create interactive applications

A

The functions: input()

86
Q

Where is the input function used for?

A

To get information from the user. The user is asked a question

87
Q

What is assigned to the input from the user in a input function

A

A variable like : inpt

88
Q

What is the print function used for?

A

To provide output that can be displayed in the user terminal

89
Q

Which character is used in the print function to create a new line?

A

/n Like:
print (‘Hello/nWorld’).
This seperates Hello and World in two lines

90
Q

What is the real power of programming language?

A

Embeded logic and respond to different conditions by change the flow of operations

91
Q

What are the three python primary control statements?

A
  1. if:
  2. for:
  3. while:
92
Q

What does the if condition do?

A

compare values and make branching decisions

93
Q

What does the for condition do?

A

can interate through data a specific number of times

94
Q

What does the while condition do?

A

can iterate forever when certain conditions are met

95
Q

Can you compare the three statements

A

Yes

96
Q

What is the iteration of the if statement?

A

elif and else

97
Q

When do you use the else statement?

A

On the end of the if

98
Q

Which statement do you use when you work with data sets?

A

statement: for

99
Q

What is the while loop

A

A conditional loop. Determines how many times the loop executes. You can use else statements in while loops

100
Q

Which statement must you use to stop the while loop

A

Break statement