Skip to content

Commit

Permalink
propose corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgnorbec committed Dec 4, 2021
1 parent 126bfb7 commit fb3453f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions dotnet-framework/dotnet-framework-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@

#### Q8.You want to include language elements in a program. Which design pattern best fits this objective?

- [ ] Interpreter
- [x] Interpreter <= correct
- [ ] Command
- [ ] Bridge
- [x] Decorator
- [ ] Decorator

#### Q9. What makes a strong-named assembly?

Expand Down Expand Up @@ -123,10 +123,10 @@

#### Q18. What is an abstract class in .NET?

- [ ] An abstract class provides a partial implementation for functionality and some abstract or virtual members that must be implemented by the inheriting entities. It can declare fields too.
- [x] An abstract class provides a partial implementation for functionality and some abstract or virtual members that must be implemented by the inheriting entities. It can declare fields too. <= Correct
- [ ] An abstract class allows developers to create new classes that reuse, extend, and modify the behavior defined in other classes.
- [ ] An abstract class is responsible for keeping track of what is actually executing and where each executing thread is.
- [x] An abstract class declares a contract or behavior that implementing classes require. It may declare only properties, methods, and events with no access modifiers. All the declared members must be implemented.
- [ ] An abstract class declares a contract or behavior that implementing classes require. It may declare only properties, methods, and events with no access modifiers. All the declared members must be implemented.

#### Q19. What is the namespace for caching information in .NET?

Expand Down
14 changes: 7 additions & 7 deletions t-sql/t-sql-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ SELECT @UniqueID AS Result;
SELECT 'abc\
def' AS Result;

- [x] abc\def
- [ ] abcdef
- [ ] abc\def
- [x] abcdef
- [ ] error
- [ ] abc def

Expand Down Expand Up @@ -355,8 +355,8 @@ FROM Students

- [ ] You should create a DML trigger on the server.
- [ ] You should create a DDL trigger on the database.
- [ ] You should create a DML trigger on TableA.
- [x] You should create a DML trigger on TableB.
- [x] You should create a DML trigger on TableA.
- [ ] You should create a DML trigger on TableB.

#### Q35. What is the problem with this code?

Expand All @@ -383,12 +383,12 @@ FROM Students

#### Q37. What is the result of this query?

`SELECT '123'+'123' AS Result;`
`SELECT 123+'123' AS Result;`

- [ ] error
- [ ] '123''123'
- [x] 123123
- [ ] 246
- [ ] 123123
- [x] 246

#### Q38. To combine the results of two or more SELECT statements, removing duplicates, which keyword can you use?

Expand Down

0 comments on commit fb3453f

Please sign in to comment.