linkedin-skill-assessments-quizzes

.NET Framework

Q1. What is the difference between a stack and queue?

Q2. Which group contains all official types of JIT compilations?

Q3. What is Kestrel?

Q4. When would you use asynchronous actions?

Q5. What is CoreCLR?

Q6. When you define an abstract method, how do you use it in a derived class?

Q7. Which code do you use if you want to trigger a garbage collection in .NET?

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

Q9. What makes a strong-named assembly?

Q10. What happens when you concatenate two strings?

Q11. What is a delegate?

Q12. Which is a set of features that extends the query capabilities of the .NET language syntax by adding sets of new standard query operators that allow data manipulation, regardless of the data source?

Q13. What is the single responsibility principle?

Q14. When should a developer use the .NET Standard class library project type?

Q15. What is the difference between a SDK (software development kit) and runtime in .NET Core?

Q16. What is the Common Type System (CTS)?

reference link

Q17. Assuming y is a value type, which is an example of boxing?

Q18. What is an abstract class in .NET?

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

Q20. What is an interface in .NET?

Q21. What does CAS stand for and what does it do?

Q22. Which is NOT true about lambda statements?

Q23. Which is NOT true about a read-only variable?

Q24. What is the difference between System.String and string?

Q25. When break is used inside two nested for loops, does control come out of the inner for loop or the outer for loop?

Q26. You want to separate object construction from its representation. Which design pattern best fits this objective?

Q27. You want to encapsulate a command request as an object. Which design pattern best fits this objective?

Q28. Why would Pre-JIT be used by the .NET Framework?

Q29. What do code contracts do?

Q30. You must connect an app to an online identity provider using OAuth. For authentication, the app uses WebAuthenticationBroker object. You need to make sure the app registers with the provider. Which action do you take?

The requestUri parameter must be a HTTPS address and you call the AuthenticateAsync method to connect to the online identity provider and get an access token

Q31. You want to create a class of which only a single instance can exist. Which design pattern best fits this objective?

Q32. What is the dependency inversion principle?

Q33. What is a namespace?

Q34. Which of the following selects an anonymous type?

Q35. Which is NOT true about a constant variable?

Q36. What is the purpose of CLR?

Q37. What is CIL?

Q38. _ pattern works as a bridge between two incompatible interfaces? // wording in question is maybe changed?

Q40. Why would you use ahead-of-time (AOT) compilation?

Q41. Which statement describes a Dispose method?

Q42. What is a thread?

Reference link

Q43. You want to add responsibilities to object dynamically. Which design pattern best fit this objective?

Q44. Which choice creates an 8-tuple containing prime numbers that are less than 20?

Q45. How can you recieve form data without a model binder in a controller action?

Note: The differences are IFormResult/IActionResult and Forms/Form

Q46. Where should you store connection string information?

Q47. Why use design patterns?

Q48. What is a task?

Q49. Which choice is NOT a component of .NET Framework?

Q50. Which statement about the this keyword is not true?

Q51. When should you use the .NET Core class library project type?

Q52. Why would the .NET Framework use Normal-JIT (Just-in-Time)?

JIT (Just-In-Time) Compiler

Q53. What is .NET?

What is .NET?

Q54. The ASP.NET Core Module is a native IIS module that plugs into the IIS pipeline to either _.

ASP.NET Core Module

Q55. In the code below, what is the difference between RenderPartial and RenderAction?

@{
  Html.RenderAction("Add");
  Html.RenderPartial("Add");
}

Q56. What is the Liskov substitution principle?

Liskov substitution principle

Q57. What method do you use to explicitly kill a user’s session?

Session.Abandon Method

Q58. Which choice best describes the difference between globalization and localization?

Globalize and localize .NET applications

Q59. What does CIL stand for?

What is the full form of CIL?

Q60. Which choice best describes the difference between a namespace and an assembly?

Q61. What is a tuple?

Q62. What does IL stand for?

Q63. You want to create an instance of several families of classes. Which design pattern best fits this objective?

Q64. Which statement about a read-only variable is not true?

Q65. What is the interface segregation principle?

Q66. Which choice is a set of features that extends the query capabilities of the .NET language syntax by adding sets of new standard query operators that allow data manipulation, regardless of the data source?

Q67. Why would the .NET Framework use Econo-JIT (Just-inTime)?

Q68. What is the difference between a heap and a stack?

Q69. How do you make sure that the garbage collector is done running when you call GC.Collect()?

Q70. What does JIT do in .Net?

Reference: Compilation by the JIT compiler