Skip to content

Commit

Permalink
Add testing questions
Browse files Browse the repository at this point in the history
  • Loading branch information
abregman committed Jan 14, 2020
1 parent d43ec16 commit d441029
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 3 deletions.
97 changes: 94 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

:bar_chart:  There are currently **819** questions
:bar_chart:  There are currently **834** questions

: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

Expand Down Expand Up @@ -58,6 +58,7 @@
<td align="center"><a href="#HR"><img src="images/HR.png" width="110px;" height="75px;" alt="HR"/><br /><b>HR</b></a></td>
</tr>
<tr>
<td align="center"><a href="#testing"><img src="images/testing.png" width="75px;" height="75px;" alt="Testing"/><br /><b>Testing</b></a></td>
<td align="center"><a href="#databases"><img src="images/databases.png" width="75px;" height="75px;" alt="Databases"/><br /><b>Databases</b></a></td>
<td align="center"><a href="#design"><img src="images/design.png" width="110px;" height="75px;" alt="Design"/><br /><b>Design</b></a></td>
<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>
Expand Down Expand Up @@ -2798,6 +2799,14 @@ SOLID is:
<summary>Explain recursion</summary><br><b>
</b></details>

<details>
<summary>Explain Inversion of Control</summary><br><b>
</b></details>

<details>
<summary>Explain Dependency Injection</summary><br><b>
</b></details>

<details>
<summary>Explain what are design patterns and describe three of them in detail</summary><br><b>
</b></details>
Expand Down Expand Up @@ -2946,6 +2955,8 @@ There are many other characteristics but these are the main ones that every pyth
<details>
<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>

Mutability determines whether you can modify an object of specific type.

The mutable data types are:

List
Expand Down Expand Up @@ -3145,11 +3156,25 @@ Generally, every compiling process have a two steps.
</b></details>

<details>
<summary>Explain the @property decorator</summary><br><b>
<summary>What is Lambda? How is it used?</summary><br><b>
</b></details>

#### Properties

<details>
<summary>What is Lambda? How is it used?</summary><br><b>
<summary>Are there private variables in Python? How would you make an attribute of a class, private?</summary><br><b>
</b></details>

<details>
<summary>Explain the following:

* getter
* setter
* deleter</summary><br><b>
</b></details>

<details>
<summary>Explain what is @property</summary><br><b>
</b></details>

<details>
Expand All @@ -3160,6 +3185,13 @@ x, y = y, x
```
</b></details>

<details>
<summary>Explain the following object's magic variables:

* __dict__
</summary><br><b>
</b></details>

<details>
<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>

Expand Down Expand Up @@ -4018,6 +4050,11 @@ a = f()
```

</b></details>

<details>
<summary>Write a decorator that calculates the execution time of a function</summary><br><b>
</b></details>

<details>
<summary>Write a script which will determine if a given host is accessible on a given port</summary><br><b>
</b></details>
Expand Down Expand Up @@ -5892,6 +5929,43 @@ you can show how you'd be able to mitigate that problem.
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.
</b></details>

## Testing

<details>
<summary>What types of tests would you run for web application?</summary><br><b>
</b></details>

<details>
<summary>What are unit tests?</summary><br><b>
</b></details>

<details>
<summary>Explain test harness?</summary><br><b>
</b></details>

<details>
<summary>What is A/B testing?</summary><br><b>
</b></details>

<details>
<summary>What is network simulation and how do you perform it?</summary><br><b>
</b></details>

<details>
<summary>What types of performances tests are you familiar with?</summary><br><b>
</b></details>

<details>
<summary>Explain the following types of tests:

* Load Testing
* Stress Testing
* Capacity Testing
* Volume Testing
* Endurance Testing
</summary><br><b>
</b></details>

## Databases

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

#### Migrations

<details>
<summary>How you prepare for a migration? (or plan a migration)</summary><br><b>

You can mention:

roll-back & roll-forward
cut over
dress rehearsals
DNS redirection
</b></details>

<details>
<summary>Explain "Branch by Abstraction" technique</summary><br><b>
</b></details>

## Exercises

Exercises are all about:
Expand Down
1 change: 1 addition & 0 deletions credits.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ Mongo logo is a trademark of <a href="www.mongodb.com">Mongo®</a><br>
Distributed logo by <a href="https://www.iconfinder.com/Flatart">Flatart</a><br>
Challenge icon by Elizabeth Arostegui in Technology Mix
"Question you ask" (man raising hand) and "Database" icons by [Webalys](https://www.iconfinder.com/webalys)
Testing logo by [Flatart](https://www.iconfinder.com/Flatart)
Binary file added images/testing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d441029

Please sign in to comment.