Skip to content

Commit d441029

Browse files
author
abregman
committed
Add testing questions
1 parent d43ec16 commit d441029

File tree

3 files changed

+95
-3
lines changed

3 files changed

+95
-3
lines changed

README.md

Lines changed: 94 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
:information_source:  This repo contains questions and exercises on various technical topics, sometimes related to DevOps and SRE :)
44

5-
:bar_chart:  There are currently **819** questions
5+
:bar_chart:  There are currently **834** questions
66

77
:warning:  These are not interview questions and most of them shouldn't be used as interview questions. Please read [Q&A](common-qa.md) for more details
88

@@ -58,6 +58,7 @@
5858
<td align="center"><a href="#HR"><img src="images/HR.png" width="110px;" height="75px;" alt="HR"/><br /><b>HR</b></a></td>
5959
</tr>
6060
<tr>
61+
<td align="center"><a href="#testing"><img src="images/testing.png" width="75px;" height="75px;" alt="Testing"/><br /><b>Testing</b></a></td>
6162
<td align="center"><a href="#databases"><img src="images/databases.png" width="75px;" height="75px;" alt="Databases"/><br /><b>Databases</b></a></td>
6263
<td align="center"><a href="#design"><img src="images/design.png" width="110px;" height="75px;" alt="Design"/><br /><b>Design</b></a></td>
6364
<td align="center"><a href="#questions-you-ask"><img src="images/you.png" width="110px;" height="75px;" alt="you"/><br /><b>Questions you ask</b></a></td>
@@ -2798,6 +2799,14 @@ SOLID is:
27982799
<summary>Explain recursion</summary><br><b>
27992800
</b></details>
28002801

2802+
<details>
2803+
<summary>Explain Inversion of Control</summary><br><b>
2804+
</b></details>
2805+
2806+
<details>
2807+
<summary>Explain Dependency Injection</summary><br><b>
2808+
</b></details>
2809+
28012810
<details>
28022811
<summary>Explain what are design patterns and describe three of them in detail</summary><br><b>
28032812
</b></details>
@@ -2946,6 +2955,8 @@ There are many other characteristics but these are the main ones that every pyth
29462955
<details>
29472956
<summary>What is mutability? Which of the built-in types in Python are mutable? How can you show that a certain data type is mutable?</summary><br><b>
29482957

2958+
Mutability determines whether you can modify an object of specific type.
2959+
29492960
The mutable data types are:
29502961

29512962
List
@@ -3145,11 +3156,25 @@ Generally, every compiling process have a two steps.
31453156
</b></details>
31463157

31473158
<details>
3148-
<summary>Explain the @property decorator</summary><br><b>
3159+
<summary>What is Lambda? How is it used?</summary><br><b>
31493160
</b></details>
31503161

3162+
#### Properties
3163+
31513164
<details>
3152-
<summary>What is Lambda? How is it used?</summary><br><b>
3165+
<summary>Are there private variables in Python? How would you make an attribute of a class, private?</summary><br><b>
3166+
</b></details>
3167+
3168+
<details>
3169+
<summary>Explain the following:
3170+
3171+
* getter
3172+
* setter
3173+
* deleter</summary><br><b>
3174+
</b></details>
3175+
3176+
<details>
3177+
<summary>Explain what is @property</summary><br><b>
31533178
</b></details>
31543179

31553180
<details>
@@ -3160,6 +3185,13 @@ x, y = y, x
31603185
```
31613186
</b></details>
31623187

3188+
<details>
3189+
<summary>Explain the following object's magic variables:
3190+
3191+
* __dict__
3192+
</summary><br><b>
3193+
</b></details>
3194+
31633195
<details>
31643196
<summary>Write a function to return the sum of one or more numbers. The user will decide how many numbers to use</summary><br><b>
31653197

@@ -4018,6 +4050,11 @@ a = f()
40184050
```
40194051

40204052
</b></details>
4053+
4054+
<details>
4055+
<summary>Write a decorator that calculates the execution time of a function</summary><br><b>
4056+
</b></details>
4057+
40214058
<details>
40224059
<summary>Write a script which will determine if a given host is accessible on a given port</summary><br><b>
40234060
</b></details>
@@ -5892,6 +5929,43 @@ you can show how you'd be able to mitigate that problem.
58925929
Not only this will tell you what is expected from you, it will also provide big hint on the type of work you are going to do in the first months of your job.
58935930
</b></details>
58945931

5932+
## Testing
5933+
5934+
<details>
5935+
<summary>What types of tests would you run for web application?</summary><br><b>
5936+
</b></details>
5937+
5938+
<details>
5939+
<summary>What are unit tests?</summary><br><b>
5940+
</b></details>
5941+
5942+
<details>
5943+
<summary>Explain test harness?</summary><br><b>
5944+
</b></details>
5945+
5946+
<details>
5947+
<summary>What is A/B testing?</summary><br><b>
5948+
</b></details>
5949+
5950+
<details>
5951+
<summary>What is network simulation and how do you perform it?</summary><br><b>
5952+
</b></details>
5953+
5954+
<details>
5955+
<summary>What types of performances tests are you familiar with?</summary><br><b>
5956+
</b></details>
5957+
5958+
<details>
5959+
<summary>Explain the following types of tests:
5960+
5961+
* Load Testing
5962+
* Stress Testing
5963+
* Capacity Testing
5964+
* Volume Testing
5965+
* Endurance Testing
5966+
</summary><br><b>
5967+
</b></details>
5968+
58955969
## Databases
58965970

58975971
<details>
@@ -6003,6 +6077,23 @@ Instead of working in "push mode", the consumers can pull tasks only when they a
60036077
<summary>How would you scale the architecture from the previous question to hundreds of users?</summary><br><b>
60046078
</b></details>
60056079

6080+
#### Migrations
6081+
6082+
<details>
6083+
<summary>How you prepare for a migration? (or plan a migration)</summary><br><b>
6084+
6085+
You can mention:
6086+
6087+
roll-back & roll-forward
6088+
cut over
6089+
dress rehearsals
6090+
DNS redirection
6091+
</b></details>
6092+
6093+
<details>
6094+
<summary>Explain "Branch by Abstraction" technique</summary><br><b>
6095+
</b></details>
6096+
60066097
## Exercises
60076098

60086099
Exercises are all about:

credits.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ Mongo logo is a trademark of <a href="www.mongodb.com">Mongo®</a><br>
1313
Distributed logo by <a href="https://www.iconfinder.com/Flatart">Flatart</a><br>
1414
Challenge icon by Elizabeth Arostegui in Technology Mix
1515
"Question you ask" (man raising hand) and "Database" icons by [Webalys](https://www.iconfinder.com/webalys)
16+
Testing logo by [Flatart](https://www.iconfinder.com/Flatart)

images/testing.png

4.05 KB
Loading

0 commit comments

Comments
 (0)