Zusammenfassung der Ressource
Frage 1
Frage
What is the fastest type of loop in C#
Antworten
-
Do While Incrementing
-
Do While Decrementing
-
For Loop Incrementing
-
For Loop Decrementing
-
For Each Loop
-
While Loop Incrementing
-
While Loop Decrementing
Frage 2
Frage
What is the correct tree traversal method when ensuring to visit all nodes in an efficient manner, but which is also suitable for the flow of program code?
Antworten
-
Depth first
-
Breadth first
Frage 3
Frage
What is an unrolled loop?
Frage 4
Frage
What is unsafe code in c#?
Antworten
-
Code that is insecure and can allow hackers to penetrate the operation system
-
Code that is unstable and shouldn't be used
-
Code that bypasses memory management of .NET and allows the use of pointers
Frage 5
Frage
What is a pointer in C#
Antworten
-
A reference to a variable
-
An arrow which denotes the direction of data flow
-
A memory address to a variable
Frage 6
Frage
What does the double chevron operator do in C#
Frage 7
Frage
What does the % operator do in C#
Frage 8
Frage
Which if these will throw an error if foo isn't of type null-able int "foo as int?" or "(int?)foo"
Frage 9
Frage
What is Cyclomatic Complexity?
Frage 10
Frage
What is a Directed Graph?
Antworten
-
A graph or chart in which all values are pointing towards a single outcome
-
A graph which you choose the direction of the nodes
-
A graph where all the nodes flow in one direction, usually from an entry point to an exit
Frage 11
Frage
What is the builder pattern?
Antworten
-
A builder pattern allows you to create dynamic classes
-
A builder pattern allows you to store complex objects
-
A builder pattern separates construction and representation of objects
Frage 12
Frage
What is a circular reference?
Frage 13
Frage
What is the true form of a using statement in C#
Antworten
-
A using statement is a first class citizen and it is it's own true form which is used to scope an object that can be disposed in memory
-
A try finally block that handles disposal of an object
-
A block statement that creates an object in a fixed scope
Frage 14
Frage
What is the LINQ expression for a multi threaded query
Antworten
-
AsMultiThreaded()
-
AsMultiple()
-
AsParallel()
-
AsTasks(int x)
Frage 15
Frage
What is an Abstract Syntax Tree