Skip to content

Commit

Permalink
prettier auto formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebazhanov committed Jan 25, 2022
1 parent a550300 commit 4b34db9
Show file tree
Hide file tree
Showing 18 changed files with 298 additions and 259 deletions.
2 changes: 2 additions & 0 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-712-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 Down
104 changes: 67 additions & 37 deletions css/css-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,6 @@ D. font-size: 20px
}
```


- [ ]
```css
.overlay {
Expand Down Expand Up @@ -1619,8 +1618,12 @@ D. font-size: 20px
#### Q113. Which missing line of code would place the text on top of the image? Which missing line of code would place the text on top of the image?

```js
<div class="container"><img src="grumpy-cat.gif" /><p>The z-index property is cool!</p></div>
<div class="container">
<img src="grumpy-cat.gif" />
<p>The z-index property is cool!</p>
</div>
```

```css
img {
position: absolute;
Expand All @@ -1629,8 +1632,12 @@ img {
// Missing line
}
```

```js
<div class="container"><img src="grumpy-cat.gif" /><p>The z-index property is cool!</p></div>
<div class="container">
<img src="grumpy-cat.gif" />
<p>The z-index property is cool!</p>
</div>
```

```css
Expand All @@ -1656,55 +1663,66 @@ img {

#### Q115. Given this markup, which selector would result in the text being highlighted in yellow?

```js
```js
<span class="highlight">#BLM</span>
```

- [ ]
- [ ]

```css
.highlight {
background-color: yellow;
background-color: yellow;
}
```

- [ ]
- [ ]

```css
#highlight {
background-color: yellow;
background-color: yellow;
}
```

- [ ]
- [ ]

```css
.highlight {
color: yellow;
color: yellow;
}
```

- [ ]
- [ ]

```css
#highlight {
color: yellow;
color: yellow;
}
```

#### Q116. To prevent a background image from tiling in any direction, which style property would you apply?

- [ ]
- [ ]

```css
background-repeat: no-repeat;
background-repeat: no-repeat;
```
- [ ]

- [ ]

```css
background-repeat: fixed;
background-repeat: fixed;
```
- [ ]

- [ ]

```css
background-repeat: none;
background-repeat: none;
```
- [ ]

- [ ]

```css
background-tile: none;
background-tile: none;
```

#### Q117. To rotate an object 30 degrees counterclockwise, which style property would you apply?
Expand All @@ -1727,28 +1745,35 @@ img {
<section><p>paragraph one</p></section><p>paragraph two</p>
```

- [ ]
- [ ]

```css
section>p {
color: blue;
section > p {
color: blue;
}
```

- [ ]

```css
p {
color: blue;
color: blue;
}
```

- [ ]

```css
section+p {
color: blue;
section + p {
color: blue;
}
```

- [ ]

```css
p+section {
color: blue;
p + section {
color: blue;
}
```

Expand All @@ -1766,35 +1791,40 @@ p+section {
```

- [ ]

```css
#inner {
width: 50%;
width: 50%;
}

#outer {
width: 100%;
width: 100%;
}
```

- [ ]
- [ ]

```css
#inner {
left: 0;
right: 0;
position: center;
left: 0;
right: 0;
position: center;
}
```

- [ ]

```css
#inner {
text-align: center;
text-align: center;
}
```

- [ ]

```css
#inner {
width: 50%;
margin: 0 auto;
width: 50%;
margin: 0 auto;
}
```
32 changes: 17 additions & 15 deletions go/go-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,26 +402,27 @@ Relevant excerpt from the article:
#### Q33. How should you log an error (err)

- [ ] ```log.Error(err)```
- [ ] ```log.Printf("error: %v", err)```
- [ ] ```log.Printf(log.ERROR, err)```
- [ ] ```log.Print("error: %v", err)```
- [ ] `log.Error(err)`
- [ ] `log.Printf("error: %v", err)`
- [ ] `log.Printf(log.ERROR, err)`
- [ ] `log.Print("error: %v", err)`

#### Q34. How does a ```sync.Mutex``` block while it is locked?
#### Q34. How does a `sync.Mutex` block while it is locked?

- [ ] any other call to lock that Mutex
- [ ] all goroutines
- [ ] any writes to the variable it is locking
- [ ] any reads or writes of the variable is it locking

#### Q35. Which file names will the ```go test``` command recognize as test files?
#### Q35. Which file names will the `go test` command recognize as test files?

- [ ] any that starts with ```test```
- [ ] any files that include the word ```test```
- [ ] only files in the root directory that end in ```_test.go```
- [ ] any that ends in ```_test.go```
- [ ] any that starts with `test`
- [ ] any files that include the word `test`
- [ ] only files in the root directory that end in `_test.go`
- [ ] any that ends in `_test.go`

#### Q36. What will be the output of this code?

```
ch := make(chan int)
ch <- 7
Expand All @@ -435,6 +436,7 @@ fmt.Println(val)
- [ ] 2.718

#### Q37. What will be the output of this program?

```
ch := make(chan int)
close(ch)
Expand All @@ -448,6 +450,7 @@ fmt.Println(val)
- [ ] NaN

#### Q38. What will be printed in this code?

```
var stocks map[string]float64 // stock -> price
price := stocks["MSFT"]
Expand All @@ -466,10 +469,9 @@ fmt.Println("%f\n", price)
- [ ] Use build tags.
- [x] Have a pkg directory and a directory per executable inside it.

#### Q40. How is the behavior of ```t.Fatal``` different inside a ```t.Run``` ?
#### Q40. How is the behavior of `t.Fatal` different inside a `t.Run` ?

- [ ] ```t.Fatal``` does not crash the test harness, preserving output messages.
- [x] ```t.Fatal``` stops all tests and contains extra information about the failed sub test.
- [ ] ```t.Fatal``` stops execution of the subtest and continues with other test cases.
- [ ] `t.Fatal` does not crash the test harness, preserving output messages.
- [x] `t.Fatal` stops all tests and contains extra information about the failed sub test.
- [ ] `t.Fatal` stops execution of the subtest and continues with other test cases.
- [ ] There is no difference.

4 changes: 2 additions & 2 deletions google-analytics/google-analytics-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,9 @@

#### Q79. Which type of goal allows you to specifiy a funnel?

- [ ] Destination
- [ ] Destination
- [ ] Duration
- [ ] Pages/Screens per Session
- [ ] Pages/Screens per Session
- [ ] Event

#### Q80. What is an interaction that causes data to be sent to Analytics?
Expand Down
62 changes: 30 additions & 32 deletions hadoop/hadoop-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,38 +441,36 @@ FROM customers c;
- [ ] SORT

### Q62. What custom object should you implement to reduce IO in MapReduce?
- [ ] Comparator
- [ ] Mapper
- [ ] Combiner
- [ ] Reducer

- [ ] Comparator
- [ ] Mapper
- [ ] Combiner
- [ ] Reducer

### Q63. You can optimize Hive queries using which method?

- [ ] secondary indices
- [ ] summary statistics
- [ ] column-based statistics
- [ ] a primary key index



- [ ] secondary indices
- [ ] summary statistics
- [ ] column-based statistics
- [ ] a primary key index

### Q64. If you are processing a single action on each input, what type of job should you create?
- [ ] partition-only
- [ ] map-only
- [ ] reduce-only
- [ ] combine-only

- [ ] partition-only
- [ ] map-only
- [ ] reduce-only
- [ ] combine-only

### Q65. The simplest possible MapReduce job optimization is to perform which of these actions?

- [ ] Add more master nodes.
- [ ] Implement optimized InputSplits.
- [ ] Add more DataNodes.
- [ ] Implement a custom Mapper.

### Q66. When you implement a custom Writable, you must also define which of these object?

- [ ] a sort policy
- [ ] a combiner policy
- [ ] a compression policy
- [ ] a filter policy


- [ ] Add more master nodes.
- [ ] Implement optimized InputSplits.
- [ ] Add more DataNodes.
- [ ] Implement a custom Mapper.

### Q66. When you implement a custom Writable, you must also define which of these object?

- [ ] a sort policy
- [ ] a combiner policy
- [ ] a compression policy
- [ ] a filter policy
Loading

0 comments on commit 4b34db9

Please sign in to comment.