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
Which bash commands show user rights in the folder where you are?
command: ls -l
26
Which bash command can you use to create a file but don’t edit it
command: touch
27
Where stands SVC for?
Software Version Control
28
What is the power of SVC?
1. Version control 2. Tree structure of files 3. Each check-in is tagged with who made the change and what is changed
29
You can you create a seprate work stream in GIT?
This is done through a Branch
30
Are GIT and GitHub the same?
No
31
What kind of structure uses GIT?
Multi-tree structure. It looks like a file system.
32
Which main structures GIT tracks?
1. Local Workspace 2. Staging Area(Index) 3. Head
33
Which statusses include the GIT file status lifecycle? (4 Answers)
Untracked
34
How do you change the status of a Untracked file which is not in GIT?
You need to manually add the file with the command: git add
35
When a file is modified in the GIT repository you do you change this status?
You need to manually add the file with the command: git add
36
What process is done when a new file is aded tot the GIT index?
Staging process
37
Which two types of git commands are there? (2 Answers)
1. Porcelain (user-friendly) 2. Plumbing (Expert)
38
How do you create a GIT repo?
Using GIT INIT or GIT CLONE command.
39
How do you add files to the index
so it is tracked by GIT?
40
What is the difference between git add . Or -A and git add
git add . Or -A adds the entire folder structure. Git add adds specific file
41
What happens if you commit a file
You move the file from index/staging area to the repository
42
When you use a shared repo. How do you sync your local repo to the remote repo?
Use the command: git push
43
When there are changes on the remote repo. How do you sync this to yourl ocal repo?
Use the command: git pull
44
What is an important workflow in software developtment
Branches
45
Where do you use GIT branches?
To not modify the main project(master git) during bug fixes or software upgrades. But create a separate work string.
46
How do you create a GIT branch?
Use the command: git branch
47
How is the first commit state named?
HEAD
48
How many of the SHA-1 value is displayed?
First 4
49
When your code in the branch is ready you can move it to the master. Which command must be applied?
git merge
50
How can you compare code between two different GIT commits
git diff
51
Which information is git diff looking for?
history of commits
52
What is the most usefull function of git diff?
See the difference between the git tree structure
53
Is Python 2.x. compatible with Python 3.x?
No! Recommanded is to use version 3.x
54
How can you run version 2.x and 3.x in the same client?
Using virtual environments where you can run both versions next to each other.
55
What is the Python philosophy? (5 answers)
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
What is different in Python opposite to other languages
White space matters!
57
Tabs or spaces. What is the standard for Python from the PEP-8 style guide?
Use four spaces of indentation before each block or code.
58
When is the allignment very important
When you work with nest loops and conditional statements
59
What is the fuel/fueltank for a program
Data and variables
60
What are Python variable conditions?
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
Is everything in Python an object?
Yes
62
Which two data types Python objects are there?
1. Mutable 2. Immutable
63
Are Mutable and Immutable types treated differently?
Yes
64
What are mutable objects?
Object that you want to stay the same
65
What are immutable objects
Object which information is changed by addding or substracting information on regular basis
66
What are Python Integers?
Whole number without decimal points
67
What are Python Floating point?
Number with decimal points or exponents
68
Python uses the following calculation order:(7 answers)
PEMDAS: 1. Parentheses 2. Power 3. Multiplication 4. Division 5. Addition 6. Subscration 7. Left to Right
69
Which values can booleans have?
True or False
70
What is a boolean?
Comparisation. It is used for constructing conditional steps
71
Which Python Data types are most common?
1. Integer (int) 2. Boolean (bool) 3. String (str) 4. List (list) 5. Tuple (tup) 6. Dictonary (dict) 7. Set (set)
72
What is a python string
A list of characters in a certain order that python keeps track off
73
With which number does Python always start in case of a string
Zero (0)
74
What can contain a Python list
Any Python object such as integers
75
Where are empty list used for?
To pull data from other sources
76
With which number does Python always start in case of a list
Zero (0). Same as with a string - Mutable
77
Lists and tuples are very similar. What is the biggest difference?
Lists are mutable. Tuples are inmmutable
78
Why are there lists and tuples when they are prety much the same?
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
Which parentheses uses tuples?
()
80
Which parentheses uses lists?
[]
81
What is a dictonary?
Provides another way of creating a collection of items
82
Which rules are there regarding a dictonary?
Keys
83
Which parentheses uses sets?
{}
84
What is a Python set?
Consists of an unordered grouping of data. Sets are mutable.
85
What are two main functions of Python to create interactive applications
The functions: input()
86
Where is the input function used for?
To get information from the user. The user is asked a question
87
What is assigned to the input from the user in a input function
A variable like : inpt
88
What is the print function used for?
To provide output that can be displayed in the user terminal
89
Which character is used in the print function to create a new line?
/n Like: print ('Hello/nWorld'). This seperates Hello and World in two lines
90
What is the real power of programming language?
Embeded logic and respond to different conditions by change the flow of operations
91
What are the three python primary control statements?
1. if: 2. for: 3. while:
92
What does the if condition do?
compare values and make branching decisions
93
What does the for condition do?
can interate through data a specific number of times
94
What does the while condition do?
can iterate forever when certain conditions are met
95
Can you compare the three statements
Yes
96
What is the iteration of the if statement?
elif and else
97
When do you use the else statement?
On the end of the if
98
Which statement do you use when you work with data sets?
statement: for
99
What is the while loop
A conditional loop. Determines how many times the loop executes. You can use else statements in while loops
100
Which statement must you use to stop the while loop
Break statement