Skip to content

Commit

Permalink
Add Microsoft Excel and T-SQL questions (Ebazhanov#175)
Browse files Browse the repository at this point in the history
* Add Q44. How many prototype objects are in the chain for the following array question

* Add Miscrosoft Excel questions

* Add Microsoft Excel questions

* Add T-SQL questions

Co-authored-by: Rafael Muniz <[email protected]>
  • Loading branch information
github-star-coder and rafamuniz authored Jul 28, 2020
1 parent 39ae8fc commit da70952
Show file tree
Hide file tree
Showing 3 changed files with 440 additions and 5 deletions.
17 changes: 12 additions & 5 deletions javascript/javascript-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,11 @@ a[100] = 'fox';
- 4
- 100

#### Q22. What is one differance between collections created with Map and collections created with Object?
- You can iterate over values in a Map in their insertion order.
- You can count the records in a Map with a single method call.
- Keys in Maps can be strings.
- You can access values in a Map without iterating over the whole collection.
#### Q22. What is one difference between collections created with Map and collections created with Object?
- You can iterate over values in a Map in their insertion order. (Correct. Map.prototype.forEach(callbackFn[, thisArg]))
- You can count the records in a Map with a single method call. (Correct. Map.prototype.size)
- Keys in Maps can be strings. (Correct)
- You can access values in a Map without iterating over the whole collection. (Correct. Map.prototype.get(key))

#### Q23. Which property references the DOM object that dispatched an event?
- source
Expand Down Expand Up @@ -369,3 +369,10 @@ f2()
- You are calling a method named reduce on an object that does not exist. <<<<----Correct
- You are calling a method named reduce on an empty array.
- You are calling a method named reduce on an object that's has a null value.

#### Q44. How many prototype objects are in the chain for the following array?
let arr = [];
- 3
- 2
- 0 <<<<----Correct
- 1
240 changes: 240 additions & 0 deletions microsoft-excel/microsoft-excel-quiz.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,240 @@
## Microsoft Excel Assessment


#### Q1. Some of your data in Column C is displaying as hashtags (#) because the column is too narrow. How can you widen Column C just enough to show all the data?

- [ ] Right-click column C, select Format Cells, and then select Best-Fit.
- [ ] Right-click column C and select Best-Fit.
- [ ] Double-click column C.
- [x] Double-click the vertical boundary between columns C and D.

#### Q2. Which two functions check for the presence of numerical or nonnumerical characters in cells?

- [x] ISNUMBER and ISTEXT
- [ ] ISNUMBER and ISALPHA
- [ ] ISVALUE AND ISNUMBER
- [ ] ISVALUE and ISTEXT

#### Q3. If you drag the fill handle (lower-right corner) of cell A2 downward into cells A3, A4, and A5, what contents will appear in those cells?

- [ ] Jan, Jan, Jan
- [ ] Feb, Mar, blank cell
- [x] Feb, Mar, Apr
- [ ] FEB, MAB, APR

#### Q4. If cell A3 contains the text THE DEATH OF CHIVALRY, what will the function =PROPER(A3) return?

- [ ] the death of chivalry
- [ ] The death of Chivalry
- [ ] THE DEATH OF CHIVALRY
- [X] The Death Of Chivalry

#### Q5. If the worksheet below, you want to use Data > Subtotal to show a subtotal value per sport. What must you do BEFORE applying the Subtotal function?

- [ ] Sort by the data in Column E.
- [ ] Format the data in Column D.
- [X] Sort by the data in Column D.
- [ ] Format the data in Column E.

#### Q6. When editing a cell, what do you press to cycle between relative, mixed, and absolute cell references?

- [ ] Alt+F4 (Windows) or Option+F4 (Mac)
- [ ] Alt+Shift+4 (Windows) or Option+Shift+4 (Mac)
- [ ] Ctrl+Shift+4 (Windows) or Command+Shift+4 (Mac)
- [X] the F4 (Windows) or Command+T (Mac)

#### Q7. You need to add a line chart showing a sales trends over the last 12 months and you have only a little space to work with. How can you convey the required information within a single cell?

- [ ] Add an image of the chart to a comment.
- [ ] Add a hyperlink to another worksheet that displays a chart when clicked.
- [ ] Add an image of the chart to the worksheet.
- [X] Add a sparkline, a graphic that summarizes data visually within a single worksheet cell.

#### Q8. What is the best way to activate the Excel Help system?

- [ ] Right-click anywhere and select Help.
- [X] Press F1 or click the Help tab in the ribbon.
- [ ] Press F10.
- [ ] all of these answers.

#### Q9. Which format will display the value 27,500,000 as 27.5?

- [ ] ##,###,,
- [X] ###.0,,
- [ ] 999.9,,
- [ ] ###,###.0,

#### Q10. When using Goal Seek, you can find a target result by varying _____ at most.

- [X] three inputs
- [ ] four inputs
- [ ] two inputs
- [ ] one input

#### Q11. In the image below, which option(s) can you select so that the appropriate field headers appear in cells A4 and B3 instead of the terms Row Labels and Column Labels, respectively?

- [ ] Show in Tabular Form
- [ ] Show in Compact Form
- [ ] Show in Compact For or Show in Outline Form
- [X] Show in Tabular Form or Show in Outline Form

#### Q12. A cell contains the value 7.877 and you want it to display as 7.9. How can you accomplish this?

- [ ] Use the ROUND() function.
- [X] Click the Decrease Decimal button twice.
- [ ] In the cells group on the Home tab, click Format > Format Cells. Then cick the Alignment tab and select Right Indent.
- [ ] Click the Decrease Decimal button once.

#### Q13. Which formula is NOT equivalent to all of the others?

- [ ] =A3+A4+A5+A6
- [ ] =SUM(A3:A6)
- [X] =SUM(A3,A6)
- [ ] =SUM(A3,A4,A5,A6)

#### Q14. Which custom format will make the cells in column A appear like the corresponding cells in column B?

- [ ] MMM-YYYY
- [X] MMMM-YYYY
- [ ] MMMM&"-"&YYYY
- [ ] M-YYYY

#### Q15. Which function returns a reference to a cell (or cell range) that is a specified distance from a base cell?

- [ ] OFFSET
- [ ] VLOOKUP
- [X] INDEX
- [ ] MATCH

#### Q16. You're working with columsn whose width and font-size should not be changed. Yet the columns are too narrow to display all the text in each cell. What tool should you use to solve the problem?

- [ ] Sparklines
- [X] Wrap Text
- [ ] Fill Handle
- [ ] Centered Alignment

#### Q17. Of the four chart types listed, which works best for summarizing time-based data?

- [ ] pie chart
- [X] line chart
- [ ] XY scatter chart
- [ ] bar chart

#### Q18. The AutoSum formulas in the range C9:F9 below return unexpected values. Why is this?

- [ ] The AutoSum formulas refer to the column to the left of their cells.
- [X] The AutoSum formulas exclude the bottom row of data.
- [ ] The AutoSum formulas include the year at the top of each column in the calculation.
- [ ] The AutoSum formulas include their own cells, creating a circular reference.

#### Q19. The text filter in column A is designed to display only those rows where column A entry has a particular attribute. What is this attribute?

- [X] The second character in the cell is 9.
- [ ] The number 9 appears one or more times within the cell.
- [ ] The cell is comprised of 9 characters.
- [ ] the number 9 apperars once and only once within the cell.

#### Q20. To ensure shapres and other objects are an equal left-to-right distance apart, select the shapes, click Page Layout > Align, and the click ____.

- [ ] Aligh Middle
- [ ] Distribute Horizontally
- [X] Distribute Vertically
- [ ] Align Center

#### Q21. An organization chart, which shows the hierarchy within a compmay or oraginization, is available as _____ that is include with Excel.

- [ ] a 3D model
- [X] SmartArt
- [ ] a Treemap chart
- [ ] a drawing object

#### Q22. You want to be able to restrict values allowed in a cell and need to create a drop-down list of values from which users can choose. Which feature should you use?

- [ ] Protect Worksheet
- [ ] Conditional Formatting
- [ ] Allow Users to Edit Ranges
- [ ] Data Validation

#### Q23. To round up a value to the nearest increment of your choice, such as the next five cents, what function should you use?

- [X] ROUNDUP
- [ ] MAX
- [ ] ROUND
- [ ] CEILING

#### Q24. Which function returns the largest value in the range H2:H30?

- [X] =MAX(H2:H30)
- [ ] =MAXIMUM(H2:H30)
- [ ] =LARGE(H2:H30,29)
- [ ] =UPPER(H2:H30,1)

#### Q25. Which chart type can display two different data series as different series type within the same chart?

- [X] XY chart
- [ ] clustered column
- [ ] bubble chart
- [ ] combo chart

#### Q26. In the image below, what does clicking the button indicated by the green arrow do?

- [ ] Hides or shows the formula bar.
- [X] Selects all.
- [ ] Hides or shows the ribbon.
- [ ] Selects objects.

#### Q27. Which formula returns the value in cell A1 of the worksheet named MySheet?

- [X] =MySheet!A1
- [ ] =MySheet_A1
- [ ] =MySheet&A1
- [ ] =MySheet@A1

#### Q28. In the worksheet below, you want to copy the formatting of cell A1 into cells B1:D1. Which approach (see arrows) accomplishes this the most efficiently?

- [ ] B
- [ ] C
- [X] A
- [ ] D

#### Q29. Which formula correctly counts the number of numeric values in both B4:E4 and G4:I4?

- [ ] =COUNT(B4:E4&G4:I4)
- [ ] =COUNT(B4:E4,G4:I4)
- [ ] =COUNT(B4:E4 G4:I4)
- [X] =COUNT(B4:I4)

#### Q30. After activating a chart, which sequence adds a trendline to the chart?

- [ ] In the Format group, select Trendline from the Insert Shapes list.
- [ ] Click outside the plot area and select Add Trendline
- [ ] Click inside the plot and select Forecast.
- [X] Right-click a data series and select Add Trendline.

#### Q31. Which Excel add-in will help you find a target result by varying multiple inputs to a formula?

- [X] Goal Seek
- [ ] Power Pivot
- [ ] Data Analysis
- [ ] Solver

#### Q32. What tool would you use to prevent the input in a cell of a date outside a specific range?

- [ ] Protect Workbook
- [ ] Watch Window
- [X] Data Validation
- [ ] Filter

#### Q33. You want to apply subtotals per sport in the data below. What should you do before applying subtotals?

- [ ] Format the data in column E.
- [ ] Format the data in column D.
- [x] Sort the data in column D.
- [ ] Sort the data in column E.

#### Q34. When you sort a list of numerical value into ascending or descending order, the value in the middle of the list is the _____.

- [ ] mode
- [ ] modulus
- [ ] average
- [x] median
Loading

0 comments on commit da70952

Please sign in to comment.