Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebazhanov committed Feb 12, 2022
1 parent 9089e87 commit 7fb69bb
Show file tree
Hide file tree
Showing 12 changed files with 209 additions and 110 deletions.
225 changes: 155 additions & 70 deletions kotlin/kotlin-quiz.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions machine-learning/machine-learning-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ Note: there are centres of clusters (C0, C1, C2).
- [ ] Retrain your model with smaller batch sizes.
- [x] Include Asian faces in your training data and retrain your model.

`The answer is self-explanatory: if Asian users are the only group of people making the complaint, then the training data should have more Asian faces.`
`The answer is self-explanatory: if Asian users are the only group of people making the complaint, then the training data should have more Asian faces.`

#### Q64. You work for a website that helps match people up for lunch dates. The website boasts that it uses more than 500 predictors to find customers the perfect date, but many costumers complain that they get very few matches. What is a likely problem with your model?

Expand All @@ -483,9 +483,9 @@ Note: there are centres of clusters (C0, C1, C2).
- [x] You are overfitting the model to the data.
- [ ] Your machine is creating inaccurate clusters.

**Explanation**: // This question is very similar to Q49 but involves a polar opposite scenario.
**Explanation**: // This question is very similar to Q49 but involves a polar opposite scenario.

`that answer somewhat vague and unsettled. Small number of matchings does not necessarily implies that the model overfits, especially given 500 (!) independent variables. To me, it sounds more reasonable that the threshold (matching) criterion might be too tight, thus allowing only a small number of matching to occur. So a solution can be either softening the threshold criterion or increasing the number of candidates.`
`that answer somewhat vague and unsettled. Small number of matchings does not necessarily implies that the model overfits, especially given 500 (!) independent variables. To me, it sounds more reasonable that the threshold (matching) criterion might be too tight, thus allowing only a small number of matching to occur. So a solution can be either softening the threshold criterion or increasing the number of candidates.`

#### Q65. (Mostly) whenever we see kernel visualizations online (or some other reference) we are actually seeing:

Expand Down
17 changes: 12 additions & 5 deletions maven/maven-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ mvn install
- [x] These elements are inherited from the parent POM file, and do not need to be repeated.
- [ ] Child POM files should include definitions of only dependencies and plugins.
- [ ] The values in the parent POM will be overridden by what is defined in the child POM.
Source: [maven docs](https://maven.apache.org/guides/introduction/introduction-to-the-pom.html#the-solution)

[maven docs](https://maven.apache.org/guides/introduction/introduction-to-the-pom.html#the-solution)

#### Q40. The settings.xml file that provides the user-specific settings for Maven is contained in which directory by default?

Expand Down Expand Up @@ -376,28 +377,34 @@ mvn install
- [x] to carry out checks before building the project
- [ ] to ensure plugins defined in the POM file are in the correct order
- [ ] to check the project structure is correct after building a project
Source: [stackoverflow](https://stackoverflow.com/a/40601037) and [maven docs](https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#a-build-lifecycle-is-made-up-of-phases)

1. [stackoverflow](https://stackoverflow.com/a/40601037)
2. [maven docs](https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#a-build-lifecycle-is-made-up-of-phases)

#### Q51. How do you check for unused dependencies in your project?

- [ ] Run mvn clean and look at which plugins are not mentioned in the output.
- [ ] You will need to do this manually.
- [ ] Include the Maven dependency plugin in your POM file and run the unpack goal.
- [x] Run the analyze goal of the dependency plugin.
Source: [baeldung](https://www.baeldung.com/maven-unused-dependencies) and [stackoverflow](https://stackoverflow.com/a/1518661)

1. [baeldung](https://www.baeldung.com/maven-unused-dependencies)
2. [stackoverflow](https://stackoverflow.com/a/1518661)

#### Q52. Why is it best practice to avoid overriding the default directory structure?

- [ ] Keeping the default structure reduces onboarding time, because developers recognize it.
- [ ] Overriding the default structure is very complex.
- [ ] Overriding the default structure will cause Maven to take longer to compile your code.
- [x] all of these answers
Source: [maven docs](https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)

[maven docs](https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)

#### Q53. What is the main purpose of the install phase?

- [ ] to compile the source code of the project
- [x] to install all of the remote dependencies
- [ ] to deploy the final project artifacts into a remote Maven repository
- [ ] to copy the final project artifacts into the local Maven repository
Source: [maven docs](https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#a-build-lifecycle-is-made-up-of-phases)

[maven docs](https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#a-build-lifecycle-is-made-up-of-phases)
19 changes: 10 additions & 9 deletions microsoft-access/microsoft-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@

#### Q3. What is the Access string operator that joins or concatenates text strings together?

- [x] &
- [ ] !
- [ ] #
- [ ] -
- [x] `&`
- [ ] `!`
- [ ] `#`
- [ ] `-`

[\_Caveat:](https://support.microsoft.com/en-us/office/string-functions-and-how-to-use-them-965efa84-7009-4603-9765-2eb4a099ec72) - "In a desktop database, you can also use the ampersand operator (&) for concatentation. In an Access app, you must use the plus sign (+)."\_
[Caveat:](https://support.microsoft.com/en-us/office/string-functions-and-how-to-use-them-965efa84-7009-4603-9765-2eb4a099ec72)
"In a desktop database, you can also use the ampersand operator (&) for concatentation. In an Access app, you must use the plus sign (+)."\_

#### Q4. The relationship field in this table has been created with what feature?

<p align="center"><img src="./images/question_4.png"></p>
`<p align="center"><img src="./images/question_4.png"></p>`

- [x] lookup
- [ ] reference integrity
Expand Down Expand Up @@ -55,7 +56,7 @@
- [ ] General Number
- [ ] Fixed

[Reference)[https://support.microsoft.com/en-us/office/format-a-number-or-currency-field-e48f2312-67f0-4921-aca0-15d36b7f9c3b#bkmk_examples_predefined]
[Reference](https://support.microsoft.com/en-us/office/format-a-number-or-currency-field-e48f2312-67f0-4921-aca0-15d36b7f9c3b#bkmk_examples_predefined)

#### Q8. In Access Option > Current Database, what does turning off the Allow Full Menus option do?

Expand Down Expand Up @@ -149,8 +150,8 @@ https://support.microsoft.com/en-us/office/iif-function-32436ecf-c629-48a3-9900-
- [ ] left; left
- [ ] right; right

[Text:](https://support.microsoft.com/en-us/office/format-a-text-field-a5e5bcde-85da-4c7a-8164-1fe286636668)
[Numerical:](https://support.microsoft.com/en-us/office/format-a-number-or-currency-field-e48f2312-67f0-4921-aca0-15d36b7f9c3b)
1. [Text:](https://support.microsoft.com/en-us/office/format-a-text-field-a5e5bcde-85da-4c7a-8164-1fe286636668)
2. [Numerical:](https://support.microsoft.com/en-us/office/format-a-number-or-currency-field-e48f2312-67f0-4921-aca0-15d36b7f9c3b)

#### Q18. Which data type is a modern replacement for the OLE Object data type?

Expand Down
8 changes: 4 additions & 4 deletions microsoft-azure/microsoft-azure-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- [ ] service principal and a secret
- [x] shared access key

**Reference:** [Azure Key Vault Developer's Guide](https://docs.microsoft.com/en-us/azure/key-vault/general/developers-guide#authenticate-to-key-vault-in-code) lists 3 available methods. The _shared access key_ does not exist in Azure at all, the closest term is _shared access signature (SAS)_ but it's used to access Azure Storage only.
[Azure Key Vault Developer's Guide](https://docs.microsoft.com/en-us/azure/key-vault/general/developers-guide#authenticate-to-key-vault-in-code) lists 3 available methods. The _shared access key_ does not exist in Azure at all, the closest term is _shared access signature (SAS)_ but it's used to access Azure Storage only.

#### Q4. You added a persistent volume claim to your apps YAML manifest. When you attempt to deploy to an existing AKS cluster there is no persistent volume available. What should you do?

Expand Down Expand Up @@ -53,7 +53,7 @@
- [ ] Shared key
- [ ] Certificate

**Explanation:** [Shared access signature](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview) exists exactly for the purpose of giving a temporary access. Azure AD user account is not temporary so it needs to be managed. Creating/revoking Certificates for temporary access is just too much hassle.
[Shared access signature](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview) exists exactly for the purpose of giving a temporary access. Azure AD user account is not temporary so it needs to be managed. Creating/revoking Certificates for temporary access is just too much hassle.

#### Q8. The Kineteco web app runs in an Azure Kubernetes Service. You need to monitor feature use and user navigation paths to identify where improvements are needed. What should you do?

Expand All @@ -62,7 +62,7 @@
- [ ] Install the App Insights on AKS nodes
- [ ] Add instrumentation to your app to send usage analytics with Application Insights.

**Notes:** Needs to be clarified. The [Container Monitoring doc](https://docs.microsoft.com/en-us/azure/azure-monitor/containers/containers) explicitly mentions that it's not for AKS. 3 and 4 look right
[Container Monitoring doc](https://docs.microsoft.com/en-us/azure/azure-monitor/containers/containers) explicitly mentions that it's not for AKS. 3 and 4 look right

#### Q9. Which choice is not a valid trigger for an Azure functions?

Expand Down Expand Up @@ -129,7 +129,7 @@
- [ ] REST API
- [ ] Server Message Block(SMB)

**Reference:** [What is Azure Files?](https://docs.microsoft.com/en-us/azure/storage/files/storage-files-introduction) page mentions the supported protocols.
[What is Azure Files?](https://docs.microsoft.com/en-us/azure/storage/files/storage-files-introduction) page mentions the supported protocols.

#### Q18. You are writing an app for a sales team. You need to implement security in SQL Server to ensure that sales representatives see customer financial information only for customers whom they manage. Your app must make this transparent to the user. Which SQL data security option should you choose?

Expand Down
4 changes: 2 additions & 2 deletions microsoft-excel/microsoft-excel-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@
- [ ] the named range Colors[Inventory], which does not use Format as Table Feature

Table[Column] can be used instead of cell references (C2:C7).
https://support.microsoft.com/en-us/office/using-structured-references-with-excel-tables-f5ed2452-2337-4f71-bed3-c8ae6d2b276e
[Reference](https://support.microsoft.com/en-us/office/using-structured-references-with-excel-tables-f5ed2452-2337-4f71-bed3-c8ae6d2b276e)

#### Q63. Which VLOOKUP function, when entered into cell L2 and then dragged to cell L5, returns the average number of calls for the representative IDs listed in column J?

Expand Down Expand Up @@ -540,7 +540,7 @@ https://support.microsoft.com/en-us/office/using-structured-references-with-exce
- [x] In the `PivotTable Fields` pane, drag `Sum Values` from the `Columns` section to a location below the field in the `Rows` section.
- [ ] In the `PivotTable Fields` pane, drag each field from the `Sum Values` section to the `Rows` section.

https://devexpress.github.io/dotnet-eud/interface-elements-for-desktop/articles/spreadsheet/pivot-tables/group-items-in-a-pivot-table.html
[Reference](https://devexpress.github.io/dotnet-eud/interface-elements-for-desktop/articles/spreadsheet/pivot-tables/group-items-in-a-pivot-table.html)

### Q70. Which Excel feature allows you to hide rows or columns with an easily visible expand/collapse?

Expand Down
14 changes: 9 additions & 5 deletions microsoft-power-bi/microsoft-power-bi-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,12 @@
D. Reorder the steps.

- [ ] B, C, D
- [x] A, B, C, D [proof link](https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-query-overview)
- [x] A, B, C, D
- [ ] A, B, D
- [ ] A, B, C

[proof link](https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-query-overview)

#### Q12. After you enter text in the #### Q&A box or O&A visual, Power BI will `\_` your data to create a list of appropriate visualizations.

- [ ] filter and group
Expand All @@ -109,12 +111,13 @@
#### Q13. You just deleted a dashboard in the Power BI service and want to get it back. What should you do?

- [x] Press Ctrl+Z.
[proof link1](https://docs.microsoft.com/en-us/power-bi/visuals/service-tips-and-tricks-for-color-formatting)
[link2](https://www.edureka.co/community/26060/how-do-i-undo-something-in-power-bi)
- [ ] Select Undo from the toolbar.
- [ ] You cannot undo the deletion of a dashboard.
- [ ] Recover it from the Recycle Bin.

1. [proof link1](https://docs.microsoft.com/en-us/power-bi/visuals/service-tips-and-tricks-for-color-formatting)
2. [link2](https://www.edureka.co/community/26060/how-do-i-undo-something-in-power-bi)

#### Q14. You have a sales data source and want to relate the tables. The table that contains sales transactions is a **\_** table that contains product information is a \_ table .

- [ ] dimension; fact
Expand Down Expand Up @@ -151,11 +154,12 @@
#### Q18. Formatting options within a visualization depend on what?

- [x] the visualization you are formatting
[proof link](https://docs.microsoft.com/en-us/power-bi/visuals/service-getting-started-with-color-formatting-and-axis-properties)
- [ ] the editor you use
- [ ] the visualization group
- [ ] your permissions

[proof link](https://docs.microsoft.com/en-us/power-bi/visuals/service-getting-started-with-color-formatting-and-axis-properties)

#### Q19. What tool can you use in Power BI Desktop to reduce data?

- [ ] report editor
Expand Down Expand Up @@ -368,7 +372,7 @@ D. They must have no duplicate data rows.

#### Q48. What is the purpose of this code?

// ProductCount = COUNT(Products[ProductID])
`ProductCount = COUNT(Products[ProductID])`

- [x] It is part of the documentation
- [ ] It creates and formats a measure called ProductCount
Expand Down
13 changes: 6 additions & 7 deletions microsoft-power-point/microsoft-power-point-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
- [ ] slide titles
- [ ] missing alt text
- [x] grammar
[Source](https://support.microsoft.com/en-us/office/rules-for-the-accessibility-checker-651e08f2-0fc3-4e10-aaca-74b4a67101c1?ns=powerpnt&version=16&ui=en-us&rs=en-us&ad=us)

[Source](https://support.microsoft.com/en-us/office/rules-for-the-accessibility-checker-651e08f2-0fc3-4e10-aaca-74b4a67101c1?ns=powerpnt&version=16&ui=en-us&rs=en-us&ad=us)

#### Q9. How can you change the appearance of a table in one click?

Expand Down Expand Up @@ -393,9 +394,8 @@ If your Word document contains no Heading 1 or Heading 2 styles, PowerPoint will
- [ ] The second slide must have different objects that are in the same position as the objects on the first slide
- [ ] The two slides must have at least one obiect in common that is in the same position on the second slide

[Reference 1](https://support.microsoft.com/en-us/office/use-the-morph-transition-in-powerpoint-8dd1c7b2-b935-44f5-a74c-741d8d9244ea#:~:text=The%20Morph%20transition%20allows%20you%20to%20animate%20smooth,of%20things%E2%80%94text%2C%20shapes%2C%20pictures%2C%20SmartArt%20graphics%2C%20and%20WordArt.)

[Reference 2](https://twist.learningguild.net/2019/03/morph-magic-for-incredible-effects-in-powerpoint-richard-goring/#:~:text=Morph%20recognizes%20any%20duplicate%20objects%20across%20two%20slides,make%20objects%20change%20size%2C%20or%20shape%2C%20or%20color.)
1. [Reference](https://support.microsoft.com/en-us/office/use-the-morph-transition-in-powerpoint-8dd1c7b2-b935-44f5-a74c-741d8d9244ea#:~:text=The%20Morph%20transition%20allows%20you%20to%20animate%20smooth,of%20things%E2%80%94text%2C%20shapes%2C%20pictures%2C%20SmartArt%20graphics%2C%20and%20WordArt.)
2. [Reference](https://twist.learningguild.net/2019/03/morph-magic-for-incredible-effects-in-powerpoint-richard-goring/#:~:text=Morph%20recognizes%20any%20duplicate%20objects%20across%20two%20slides,make%20objects%20change%20size%2C%20or%20shape%2C%20or%20color.)

#### Q53. Why would you use the Rehearse Timings command?

Expand Down Expand Up @@ -449,9 +449,8 @@ If your Word document contains no Heading 1 or Heading 2 styles, PowerPoint will
- [ ] grammar
- [ ] reading order

[Reference 1](https://support.microsoft.com/en-us/office/rules-for-the-accessibility-checker-651e08f2-0fc3-4e10-aaca-74b4a67101c1)

[Reference 2](https://webaim.org/resources/evaloffice/)
1. [Reference](https://support.microsoft.com/en-us/office/rules-for-the-accessibility-checker-651e08f2-0fc3-4e10-aaca-74b4a67101c1)
2. [Reference](https://webaim.org/resources/evaloffice/)

#### Q59. What is the easiest way to change the appearance of a table?

Expand Down
5 changes: 4 additions & 1 deletion node.js/node.js-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,10 @@ fs.appendFile('hello.txt', `Hello ${user} on ${system}`, (err) => { if (err) thr
- [x] process
- [ ] child_process

**Explanation:** _process is an global object and act like a bridge, the others aren't (please see https://nodejs.org/api/globals.html or https://nodejs.org/api/process.html#process_process)._
**Explanation:** \_process is an global object and act like a bridge, the others aren't

1. [source](https://nodejs.org/api/globals.html)
2. [source](https://nodejs.org/api/process.html#process_process)

#### Q51. Which statement is true about Node.js and threads?

Expand Down
2 changes: 1 addition & 1 deletion nosql/nosql-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
- [ ] MongoDB
- [ ] Bigtable

#### Q24. Which statement is prefered Cypher code for Neo4j?
#### Q24. Which statement is preferred Cypher code for Neo4j?

- [ ] MATCH (:Person)-->(:Card)-->(:Company) RETURN count(vehicle)
- [ ] Match (:Person)-->(:Car):(vehicle:Car)-->(:Company) RETURN count(vehicle)
Expand Down
4 changes: 2 additions & 2 deletions oop/object-oriented-programming-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ public class Honda extends Car{}
- [x] overloading
- [ ] inheritance
- [ ] abstaction
- [ ] abstraction
- [ ] overriding
#### Q78. What does a concrete class not have?
Expand Down Expand Up @@ -643,7 +643,7 @@ public class Honda extends Car{}
#### Q82. What parameters are required to be passed to a class constructor?
// Here they haven't mentioned any specific language so let's consider all languages.
`Here they haven't mentioned any specific language so let's consider all languages.`
- [ ] reference to subclass // References to subclass are never required as you can simply Initialize subclass & use their object.
- [ ] reference to base class // References to the base class are not required in Java, Javascript & Python
Expand Down
2 changes: 1 addition & 1 deletion quickbooks/quickbooks-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
- [ ] any QuickBooks report
- [x] a predesigned report that shows more detail about the data you are currently viewing on screen

[Source: LinkedIn assessment practice mode](https://i.imgur.com/dj6DeZk.png)
[LinkedIn assessment practice mode](https://i.imgur.com/dj6DeZk.png)

#### Q43. After paying a bill in the Pay Bills screen, QuickBooks automatically creates a journal entry behind the scenes that will do what?

Expand Down

0 comments on commit 7fb69bb

Please sign in to comment.