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.
int - Size
Method
using
Primitive
2. 64 bit integer data
Int64 - Size
double - .NET alias
Common Language Runtime (CLR)
Stack
3. System.Int16
Inheritance
Statement
short - .NET alias
NET
4. 32 bit single precision floating point data
Float (or float) - Size
sbyte - .NET alias
Private Access Modifier
If Statement
5. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Boolean - Size
Abstraction
ushort - .NET alias
Partial Method Modifier
6. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
NET
Expression
Strong Typing
sbyte - .NET alias
7. An instance of a class that exists at run-time and is typically referenced via a variable name.
Class Statement
Object
Statement
decimal - .NET alias
8. Extra information within a method
Array
r
Class Statement
Parameter aka Argument
9. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Reference Type
Textbox
Stack
Intermediate Language (IL)
10. Contains the class definitions that allow access to the functionality provided by .NET.
FCL
Framework Class Library (FCL)
Sealed Class
Textbox
11. 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)
Stack
Label
Assembly
12. Code which signifies a carriage return. Symbolises a new line in a text box.
Data structures
r
Properties
JITer
13. Syntax of a C# Method
Overloaded Method
Constant
returnType methodName (parameterList)
Expression
14. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Variable (C# requirements)
Assembly
Int64 - Size
Array
15. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Protected Internal Access Modifier
Polymorphism
using
ulong - Size
16. (&& or || or & or |)
Operator
Conditional Operator
Just-in-time (JIT
Console Application
17. (= or += or -= or = or /=)
Console Application
Assignment Operator
Partial Class Modifier
String (or string)
18. Symbols which transform and combine expressions
Expression
Static Class
ushort - .NET alias
Operator
19. Field whose value can never change. Declared with 'const' keyword
csc.exe
Sealed Class
Operator
Constant
20. Series of instructions which tell a computer what to do.
int - Size
Constant
Program
Partial Class Modifier
21. System.UInt32
uint - .NET alias
Method
Variable
Operator
22. Mathematical (+ or - or / or %)
long - Size
Operator
Framework Class Library (FCL)
Encapsulation
23. Access is limited to the current Assembly
C#
Dot Notation
String (or string)
Internal Access Modifier
24. 64 bit integer data
Primitive
long - Size
Statement
Common Language Runtime (CLR)
25. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Assembly
Primitive Type
using
Precedence
26. Indicates that the Method can be overridden.
Derived Class
Virtual Method Modifier
Strong Typing
ulong - .NET alias
27. 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.
Identifiers
Intermediate Language (IL)
Conditional Operator
byte - Size
28. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Protected Access Modifier
Conditional Operator
int - .NET alias
Primitive
29. Restricts access to a Member to the current Class.
Boolean Operator
Namespace
Private Access Modifier
sbyte - .NET alias
30. A Class from which other classes can inherit characteristics.
Namespace
Base Class
char - Size
Comments
31. 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.
Partial Method Modifier
Object
Conditional Operator
byte - .NET alias
32. 32 bit - unsigned integer data
uint - Size
Value Type
Common Language Runtime (CLR)
Primitive Type
33. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
char - Size
long - .NET alias
Encapsulation
34. System.Single
long - .NET alias
Expression
float - .NET alias
Expression
35. System.Double
double - .NET alias
DateTime
Variable (C# requirements)
char - .NET alias
36. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
Static Class
Base Class
Visual Studio Solution
37. 64 bit - unsigned integer data
ulong - Size
byte - .NET alias
bool - Size
Statement
38. Access is limited to the current Assembly and Derived Types
Array
Expression
r
Protected Internal Access Modifier
39. 16 bit- unsigned word (U+0000 to U+ffff)
C#
char - Size
decimal - .NET alias
csc.exe
40. 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.
Array
ulong - Size
Abstract Method Modifier
Public Keyword
41. Allow access to types that exist in outside assemblies.
FCL
Decimal (or decimal) - Size
References (Visual Studio Solution
Class Statement
42. The "Type" name of data that is stored on the Heap
Just-in-time (JIT
Reference Type
Namespace
Variable
43. A Class that cannot be Inherited
returnType methodName (parameterList)
Label
sbyte - .NET alias
Sealed Class
44. 32 bit integer data
Derived Class
int - Size
Assembly
Object
45. 128 bit fixed precision (financial)
Dot Notation
Object
Decimal (or decimal) - Size
Namespace
46. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Comments
Statement
Primitive
C#
47. System.Byte
Variable (C# requirements)
short - .NET alias
Class Statement
byte - .NET alias
48. true or false
sbyte - .NET alias
double - .NET alias
Reference Type
Boolean - Size
49. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Class
Object
ulong - Size
50. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
String (or string)
Abstract Class Modifier
Console Application
Variable