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. Sits behind GUI (Graphical User Interface) and provides event listeners
Inheritance
Window.xaml.cs
Int64 - Size
long - .NET alias
2. A Class that cannot be instantiated.
Array
Operator
Static Class
ushort - Size
3. 64 bit integer data
Static Class
Public Keyword
Int64 - Size
Protected Internal Access Modifier
4. 32 bit integer data
Conditional Operator
Assembly
Float (or float) - Size
int - Size
5. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Namespace
Namespace
Partial Class Modifier
6. Framework Class Library
Data structures
While Statement
FCL
Incrementing / Decrementing Variables
7. (< or > or <= or >=)
IDE
ushort - Size
Relational Operator
Polymorphism
8. 64 bit integer data
long - Size
Visual Studio Solution
short - Size
Heap
9. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
short - .NET alias
using
If Statement
10. A Class that cannot be Inherited
Static Class
Namespace
Sealed Class
Abstraction
11. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
ulong - .NET alias
float - .NET alias
uint - Size
12. Only requires one operand usually a count+1 or a count++ or a count--
Dot Notation
Incrementing / Decrementing Variables
References (Visual Studio Solution
Unary Operator
13. The .NET run-time environment that enables code to be compiled and executed.
uint - Size
Conditional Operator
Operator
Common Language Runtime (CLR)
14. A Class from which other classes can inherit characteristics.
Base Class
Primitive
Operator
Reference Type
15. The member type of a Class that performs an action.
Sealed Class
If Statement
Method
Double (or double) - Size
16. Integrated Development Environment
decimal - .NET alias
Variable
Label
IDE
17. Indicates that the Method can be overridden.
DateTime
Virtual Method Modifier
Syntax
Heap
18. The "Type" name of data that is stored on the Heap
Reference Type
Derived Class
Visual Studio Solution
sbyte - .NET alias
19. System.UInt64
Float (or float) - Size
Textbox
Variable
ulong - .NET alias
20. Compilation of classes. In C# Usually ends in .dll or .exe
double - .NET alias
Intermediate Language (IL)
Object
Assembly
21. 8 bit - unsigned byte (0 - 255)
If Statement
Inheritance
byte - Size
Protected Access Modifier
22. Something that has a different number of parameters to it's predecessor
Data structures
Overloaded Method
Polymorphism
Heap
23. 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.
using
Assembly
Variable
Abstract Method Modifier
24. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Variable
Reference Type
Expression
Method
25. 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.
W.P.F
Class aka Type
int - .NET alias
Partial Method Modifier
26. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Assembly
using
If Statement
r
27. Introduces a new class. Marked by curly brackets { }
FCL
Constant
ushort - .NET alias
Class Statement
28. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
float - .NET alias
Intermediate Language (IL)
Incrementing / Decrementing Variables
Boolean - Size
29. The process of hiding and restricting access to the implementation details of a data structure.
If Statement
int - Size
Internal Access Modifier
Encapsulation
30. Restricts access to a Member to the current Class.
using
Relational Operator
sbyte - .NET alias
Private Access Modifier
31. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
If Statement
double - .NET alias
Equality Operator
32. Code which signifies a carriage return. Symbolises a new line in a text box.
r
JITer
Constant
Namespace
33. Field whose value can never change. Declared with 'const' keyword
ulong - .NET alias
ushort - Size
Constant
Inheritance
34. System.UInt16
double - .NET alias
ushort - .NET alias
FCL
Array
35. 16 bit - signed integer data (-32768 to 32767)
short - Size
Object
Precedence
Abstraction
36. The process of compiling IL source into CPU-native code for execution.
Reference Type
Just-in-time (JIT
returnType methodName (parameterList)
Abstraction
37. Used to display text that end user does not need to edit.
Stack
long - .NET alias
uint - .NET alias
Label
38. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Strong Typing
r
Inheritance
39. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does
Object
Stack
Abstract Class Modifier
byte - Size
40. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Encapsulation
CLR
Framework Class Library (FCL)
Polymorphism
41. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Boolean Operator
Strong Typing
FCL
Assembly
42. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Static Class
CLR
Variable
Abstract Class Modifier
43. 32 bit single precision floating point data
Float (or float) - Size
Class Statement
Value Type
Array
44. (= or += or -= or = or /=)
ushort - Size
JIT
Inheritance
Assignment Operator
45. Text as Unicode characters
using
Class Statement
String (or string)
int - .NET alias
46. Series of instructions which tell a computer what to do.
Variable
Program
int - Size
Boolean Operator
47. Access is limited to the current Assembly
int - Size
Internal Access Modifier
CLR
NET
48. Symbols which transform and combine expressions
Operator
ulong - .NET alias
double - .NET alias
Constant
49. 16 bit - unsigned integer data (0 to 65535)
Just-in-time (JIT
returnType methodName (parameterList)
Abstract Method Modifier
ushort - Size
50. System.Double
double - .NET alias
Abstract Class Modifier
Strong Typing
Inheritance