Skip to content

Commit

Permalink
auto formatting with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebazhanov committed Dec 11, 2021
1 parent 93e63f2 commit f660de8
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 19 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-671-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
6 changes: 3 additions & 3 deletions c++/c++quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ auto x = 4000.22;
- [ ] It specifies that x is a variable with automatic storage duration.
- [ ] It specifies that more memory will be allocated for x in case it needs more space, avoiding loss of data due to overflow.

#### Q14. A class template is a _____?
#### Q14. A class template is a **\_**?

- [x] class written with the generic programming paradigm, specifying behavior in terms of type parameter rather than specific type.
- [ ] blank superclass intended for inheritance and polymorphism.
Expand Down Expand Up @@ -1214,7 +1214,7 @@ typedef struct{

[Reference](https://en.cppreference.com/w/cpp/language/bit_field)

#### Q72. Which choice is a reason to specify the type of a pointer instead of using `void *`, which works as a pointer ro any type?
#### Q72. Which choice is a reason to specify the type of a pointer instead of using `void *`, which works as a pointer ro any type?

- [ ] The compiler needs the dara type to make sure that the pointer is not going to be used on illegal non-pointable types such as functions, labels, pointers, and reference.
- [ ] `void *` does not work for any type. The language does not allow assigning anything other than `void` to a pointer to `void *`.
Expand All @@ -1239,4 +1239,4 @@ int main(){
- [ ] The main function is supposed to have a void return type.
- [ ] `std::cin` and `std::cout` are invalid. The correct names for the character input and output streams are `cin` and `cout`.
- [ ] The address of `str` is supposed to be used. That is `&str` instead of `str`.
- [ ] The input operator flow is inverted. it should start from `std::cin` and then flow (>>) into `str`.
- [ ] The input operator flow is inverted. it should start from `std::cin` and then flow (>>) into `str`.
1 change: 0 additions & 1 deletion css/css-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ p {

[Reference MDN Webdocs](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing)


#### Q31. When using the Flexbox method, what property and value is used to display flex items in a column?

- [x] flex-flow: column; or flex-direction: column
Expand Down
2 changes: 1 addition & 1 deletion cybersecurity/cybersecurity-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ autopsy is for forensic analysis
- [ ] Eradiction / Remediation
- [ ] Lessons Learned

#### Q55. Which is *not* a principle of zero trust security?
#### Q55. Which is _not_ a principle of zero trust security?

- [x] assume breach
- [ ] verify explicitly
Expand Down
15 changes: 11 additions & 4 deletions django/django-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,29 @@

#### Q4. A client wants their site to be able to load "Rick & Morty" episodes by number or by title—e.g., shows/3/3 or shows/picklerick. Which URL pattern do you recommend?

- [ ]
- [ ]

```
url(r'shows/<int:season>/<int:episode>/', views.episode_number),
url(r'shows/<slug:episode_name>/', views.episode_name)
```
- [x]

- [x]

```
path('shows/<int:season>/<int:episode>/', views.episode_number),
path(r'shows/<slug:episode_name>/', views.episode_name)
```
- [ ]

- [ ]

```
path('shows/<int:season>/<int:episode>', views.episode_number),
path(r'shows/<slug:episode_name>/', views.episode_number)
```
- [ ]

- [ ]

```
url(r'^show/(?P<season>[0-9]+)/(?P<episode>[0-9]+)/$', views.episode_number),
url(r'^show/(?P<episode_name>[\w-]+)/', views.episode_name
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 @@ -667,4 +667,4 @@ Note: there are centres of clusters (C0, C1, C2).
- [ ] Create training clusters
- [ ] Remove predictors
- [ ] Use reinforcement learning
- [x] Add more predictors
- [x] Add more predictors
2 changes: 1 addition & 1 deletion microsoft-word/microsoft-word-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ File -> Open -> Recent -> Recover Unsaved Documents
File -> Info -> Manage Document -> Recover Unsaved Documents
Read carefully. It's not about recovering, but only the last recent file!

#### Q23. Which object type can you *not* insert into a Word document from the **Insert** tab?
#### Q23. Which object type can you _not_ insert into a Word document from the **Insert** tab?

- [x] a sketch
- [ ] a symbol
Expand Down
10 changes: 4 additions & 6 deletions php/php-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -835,13 +835,11 @@ Dog

[reference](https://www.quora.com/Which-programming-language-is-used-to-create-PHP)


##### Q66.Which superglobal variable holds information about headers, paths, and script locations?

- [x] $_SERVER
- [ ] $SERVER_VARIABLES
- [ ] $_ENV
- [ ] $GLOBALS
- [x] `$_SERVER`
- [ ] `$SERVER_VARIABLES`
- [ ] `$_ENV`
- [ ] `$GLOBALS`

[reference](http://www-db.deis.unibo.it/courses/TW/DOCS/w3schools/php/php_superglobals.asp.html)

3 changes: 2 additions & 1 deletion python/python-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -1373,9 +1373,10 @@ num_list.pop(2)
num_list.remove(2)
[1,3,4,5]
```

#### Q101. What is the correct syntax for creating an instance method?

- [] def get_next_card(): # method body goes here
- [] def self.get_next_card(): # method body goes here
- [x] def get_next_card(self): # method body goes here
- [] def self.get_next_card(self): # method body goes here
- [] def self.get_next_card(self): # method body goes here
2 changes: 1 addition & 1 deletion ruby-on-rails/ruby-on-rails-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ Order.limit(3).each { |order| puts order.line_items }
- [ ] This query will result in the 1 query issue. Three orders will result in one query.
- [ ] There are no issues with this query, and you are correctly limiting the number of Order models that will be loaded.

#### Q54. Which choice is an *incorrect* way to render a partial?
#### Q54. Which choice is an _incorrect_ way to render a partial?

- [ ] `<%= render(:partial => 'shared/product') %>`
- [ ] `<%= render('shared/product', :collection => @products) %>`
Expand Down

0 comments on commit f660de8

Please sign in to comment.