forked from Ebazhanov/linkedin-skill-assessments-quizzes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test-commit-php * Update php-quiz.md * Newest commit * commit * c++-started-formatting * commit from function giwf * C++ Format Md * Django Format and one line c++ * !!NEW!! VBA questions added Answers missing!!NEW!! * Angular Better Format * commit from tik9 Co-authored-by: Timo <timo@vm_work> Co-authored-by: tik9 <laptop linux> Co-authored-by: unknown <win10_lenovo_ti> Co-authored-by: tik <lenovo> Co-authored-by: ti ko <tk@lapt-linux> Co-authored-by: tk <len-wsl> Co-authored-by: tik9 <git@rasp> Co-authored-by: tik9 <len-win-user>
- Loading branch information
1 parent
aa8092a
commit dca9767
Showing
119 changed files
with
306 additions
and
143 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
|
||
|
||
#### 1. Which two sets of values are printed by this function and sub? | ||
|
||
```vb | ||
Function GetVitals(ID As Long, Age As Long, ptional Weight As Long) As String | ||
GetVitals="ID=" & ID &"Age=" & Age & "Weight=" & Weight | ||
End Function | ||
Sub ShowVitals() | ||
Dim ID As Long, Age As Long,Weight as Long | ||
Debug.Print GetVitals(ID:=5,Age:=20) | ||
Debug.Print GetVitals(ID:=6,Age:=25,Weight:=130 | ||
End Sub | ||
``` | ||
- [] id=5 Age = 20 Weight= | ||
ID=6 Age = 25 Weight=130 | ||
- [] id=5 Age = 20 Weight=0 | ||
ID=6 Age = 25 Weight=130 | ||
- [] id=5 Age = 20 Weight=Null | ||
ID=6 Age = 25 Weight=130 | ||
- [] id=5 Age = 20 | ||
ID=6 Age = 25 Weight=130 | ||
|
||
|
||
#### 2. This code shows the first statement of CalledSub. Which calling statement will work properly? | ||
`Sub CalledSub(Surname, Age)` | ||
- [] call Calledsub "smith",26 | ||
- [] calledsub (surname="smith", Age = 26) | ||
- [] calledsub (Surname:="Smith", Age:=26) | ||
- [] calledsub "smith", 26 | ||
|
||
|
||
#### 3. What is the principal difference between a class and an object? | ||
- [] There is no meaningful difference. The terms are used interchangeably. | ||
- [] A dass declares an object's properties. An object completes the declaration by defining events and methods. | ||
- [] An object is a template for a class. | ||
- [] A class describes the design of an object. An object is an instance of that design. | ||
|
||
|
||
#### 4. What value does the MsgBox statement display? | ||
|
||
```vb | ||
Sub MySub(VarA As Long, ParamArray VarB() As Variant) | ||
MsgBox VarB(0) | ||
End Sub | ||
Sub ShowValue() | ||
Call MySub(10, "First arg", 2, 3.1416) | ||
End Sub | ||
``` | ||
- [] 2 | ||
- [] 10 | ||
- [] First arg | ||
- [] 3.1416 | ||
|
||
|
||
#### 5. What object is needed to put a userform module in a VBA project? | ||
- [] associated standard code module | ||
- [] UserForm | ||
- [] associated class module | ||
- [] userForm class | ||
|
||
|
||
#### 6. What is the output? | ||
|
||
```vb | ||
Sub UseSum() | ||
Dim TestArray() As Integer, Total As Integer | ||
ReDim TestArray(1) | ||
TestArray(1) = 6 | ||
ReDim TestArray(2) | ||
TestArray(2) = 3 | ||
Total = WorksheetFunction.Sum(TestArray) | ||
End Sub | ||
``` | ||
- [] 3 | ||
- [] 0 | ||
- [] 9 | ||
- [] 6 | ||
|
||
|
||
#### 7. The Driver subroutine is declared by Sub Driver (Y). Which statement results in a compile error? | ||
- [] Driver x | ||
- [] call Driver(x) | ||
- [] call Driver x | ||
- [] Driver (X) | ||
|
||
|
||
#### 8. You have several variables to display on a user form, and there are too many variables to display at once. Which control best enables the user to see all the variables? | ||
- [] Frame | ||
- [] multipage | ||
- [] TabStrip | ||
- [] ListBox | ||
|
||
|
||
#### 9. Below is a function named SquareIt. Which version of the subroutine named Area results in a compile error? | ||
|
||
```vb | ||
Function SquareIt(ByRef Basis As Integer) As Long | ||
SquareIt = Basis ^ 2 | ||
End Function | ||
``` | ||
|
||
- [] sub Area() | ||
```vb | ||
Dim Result As Long, Side As Integer | ||
Side = 5 | ||
Result = Squarelt(Side) | ||
End Sub | ||
``` | ||
- [] Sub Area() | ||
```vb | ||
Dim Result As Long, Side | ||
Side = 5 | ||
Result = SquareIt(Cint(Side)) | ||
End Sub | ||
``` | ||
|
||
|
||
#### 10. EmailAddress() is an array. It is declared by Dim EmailAddress(10) As String, and option Base 1 is in effect. How many rows and columns are in EmailAddress()? | ||
- [] 10 rows and 10 columns | ||
- [] 10 rows and 1 column | ||
- [] 10 rows and 0 columns | ||
- [] 1 row and 10 columns | ||
|
||
|
||
#### 11. Which cell is selected if you run this code? | ||
`Range("E3:312").Range("B3") Select` | ||
- [] F5 | ||
- [] F3 | ||
- [] B3 | ||
- [] E3 |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.