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. The member type of a Class that performs an action.
Abstract Class Modifier
Method
Incrementing / Decrementing Variables
Namespace
2. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
References (Visual Studio Solution
Inheritance
Label
Stack
3. Microsoft's generic software framework for application development.
Internal Access Modifier
Decimal (or decimal) - Size
NET
W.P.F
4. Groups classes together so that they have a unique identifier
csc.exe
Constant
Method
Namespace
5. When a sub class passes down all the behaviours of the original parent class
sbyte - .NET alias
Polymorphism
Inheritance
Parameter aka Argument
6. (< or > or <= or >=)
Object
Class
Relational Operator
Variable
7. 128 bit fixed precision (financial)
Object
Statement
Statement
Decimal (or decimal) - Size
8. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
double - .NET alias
Abstract Class Modifier
JITer
Textbox
9. Represents date and time data with a 100 ns resolution
Constant
CLR
If Statement
DateTime
10. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.
Int64 - Size
bool - Size
Identifiers
String (or string)
11. The lowest level or fundamental data types needed for representing data.
Conditional Operator
Constant
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Primitive Type
12. A Class that inherits characteristics from another Class.
Derived Class
Comments
Inheritance
Identifiers
13. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Object
DateTime
csc.exe
14. 16 bit - signed integer data (-32768 to 32767)
short - Size
long - Size
Textbox
Operator
15. 16 bit - unsigned integer data (0 to 65535)
Int64 - Size
Int32 - Size
ushort - Size
Derived Class
16. Field whose value can never change. Declared with 'const' keyword
Dot Notation
String (or string)
C#
Constant
17. A Member that cannot be accessed/invoked through an Object Instance.
csc.exe
Heap
Encapsulation
Static Member
18. System.Double
csc.exe
Static Member
double - .NET alias
byte - .NET alias
19. Allows the definition of a Class to span multiple files (within the same Project)
Equality Operator
Partial Class Modifier
IDE
csc.exe
20. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Dot Notation
ushort - .NET alias
Syntax
21. Extra information within a method
char - .NET alias
Float (or float) - Size
Parameter aka Argument
Decimal (or decimal) - Size
22. 32 bit integer data
uint - .NET alias
Value Type
Int32 - Size
Sealed Class
23. Must have a data type
Variable (C# requirements)
JITer
Encapsulation
C#
24. The "Type" name of data that is stored on the Stack
Statement
References (Visual Studio Solution
decimal - .NET alias
Value Type
25. System.UInt16
double - .NET alias
Protected Internal Access Modifier
ushort - .NET alias
Dot Notation
26. 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.
Comments
Encapsulation
Object
Identifiers
27. A Class that can only have Static Members
Strong Typing
Intermediate Language (IL)
Class Statement
Static Class
28. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Unary Operator
Statement
Data structures
Namespace
29. 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
Base Class
csc.exe
Encapsulation
30. A symbol that specifies an operation to be performed on one or more variables.
Base Class
Abstract Method Modifier
long - Size
Operator
31. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Variable
uint - Size
Encapsulation
32. The .NET run-time environment that enables code to be compiled and executed.
r
Intermediate Language (IL)
Reference Type
Common Language Runtime (CLR)
33. The process of compiling IL source into CPU-native code for execution.
float - .NET alias
Namespace
Protected Access Modifier
Just-in-time (JIT
34. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Relational Operator
Public Keyword
Inheritance
Namespace
35. Command Language Runtime
Variable (C# requirements)
Class Statement
CLR
JITer
36. Something that has a different number of parameters to it's predecessor
Expression
NET
Int32 - Size
Overloaded Method
37. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Parameter aka Argument
NET
Static Class
38. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Visual Studio Solution
Encapsulation
int - Size
Method
39. System.SByte
sbyte - .NET alias
Statement
Textbox
If Statement
40. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Object
using
long - .NET alias
Overloaded Method
41. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Abstract Class Modifier
Int32 - Size
Internal Access Modifier
42. System.Byte
short - Size
JIT
Window.xaml.cs
byte - .NET alias
43. 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
Inheritance
using
Operator
44. System.Int64
Textbox
Inheritance
Int32 - Size
long - .NET alias
45. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Inheritance
Boolean - Size
W.P.F
46. Introduces a new class. Marked by curly brackets { }
String (or string)
Heap
byte - Size
Class Statement
47. true or false
Boolean - Size
r
Operator
Keyword
48. Windows Presentation Foundation
Encapsulation
bool - Size
W.P.F
ulong - Size
49. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Class aka Type
int - .NET alias
Private Access Modifier
Strong Typing
50. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Inheritance
Data structures
Array
int - .NET alias