SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
C# Programming Basics
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Static Member
float - .NET alias
Incrementing / Decrementing Variables
2. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.
Partial Method Modifier
char - Size
Overloaded Method
Float (or float) - Size
3. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
If Statement
Static Member
Intermediate Language (IL)
Boolean - Size
4. Field whose value can never change. Declared with 'const' keyword
Public Keyword
Partial Method Modifier
char - Size
Constant
5. 32 bit - unsigned integer data
Equality Operator
JIT
uint - Size
ushort - .NET alias
6. Just-in-time compilation
Value Type
byte - Size
JIT
int - Size
7. System.Decimal
decimal - .NET alias
Expression
Protected Internal Access Modifier
Namespace
8. Command which runs repeatedly while (some) condition is true.
While Statement
Polymorphism
Comments
float - .NET alias
9. Compilation of classes. In C# Usually ends in .dll or .exe
Class
Strong Typing
Assembly
Static Member
10. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Textbox
Window.xaml.cs
Properties
11. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
Static Member
Boolean Operator
Assembly
int - Size
12. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Conditional Operator
FCL
Operator
13. System.Single
float - .NET alias
Protected Internal Access Modifier
using
Virtual Method Modifier
14. A Class that cannot be Inherited
FCL
Encapsulation
Sealed Class
Comments
15. Restricts access to a Member to the current Class.
Private Access Modifier
Properties
char - .NET alias
Class
16. (&& or || or & or |)
Stack
Primitive Type
int - Size
Conditional Operator
17. Something that has a different number of parameters to it's predecessor
Partial Class Modifier
ulong - Size
Overloaded Method
Dot Notation
18. Series of instructions which tell a computer what to do.
While Statement
Program
Overloaded Method
Heap
19. A type of statement that produces a value that might be tested or assigned to a variable.
Boolean Operator
Value Type
ulong - .NET alias
Expression
20. 32 bit integer data
Equality Operator
JITer
Int32 - Size
If Statement
21. Word that stores a value. Storage location that holds a value. Type and name of variable must be declared in a statement. Must be explicitly declared before use. Uses CamelCase notation.
Variable
Array
CLR
uint - .NET alias
22. Names reserved by the compiler that coders are not allowed to use as identifiers.
Internal Access Modifier
Keyword
Statement
Parameter aka Argument
23. Windows Presentation Foundation
W.P.F
Protected Access Modifier
String (or string)
Operator
24. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Variable
Operator
Inheritance
Statement
25. A Class that inherits characteristics from another Class.
Derived Class
long - .NET alias
ulong - .NET alias
Public Keyword
26. true or false
Constant
Parameter aka Argument
Method
bool - Size
27. System.UInt64
CLR
long - .NET alias
Syntax
ulong - .NET alias
28. Syntax of a C# Method
Stack
Internal Access Modifier
Double (or double) - Size
returnType methodName (parameterList)
29. Must have a data type
Int64 - Size
Variable (C# requirements)
Static Class
Window.xaml.cs
30. System.Int64
Int64 - Size
long - .NET alias
JIT
Abstract Class Modifier
31. 32 bit integer data
int - Size
String (or string)
Value Type
Syntax
32. Represents the encapsulation of data and behaviors into a single unit.
returnType methodName (parameterList)
Int32 - Size
Class
References (Visual Studio Solution
33. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Keyword
Static Class
csc.exe
Statement
34. System.Int16
Partial Method Modifier
short - .NET alias
r
Overloaded Method
35. System.Double
double - .NET alias
Derived Class
Common Language Runtime (CLR)
Program
36. System.UInt32
Statement
uint - .NET alias
Operator
Object
37. Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap to save available memory
Heap
Object
JIT
Variable
38. Code which implements GUI (graphical User Interface).
Boolean Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
JITer
C#
39. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.
Operator
Sealed Class
Abstract Method Modifier
Console Application
40. Code which signifies a carriage return. Symbolises a new line in a text box.
r
Parameter aka Argument
long - Size
Operator
41. Extra information within a method
Parameter aka Argument
Precedence
ulong - .NET alias
Program
42. 16 bit - signed integer data (-32768 to 32767)
Boolean Operator
short - Size
bool - Size
Label
43. The member type of a Class that performs an action.
Assembly
Virtual Method Modifier
Method
r
44. Introduces a new class. Marked by curly brackets { }
Class Statement
Syntax
Int32 - Size
Operator
45. A Member that cannot be accessed/invoked through an Object Instance.
Object
Static Member
Derived Class
Double (or double) - Size
46. System.Char
char - .NET alias
Virtual Method Modifier
FCL
Boolean Operator
47. The "Type" name of data that is stored on the Stack
short - Size
Value Type
If Statement
FCL
48. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class
Dot Notation
Variable (C# requirements)
Internal Access Modifier
Textbox
49. true or false
Program
Boolean - Size
Public Keyword
JIT
50. Symbols which transform and combine expressions
ushort - .NET alias
Private Access Modifier
Textbox
Operator