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. A symbol that specifies an operation to be performed on one or more variables.
Primitive
FCL
Operator
Strong Typing
2. System.Decimal
decimal - .NET alias
Encapsulation
returnType methodName (parameterList)
Protected Internal Access Modifier
3. A Member that cannot be accessed/invoked through an Object Instance.
int - .NET alias
C#
Stack
Static Member
4. Represents the encapsulation of data and behaviors into a single unit.
Class aka Type
Class
Double (or double) - Size
String (or string)
5. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Partial Method Modifier
Primitive
Comments
6. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.
byte - Size
Variable
Encapsulation
Partial Class Modifier
7. The "Type" name of data that is stored on the Stack
References (Visual Studio Solution
Value Type
int - .NET alias
Reference Type
8. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
ushort - .NET alias
Dot Notation
Object
9. Introduces a new class. Marked by curly brackets { }
Variable
Partial Method Modifier
Class Statement
Base Class
10. Code which implements GUI (graphical User Interface).
ulong - Size
Static Class
Derived Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
11. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Parameter aka Argument
Just-in-time (JIT
ushort - Size
12. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Operator
Just-in-time (JIT
Assembly
Syntax
13. Text as Unicode characters
String (or string)
Int64 - Size
decimal - .NET alias
Inheritance
14. Symbols which transform and combine expressions
Operator
Int32 - Size
Incrementing / Decrementing Variables
double - .NET alias
15. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Polymorphism
using
16. Mathematical (+ or - or / or %)
Base Class
Public Keyword
Class Statement
Operator
17. 32 bit single precision floating point data
ulong - .NET alias
Float (or float) - Size
Int64 - Size
r
18. System.Int16
Program
Protected Access Modifier
short - .NET alias
Properties
19. 32 bit integer data
char - .NET alias
Data structures
double - .NET alias
Int32 - Size
20. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Dot Notation
sbyte - .NET alias
Parameter aka Argument
21. Microsoft's generic software framework for application development.
Object
Assignment Operator
NET
Encapsulation
22. A Class that inherits characteristics from another Class.
Derived Class
Window.xaml.cs
Equality Operator
csc.exe
23. count = count+1 or count++ or count__. Both count variables are Unary Operators
r
Common Language Runtime (CLR)
Comments
Incrementing / Decrementing Variables
24. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Conditional Operator
Class
Protected Access Modifier
25. 32 bit - unsigned integer data
NET
Static Class
uint - Size
Namespace
26. 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.
r
Program
Partial Method Modifier
Framework Class Library (FCL)
27. System.Byte
Operator
Variable
byte - .NET alias
Protected Access Modifier
28. 128 bit fixed precision (financial)
byte - .NET alias
Int64 - Size
JITer
Decimal (or decimal) - Size
29. Sits behind GUI (Graphical User Interface) and provides event listeners
bool - Size
Window.xaml.cs
Inheritance
returnType methodName (parameterList)
30. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Internal Access Modifier
Public Keyword
short - Size
Namespace
31. Contains the class definitions that allow access to the functionality provided by .NET.
Abstraction
Base Class
Framework Class Library (FCL)
String (or string)
32. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Variable
using
Array
33. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Encapsulation
ulong - .NET alias
Properties
csc.exe
34. 64 bit integer data
ushort - .NET alias
long - .NET alias
long - Size
Boolean Operator
35. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Dot Notation
Relational Operator
Identifiers
Abstract Class Modifier
36. 64 bit - unsigned integer data
ulong - Size
Base Class
References (Visual Studio Solution
Boolean - Size
37. true or false
Array
Abstract Class Modifier
bool - Size
Namespace
38. 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)
r
Variable
Boolean Operator
FCL
39. System.Single
char - .NET alias
float - .NET alias
Encapsulation
bool - Size
40. System.UInt32
uint - .NET alias
Field
Method
Virtual Method Modifier
41. Indicates that the Method can be overridden.
Object
Virtual Method Modifier
Method
Static Member
42. The lowest level or fundamental data types needed for representing data.
Internal Access Modifier
Primitive Type
byte - Size
Protected Internal Access Modifier
43. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Assembly
Console Application
Equality Operator
uint - .NET alias
44. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Abstract Class Modifier
Strong Typing
While Statement
Statement
45. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Label
Inheritance
Expression
ulong - Size
46. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Common Language Runtime (CLR)
Textbox
Comments
Conditional Operator
47. Command which runs repeatedly while (some) condition is true.
Value Type
ulong - .NET alias
While Statement
JITer
48. 8 bit - unsigned byte (0 - 255)
byte - Size
Variable
Partial Class Modifier
ushort - .NET alias
49. Variables defined by a class
Expression
Heap
Field
ulong - .NET alias
50. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Program
Class Statement
Properties
long - Size