Skip to content

Commit

Permalink
Added new questions (and some answers) (Ebazhanov#3471)
Browse files Browse the repository at this point in the history
* Two new questions (git) and one answer

* Fixed two minor typos ("restrict" and "specified")

* Added two questions to PP quiz

* Two new questions

* New question, answer and reference

* Six new questions

* Two new questions, one answer with reference

* Three new questions and one reference
  • Loading branch information
totallynotdavid authored Apr 8, 2022
1 parent 74f056b commit d6f5dcc
Show file tree
Hide file tree
Showing 9 changed files with 170 additions and 1 deletion.
46 changes: 46 additions & 0 deletions adobe-acrobat/adobe-acrobat-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,49 @@
- [ ] Choose commit Selected Value Immediately in the Dropdown Properties dialog box.
- [ ] Choose Sort Items in the Dropdown Properties dialog box.
- [ ] Choose Format Category > Special in the Dropdown Properties dialog box.

#### Q20. To streamline index creation for a collection of academic documents, which option would result in a smaller index and thus faster searching for the user?

- [ ] Structure Tags
- [ ] XMP Fields
- [ ] Custom Properties
- [x] Stop Words

[Reference](https://helpx.adobe.com/experience-manager/kb/Stopwordlist.html)

#### Q21. You create a PDF portfolio, and you would like to add encryption, without having to deal with each individual file. To encrypt a complete portfolio with a certificate, to verify via digital signature, where would you go to start?

- [ ] **Tools > Protect**
- [ ] **Tools > Certificates**
- [ ] **View > Portfolio Cover Sheet**
- [x] **Tools > Action Wizard**

#### Q22. You must prepare a PDF to meet the accessibility requirements of Section 508 compliance for a government agency. You have determined that there are some problems with the file which prevent it from passing accessibility tests. Where would you go to quickly to those issues and make the PDF accessible?

- [ ] Tools > Edit PDF
- [ ] Tools > Accessibility
- [x] Tools > Action Wizard
- [ ] Tools > PDF Standards

[Reference](https://helpx.adobe.com/acrobat/using/create-verify-pdf-accessibility.html)

#### Q23. In a fillable form, you would like the user to be able to enter their own text in a multi-choice form field, if none of the existing choices in the form field are suitable. Which type of form field would provide this option?

- [ ] a list box field
- [ ] a multi-line text field
- [ ] a drop-down field
- [ ] a text field with rich text formatting

#### Q23. A client sent a PDF to be included as a page in a book you are designing. The client misspelled several words in the PDF. The PDF is a scan of text. What can you do to fix the misspelled words?

- [ ] **Tools > Organize Pages**
- [ ] **Tools > Accessibility**
- [ ] **Took > Edit PDF**
- [ ] **File > Export to > Microsoft Word**

#### Q24. You would like to convert a layered Visio file to PDF. However, that option is not available. How can you control the conversion of Visio layers to layers in the exported PDF?

- [ ] Click **Create Layer Set**.
- [ ] Click **Add Layers**.
- [ ] Deselect the **Convert All Pages in Drawing** option.
- [ ] Select **Retain Some Layers in the Selected Page**.
19 changes: 19 additions & 0 deletions git/git-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -898,3 +898,22 @@ Changes not staged for commit:
- [ ] `git checkout origin`
- [x] `git pull origin master`
- [ ] `git push origin master`

#### Q108. While pushing changes to a remote repository, you receive the following message. How do you resolve this issue?

```bash
error: failed to push some refs to 'https://github.com/myrepo/simple.git'
hint: Updates were rejected because the remote contains work that you do not hint: not have locally.
```

- [ ] Use the --atomic option with the push command.
- [x] Execute a pull, then resolve any merge conflicts and execute another push.
- [ ] Execute a fetch, then execute another push.
- [ ] Use the --force option with the push command.

#### Q109. What does the -p option add to the output of the `git log` command?

- [ ] It adds patch output that shows the differences introduced in each commit.
- [ ] It adds patch output that shows a summary fisting modified files.
- [ ] It adds padding to the output and displays a histogram showing the number of lines changed in each commit.
- [ ] It adds the full commit message and notes associated with each commit.
16 changes: 16 additions & 0 deletions go/go-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,3 +493,19 @@ fmt.Println("%f\n", price)
- [x] Set GOOS to **darwin** and GOARCH to **arm64**.

[documentation](https://pkg.go.dev/cmd/go#hdr-Build_constraints)

#### Q41. What is the correct syntax ta start a goroutine that will `print Hello Gopher!`?

- [ ] `go(fmt.Println("Hello Gopher!"))`
- [ ] `go func() { fmt.Println("Hello Gopher!") }`
- [ ] `go fmt.Println("Hello Gopher!")`
- [ ] `Go fmt.Println("Hello Gopher!")`

#### Q42. If you iterate over a map in a for range loop, in which order will the key:value pairs be accessed?

- [x] in pseudo-random order that cannot be predicted
- [ ] in reverse order of how they were added, last in first out
- [ ] sorted by key in ascending order
- [ ] in the order they were added, first in first out

[Reference](https://go.dev/ref/spec#:~:text=The%20iteration%20order%20over%20maps%20is%20not%20specified)
23 changes: 23 additions & 0 deletions google-ads/google-ads-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,26 @@
- [ ] conversions; ROI
- [ ] clickthrough rate; impressions
- [ ] ROI; conversions

#### Q43. Which report would most accurately show how far away users are when clicking your ads in relation to the location of your business?

- [ ] dimension report
- [ ] geographic report
- [x] distance report
- [ ] user location report

[Reference](https://support.google.com/google-ads/answer/2453994)

#### Q44. If your average daily budge is $20, what is the maximum amount Google Ads may charge you on a single day?

- [ ] $22
- [ ] $20
- [ ] $40
- [ ] $36

#### Q45. Ursula owns a yoga studio in New York City (NYC). A customer performs several searches in the following order: "yoga studio near me", "best yoga NYC", "yoga free trial NYC". What attribution model would assign 100% of the credit for the conversion to _yoga free trial NYC_?

- [ ] last position
- [ ] last search
- [ ] linear
- [ ] last click
2 changes: 1 addition & 1 deletion microsoft-excel/microsoft-excel-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ https://support.microsoft.com/en-us/office/print-headings-or-titles-on-every-pag
- [ ] Insert Column Left
- [x] Insert

#### Q114. You want to restric the values entered in a cell to a speified set, such as Hop, Skip, Jump. Which type of data validation should you use?
#### Q114. You want to restrict the values entered in a cell to a specified set, such as Hop, Skip, Jump. Which type of data validation should you use?

- [ ] input range
- [x] list
Expand Down
Binary file added microsoft-power-point/Q79.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions microsoft-power-point/microsoft-power-point-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -591,3 +591,26 @@ If your Word document contains no Heading 1 or Heading 2 styles, PowerPoint will
- [ ] Picture

[Reference](https://support.microsoft.com/en-us/office/insert-excel-data-in-powerpoint-19767daf-672c-43bc-bda1-330b242c57c9)

#### Q77. You created a photo album with transitions and want to send it to friends, but the file size is too large for email. How can you use one command to fix this?

- [ ] Click **Export** in Backstage view and embed the presentation in an email.
- [ ] Compress all the pictures to the **Email (96 ppi) resolution**.
- [ ] Use the Share feature in Backstage view and petty email to automatically compress the pictures.
- [ ] Use the Share feature in Backstage view to create a pdf to send as an attachment.

#### Q78. In a presentation about voter turnout, you are illustrating various data with charts. Which type of information would you present in a pie chart?

- [ ] the decline of voter turnout by county
- [ ] trends in voter turnout over the part 10 years
- [ ] what percentage of the whole population voted
- [ ] how many people voted in various geographic regions on a map

#### Q79. A few lines of text are overflowing the placeholder on your slide. How can you fix it on your slide?

![Q79](Q79.png "Q79")

- [ ] Delete the overflowing text.
- [ ] Select **Stop Fitting Text to This Placeholder**.
- [x] Select **Autofit Text to Placeholder**.
- [ ] Click **Collapse**.
9 changes: 9 additions & 0 deletions node.js/node.js-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -588,3 +588,12 @@ console.log(person);
- [ ] ECMAScript modules can be used natively in Node with the .mjs file extension
- [ ] ECMAScript modules can be used natively in Node only by using a compiler like Babel.
- [ ] ECMAScript modules can be used natively in Node only by using a bundle like webpack.

#### Q72. When exploring the Node documentation's features, what are the stability ratings?

- [x] They are an indication of the stability of Nodejs modules and usage recommendations.
- [ ] They tell if a feature is ES6 compliant.
- [ ] They are a Node command to validate stability of your code.
- [ ] They tell if a feature is LTS (Long Term Supported).

[Reference](https://nodejs.org/api/documentation.html)
33 changes: 33 additions & 0 deletions python/python-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -1745,3 +1745,36 @@ Hello, I am from France
- [ ] `[x for x in titanic['Survived'] if x == 1]`
- [ ] `len(titanic["Survived"])`
- [ ] `sum(titanic['Survived']==0)`

#### Q130. How would you create a list of tuples matching these lists of characters and actors?

```python
characters = ["Iron Man", "Spider Man", "Captain America"]
actors = ["Downey", "Holland", "Evans"]

# example output : [("IronMan", "Downey"), ("Spider Man", "Holland"), ("Captain America", "Evans")]
```

- [ ] `[(x,y)] for x in characters for y in actors]`
- [ ] `zip(characters, actors)`
- [ ]

```
d = {}
for x in range(1,len(characters)):
d[x] = actors [x]
```

- [ ] `{x:y for x in characters for y in actors}`

#### Q131. What will this statement return?

```python
{x : x*x for x in range(1,100)}
```

- [ ] a dictionary with x as a key, and x squared as its value; from 1 to 100
- [ ] a dictionary with x as a key, and x squared as its value; from 1 to 99
- [ ] a set of tuples, consisting of (x,x squared); from 1 to 99
- [ ] a list with all numbers squared from 1 to 99

0 comments on commit d6f5dcc

Please sign in to comment.