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. Compilation of classes. In C# Usually ends in .dll or .exe
Variable
Program
Console Application
Assembly
2. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
ulong - Size
JITer
Static Class
short - .NET alias
3. 16 bit - unsigned integer data (0 to 65535)
CLR
ushort - Size
Base Class
Stack
4. System.UInt64
byte - .NET alias
ulong - .NET alias
Abstract Method Modifier
Reference Type
5. Text as Unicode characters
int - .NET alias
String (or string)
Assembly
Equality Operator
6. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Boolean - Size
Method
uint - Size
7. Restricts access to a Member to the current Class and any Derived Class.
Textbox
Protected Access Modifier
C#
int - Size
8. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
int - .NET alias
Constructor
using
Properties
9. Microsoft's generic software framework for application development.
NET
long - .NET alias
Stack
Label
10. 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.
Sealed Class
C#
Operator
Abstract Method Modifier
11. System.Double
Inheritance
double - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Strong Typing
12. The member type of a Class that performs an action.
Unary Operator
Method
Encapsulation
ushort - Size
13. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Framework Class Library (FCL)
using
Dot Notation
14. System.Decimal
ushort - Size
Constant
decimal - .NET alias
Intermediate Language (IL)
15. (< or > or <= or >=)
Common Language Runtime (CLR)
Relational Operator
char - Size
Conditional Operator
16. A Class that cannot be Inherited
double - .NET alias
Class
Sealed Class
Operator
17. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Data structures
Constant
Keyword
Precedence
18. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Namespace
Protected Internal Access Modifier
Operator
19. 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.
Internal Access Modifier
Encapsulation
Variable (C# requirements)
Data structures
20. System.Byte
byte - .NET alias
Conditional Operator
Just-in-time (JIT
Heap
21. System.Int64
long - .NET alias
csc.exe
Just-in-time (JIT
Equality Operator
22. System.Char
Inheritance
char - Size
Encapsulation
char - .NET alias
23. 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
Keyword
Private Access Modifier
Statement
24. System.Single
float - .NET alias
ushort - .NET alias
If Statement
Boolean - Size
25. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Parameter aka Argument
Conditional Operator
Method
26. 32 bit integer data
r
Namespace
Int32 - Size
Virtual Method Modifier
27. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Class Statement
Dot Notation
Base Class
28. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Method
Statement
Primitive
29. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Window.xaml.cs
Inheritance
csc.exe
30. Indicates that the Method can be overridden.
short - .NET alias
Virtual Method Modifier
sbyte - Size
Field
31. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Namespace
Conditional Operator
Sealed Class
Array
32. Allows the definition of a Class to span multiple files (within the same Project)
uint - Size
Partial Class Modifier
Boolean - Size
Inheritance
33. 64 bit integer data
Precedence
Assembly
long - .NET alias
Int64 - Size
34. Syntax of a C# Method
Overloaded Method
Expression
Object
returnType methodName (parameterList)
35. Restricts access to a Member to the current Class.
DateTime
sbyte - .NET alias
FCL
Private Access Modifier
36. Represents date and time data with a 100 ns resolution
Value Type
DateTime
Inheritance
String (or string)
37. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Heap
r
double - .NET alias
38. Groups classes together so that they have a unique identifier
Object
Strong Typing
Partial Method Modifier
Namespace
39. System.UInt32
Primitive Type
bool - Size
Private Access Modifier
uint - .NET alias
40. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Class
Field
ulong - .NET alias
41. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Expression
Reference Type
Inheritance
Strong Typing
42. Command Language Runtime
Abstract Method Modifier
returnType methodName (parameterList)
Dot Notation
CLR
43. The .NET run-time environment that enables code to be compiled and executed.
Namespace
Common Language Runtime (CLR)
Namespace
char - Size
44. 64 bit - unsigned integer data
Encapsulation
Program
ulong - Size
Decimal (or decimal) - Size
45. 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
Sealed Class
Constant
short - Size
Dot Notation
46. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable (C# requirements)
Variable
Value Type
Int32 - Size
47. Something that has a different number of parameters to it's predecessor
Polymorphism
returnType methodName (parameterList)
Method
Overloaded Method
48. Code which signifies a carriage return. Symbolises a new line in a text box.
Constant
byte - .NET alias
Inheritance
r
49. Framework Class Library
ulong - .NET alias
Sealed Class
FCL
uint - .NET alias
50. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
C#
Operator
Inheritance