Skip to content

Commit

Permalink
formatting + add new question
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebazhanov committed Apr 24, 2022
1 parent c6fd01c commit 393569e
Show file tree
Hide file tree
Showing 11 changed files with 150 additions and 79 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FEbazhanov%2Flinkedin-skill-assessments-quizzes&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

[![All Contributors](https://img.shields.io/badge/all_contributors-868-orange.svg?style=flat-square)](#contributors-)

<!-- ALL-CONTRIBUTORS-BADGE:END -->

> This repository is for those looking for answers to the LinkedIn assessment quiz questions or willing to help others by contributing to the tests. Or possibly you would like to create your first pull request and be added as a contributor. Whatever is your goal - you are always welcome here! Feel free to use [online grammar checker](https://www.grammarly.com/) when you contribute!
Expand All @@ -31,7 +33,7 @@ want to contribute? here is the source code https://github.com/linkedin-faq
### Table of Contents

| Linkedin-quiz-questions | Questions | Answers | Your resource for answers. In case you have doubts please contact this person or add them to review your PR. | Translation |
|------------------------------------------------------------------------------|-----------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ---------------------------------------------------------------------------- | --------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Accounting](accounting/accounting-quiz.md) | 31 | 21 | [@tujinwei](https://github.com/tujinwei) | |
| [Adobe-Acrobat](adobe-acrobat/adobe-acrobat-quiz.md) | 19 | 19 | | |
| [Adobe-Illustrator](adobe-illustrator/adobe-illustrator-quiz.md) | 76 | 62 | | |
Expand Down Expand Up @@ -76,7 +78,7 @@ want to contribute? here is the source code https://github.com/linkedin-faq
| [MATLAB](matlab/matlab-quiz.md) | 64 | 63 | | |
| [Maven](maven/maven-quiz.md) | 53 | 50 | | |
| [Microsoft Access](microsoft-access/microsoft-access.md) | 30 | 28 | [@drmegalomaniac](https://github.com/drmegalomaniac) | |
| [Microsoft Azure](microsoft-azure/microsoft-azure-quiz.md) | 55 | 53 | [@tomtreffke](https://github.com/tomtreffke), [@ziasistani](https://github.com/ziasistani) | |
| [Microsoft Azure](microsoft-azure/microsoft-azure-quiz.md) | 55 | 53 | [@tomtreffke](https://github.com/tomtreffke), [@ziasistani](https://github.com/ziasistani) | |
| [Microsoft Excel](microsoft-excel/microsoft-excel-quiz.md) | 109 | 107 | [@gazihasanrahman](https://github.com/gazihasanrahman) | <kbd>[<img title="Deutsch" alt="Deutsch" src="https://cdn.staticaly.com/gh/hjnilsson/country-flags/master/svg/de.svg" width="22">](microsoft-excel/microsoft-excel-quiz-de.md)</kbd> |
| [Microsoft Outlook](microsoft-outlook/microsoft-outlook-quiz.md) | 79 | 56 | | |
| [Microsoft Power BI](microsoft-power-bi/microsoft-power-bi-quiz.md) | 65 | 63 | | |
Expand Down
4 changes: 2 additions & 2 deletions adobe-acrobat/adobe-acrobat-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@

- [ ] From the 28-page PDF, extract and save the three pages as a new PDF. For each of the two three-page PDFs, choose **File > Export to > Text (Plain).**
- [ ] Arrange the two PDFs in side-by-side windows in Acrobat. Scroll to the first page of the section in the larger PDF, and compare the visually, line by line.
- [ ] Go to **View > Compare Files** and choose **Text Only**. Then, in Settings, edit the **Compare Page Range** field of the larger document so that it is the same three-page range. Then click **Compare**.
- [ ] Go to **View > Compare Files** and choose **Text Only**. Then, in Settings, edit the **Compare Page Range** field of the larger document so that it is the same three-page range. Then click **Compare**.
- [ ] Select the original text in the 3-page section of the 28-page PDF and copy it to the clipboard. Then, paste it into the new 3-page PDF, replacing all of it text.

#### Q26. You need to send multiple documents to a potential client, and you would like to add security to all of the documents at once. What is the easiest method?
Expand All @@ -198,4 +198,4 @@
- [ ] a text field with rich text formatting
- [ ] a multi-line text field
- [ ] a drop-down field
- [ ] a list box field
- [ ] a list box field
20 changes: 11 additions & 9 deletions dotnet-framework/dotnet-framework-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,27 +308,28 @@
- [ ] `var primes = Tuple.Make(2, 3, 5, 7, 11, 13, 17, 19);`

#### Q45. How can you recieve form data without a model binder in a controller action?

> Note: The differences are `IFormResult`/`IActionResult` and `Forms`/`Form`
- [ ] public IFormResult ReceivedDataByRequest()
{
string theName = Request.Forms["theName"];
return View();
string theName = Request.Forms["theName"];
return View();
}
- [ ] public IActionResult ReceivedDataByRequest()
{
string theName = Request.Forms["theName"];
return View();
string theName = Request.Forms["theName"];
return View();
}
- [ ] public IFormResult ReceivedDataByRequest()
{
string theName = Request.Form["theName"];
return View();
string theName = Request.Form["theName"];
return View();
}
- [x] public IActionResult ReceivedDataByRequest()
{
string theName = Request.Form["theName"];
return View();
string theName = Request.Form["theName"];
return View();
}

#### Q46. Where should you store connection string information?
Expand Down Expand Up @@ -521,9 +522,10 @@
- [ ] by calling [`GC.WaitForPendingFinalizers()`](https://docs.microsoft.com/en-us/dotnet/api/system.gc.waitforpendingfinalizers)

#### Q70. What does JIT do in .Net?

- [ ] JIT is used for deployment, versioning, and security.
- [x] JIT translates the IL code to an assembly code and uses the CPU architecture of the target machine to execute a .NET application.
- [ ] JIT compiles to C# code using .NET environment properties.
- [ ] JIT is used for deployment, versioning, and security, and forces the computer's processor to execute the native machine code.
- [ ] JIT is used for deployment, versioning, and security, and forces the computer's processor to execute the native machine code.

Reference: [Compilation by the JIT compiler](https://docs.microsoft.com/en-us/dotnet/standard/managed-execution-process#compilation-by-the-jit-compiler)
3 changes: 1 addition & 2 deletions it-operations/it-operations-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,14 +496,13 @@
- [x] handheld vaccum cleaner, ammonia, alcohol, microfiber cloth.
- [ ] air can, screwdriver, soft cloth, household cleaner.

#### Q58. A computer power supply is measured in _.
#### Q58. A computer power supply is measured in \_.

- [x] watts
- [ ] hertz
- [ ] amperes
- [ ] volts


#### Q59. If you had a 255.255.255.0 subnet mask, how many usable IP addresses would you have for hosts?

- [ ] 24
Expand Down
2 changes: 1 addition & 1 deletion java/java-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -1923,4 +1923,4 @@ numbers // Input `List<Integer>` > [1, 2, 3, 4] <br>
.filter(x -> x % 2 == 0) // Filter even numbers and return `Stream<Integer>` > [2, 4] <br>
.mapToInt(x -> x * x) // Square the number, converts `Integer` to an `int`, and returns `IntStream` > [4, 16] <br>
.sum() // Returns the sum as `int` > 20
```
```
1 change: 1 addition & 0 deletions jquery/jquery-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -1496,6 +1496,7 @@ https://api.jquery.com/detach/
<li>Item 6</li>
</ul>
```

- [x] A

```js
Expand Down
2 changes: 1 addition & 1 deletion machine-learning/machine-learning-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -725,4 +725,4 @@ Note: there are centres of clusters (C0, C1, C2).
- [ ] Bias is when your predicted values are scattered.
- [x] Bias is the gap between your predicted value and the outcome.
- [ ] Bias is when your data is wrong for differnet reasons.
- [ ] Bias is when your values are always off by the same percentage.
- [ ] Bias is when your values are always off by the same percentage.
4 changes: 2 additions & 2 deletions mysql/mysql-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ SELECT cars.*, purchases.date FROM cars LEFT JOIN purchases ON cars.ID = purchas
END IF;
```

- [X] D
- [x] D

```
IF var1 = 1 THEN SET varA = var1;
Expand All @@ -958,6 +958,6 @@ SELECT cars.*, purchases.date FROM cars LEFT JOIN purchases ON cars.ID = purchas
#### Q99. Why would you use stored functions?

- [ ] for formulas and business rules that you want to apply to columns in an SQL query
- [X] for formulas and business rules that should be applied on a specific trigger event like on inserts
- [x] for formulas and business rules that should be applied on a specific trigger event like on inserts
- [ ] to automatically modify the data of a table based on a query
- [ ] for reusing recurring queries
63 changes: 45 additions & 18 deletions php/php-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -672,31 +672,38 @@ Dog
Dog
```

- [ ]
- [ ]

```php
$name = "Cat";
$name = "Dog";
echo $name . "<br/>";
echo $$name . "<br/>";
echo $Dog;
```
- [ ]
```

- [ ]

```php
$name = "Cat";
$$name = "Dog";
echo $name . "<br/>";
echo $$name . "<br/>";
echo $Dog;
```

- [x]

```php
$name = "Cat";
$$name = "Dog";
echo $name . "<br/>";
echo $$name . "<br/>";
echo $Cat;
```

- [ ]

```php
$name = "Cat";
$$name = "Dog";
Expand All @@ -714,28 +721,35 @@ Dog

##### Q60. Which script might be used to continue a user's search for music, across different webpages?

- [ ]
- [ ]

```php
<?php
start_session();
$music = $_SESSION['music'];
?>
```
- [ ]

- [ ]

```php
<?php
session_start();
$music = $SESSION['music'];
?>
```
- [ ]

- [ ]

```php
<?php
start_session();
$music =$session['music'];
?>
```
- [x]

- [x]

```php
<?php
session_start();
Expand All @@ -745,31 +759,38 @@ Dog

##### Q61. Which PHP script finds the earliest and latest dates from an array?

- [x]
- [x]

```php
<?php
$dates = array('2018-02-01', '2017-02-02', '2015-02-03');
echo "Latest Date: ". max($dates)."\n";
echo "Earliest Date: ". min($dates)."\n";
?>
```
- [ ]

- [ ]

```php
<?php
$dates = array('2018-02-01', '2017-02-02', '2015-02-03');
echo "Latest Date: ". min($dates)."\n";
echo "Earliest Date: ". max($dates)."\n";
?>
```
- [ ]

- [ ]

```php
<?php
$dates = array('2018-02-01', '2017-02-02', '2015-02-03');
echo "Latest Date: ". ($dates)."\n";
echo "Earliest Date: ". ($dates)."\n";
?>
```
- [ ]

- [ ]

```php
<?php
$dates = array('2018-02-01', '2017-02-02', '2015-02-03');
Expand All @@ -789,15 +810,18 @@ for (;;) {
}
```

- [x]
- [x]

```
kilometers = 0.6214 miles.
kilometers = 1.2428 miles.
kilometers = 1.8642 miles.
kilometers = 2.4856 miles.
kilometers = 3.107 miles.
```
- [ ]

- [ ]

```
kilometers = 0.6214 miles.
kilometers = 1.2428 miles.
Expand All @@ -806,13 +830,16 @@ for (;;) {
kilometers = 3.107 miles.
kilometers = 3.7284 miles.
```
- [ ]

- [ ]

```
kilometers = 1.2428 miles.
kilometers = 1.8642 miles.
kilometers = 2.4856 miles.
kilometers = 3.107 miles.
```

- [ ] FATAL ERROR syntax error, unexpected ')', expecting ';' on line number 2

##### Q63. In PHP 7, What is the correct way to import multiple classes from namespace in a single declaration ?!
Expand Down Expand Up @@ -855,6 +882,7 @@ for (;;) {
$capitals = ['UK' => 'London', 'France' => 'Paris'];
echo "$capitals['france'] is the capital of France.";
```

- [ ] It displays: "Paris is the capital of France."
- [ ] It displays: " is the capital of France."
- [ ] It triggers a syntax error because the array keys on line 1 are in quotes.
Expand Down Expand Up @@ -1007,15 +1035,15 @@ print $match[1]."\n";

[reference](https://www.php.net/manual/en/language.control-structures.php)


#### Q83. Which function can you use in error handling to stop the execution of a script and is equivalent to `exit()`?

- [ ] throw
- [ ] break
- [x] die
- [ ] return
=======

#### Q83. Which function can you use in error handling to stop the execution of a script and is equivalent to exit()?

- [x] `die`
- [ ] `return`
- [ ] `throw`
Expand All @@ -1038,10 +1066,9 @@ for($x = 0; $x < $arrlength; $x++){
- [x] This does not meet all the criteria because the sort() function sorts an indexed array in ascending order. Thus this code will display "2 4 6 11 22" shown vertically, but the numbers are spaced.
- [ ] does not meet all the criteria because the echo simply result in showing the array numbers in the order shown within the $numbers array, which is ascending

#### Q85. Which is not true of the __toString() in PHP?
#### Q85. Which is not true of the `toString()` in PHP?

- [ ] It saves a lot of work of using setters methods to access the values of objects.
- [ ] It saves a lot of work of using getters methods to access the values of objects.
- [x] It allows you to call an object and see its components as a string.
- [ ] It is automatically called when you use echo or print.

13 changes: 10 additions & 3 deletions python/python-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -1806,8 +1806,15 @@ for x in range(1, len(characters)):
```python
[1,2,3] * 3
```
- [ ] [3,2,3]
- [x] [1, 2, 3, 1, 2, 3, 1, 2, 3]

- [ ] `[3,2,3]`
- [x] `[1, 2, 3, 1, 2, 3, 1, 2, 3]`
- [ ] You will get a type error.
- [ ] [3,6,9]
- [ ] `[3,6,9]`

#### Q135. Given a list defined as numbers = `[1,2,3,4]`, what is the value of `numbers[-2]`?

- [ ] 1
- [x] 3
- [ ] 2
- [ ] An IndexError exception is thrown.
Loading

0 comments on commit 393569e

Please sign in to comment.