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. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Framework Class Library (FCL)
Protected Internal Access Modifier
Polymorphism
r
2. Keyword which exposes members to other classes OR Identifier which makes program elements public
If Statement
Public Keyword
Static Class
Abstract Class Modifier
3. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
String (or string)
Primitive
Precedence
4. Container for one or more Visual Studio Projects.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Primitive
Assignment Operator
Visual Studio Solution
5. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
JIT
Common Language Runtime (CLR)
Expression
Method
6. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Visual Studio Solution
If Statement
Polymorphism
short - Size
7. A Class that inherits characteristics from another Class.
Relational Operator
Heap
Static Class
Derived Class
8. Allow access to types that exist in outside assemblies.
double - .NET alias
Class Statement
References (Visual Studio Solution
Statement
9. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Value Type
Protected Internal Access Modifier
Float (or float) - Size
Abstraction
10. Used to display text that end user does not need to edit.
Label
If Statement
double - .NET alias
Static Class
11. Sits behind GUI (Graphical User Interface) and provides event listeners
Relational Operator
FCL
uint - Size
Window.xaml.cs
12. The "Type" name of data that is stored on the Heap
Common Language Runtime (CLR)
Variable (C# requirements)
uint - Size
Reference Type
13. 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
Abstract Method Modifier
Variable (C# requirements)
Decimal (or decimal) - Size
14. 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.
int - Size
uint - .NET alias
Partial Method Modifier
int - .NET alias
15. System.Decimal
Object
decimal - .NET alias
Object
Boolean Operator
16. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Visual Studio Solution
Inheritance
Method
Expression
17. A method that is called whenever an Object is created. The method uses the same name as the Class.
Console Application
Partial Method Modifier
Constructor
C#
18. Syntax of a C# Method
Abstract Method Modifier
returnType methodName (parameterList)
long - Size
Private Access Modifier
19. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Encapsulation
Static Member
Expression
Framework Class Library (FCL)
20. A symbol that specifies an operation to be performed on one or more variables.
Operator
Abstract Class Modifier
Double (or double) - Size
Partial Method Modifier
21. Field whose value can never change. Declared with 'const' keyword
Static Member
References (Visual Studio Solution
Constant
Method
22. 32 bit integer data
Overloaded Method
Float (or float) - Size
While Statement
int - Size
23. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Stack
Abstract Method Modifier
decimal - .NET alias
24. The .NET run-time environment that enables code to be compiled and executed.
Operator
returnType methodName (parameterList)
Visual Studio Solution
Common Language Runtime (CLR)
25. System.UInt32
int - Size
uint - .NET alias
Partial Class Modifier
Internal Access Modifier
26. 32 bit single precision floating point data
Constructor
Float (or float) - Size
Protected Internal Access Modifier
Static Member
27. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
IDE
Class Statement
Strong Typing
Method
28. 64 bit double precision floating point data
Double (or double) - Size
int - .NET alias
Abstraction
Stack
29. A Class that cannot be instantiated.
Static Class
Private Access Modifier
Primitive
Value Type
30. Restricts access to a Member to the current Class.
Dot Notation
Static Class
Array
Private Access Modifier
31. A Class that cannot be Inherited
Private Access Modifier
Sealed Class
Dot Notation
Incrementing / Decrementing Variables
32. System.Int16
Static Member
Syntax
Primitive
short - .NET alias
33. 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.
Reference Type
Identifiers
Assignment Operator
Assembly
34. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Object
Operator
W.P.F
35. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Internal Access Modifier
Polymorphism
Assembly
Properties
36. Represents the encapsulation of data and behaviors into a single unit.
Sealed Class
CLR
bool - Size
Class
37. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
NET
int - .NET alias
While Statement
38. The member type of a Class that performs an action.
Method
int - Size
short - Size
ulong - Size
39. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Boolean Operator
Variable (C# requirements)
Boolean - Size
40. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
Statement
Heap
FCL
41. Names reserved by the compiler that coders are not allowed to use as identifiers.
Static Class
Keyword
Inheritance
Class
42. Integrated Development Environment
Inheritance
References (Visual Studio Solution
IDE
Namespace
43. 64 bit - unsigned integer data
Keyword
Properties
Overloaded Method
ulong - Size
44. Restricts access to a Member to the current Class and any Derived Class.
long - .NET alias
Heap
Protected Access Modifier
Class
45. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
returnType methodName (parameterList)
Primitive
Namespace
byte - Size
46. Text as Unicode characters
NET
Label
String (or string)
float - .NET alias
47. System.Char
char - .NET alias
Operator
uint - .NET alias
Overloaded Method
48. 32 bit integer data
Int32 - Size
Public Keyword
Float (or float) - Size
While Statement
49. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
using
Console Application
Partial Method Modifier
Inheritance
50. Something that has a different number of parameters to it's predecessor
While Statement
Overloaded Method
Window.xaml.cs
ulong - .NET alias