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. 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
decimal - .NET alias
Primitive
Heap
ulong - Size
2. Series of instructions which tell a computer what to do.
Partial Method Modifier
Program
Object
Operator
3. Indicates that the Method can be overridden.
Inheritance
Overloaded Method
sbyte - .NET alias
Virtual Method Modifier
4. Mathematical (+ or - or / or %)
Window.xaml.cs
Operator
DateTime
Partial Class Modifier
5. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Protected Internal Access Modifier
Class Statement
Int64 - Size
6. 64 bit - unsigned integer data
csc.exe
Visual Studio Solution
ulong - Size
Derived Class
7. System.Byte
Abstract Class Modifier
byte - .NET alias
Operator
uint - .NET alias
8. Introduces a new class. Marked by curly brackets { }
Inheritance
returnType methodName (parameterList)
Namespace
Class Statement
9. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Textbox
Field
Method
Constructor
10. A Class that cannot be Inherited
Dot Notation
Sealed Class
Primitive
Parameter aka Argument
11. Code which signifies a carriage return. Symbolises a new line in a text box.
r
String (or string)
IDE
double - .NET alias
12. When a sub class passes down all the behaviours of the original parent class
Value Type
uint - .NET alias
JIT
Inheritance
13. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
char - Size
Field
If Statement
Abstract Class Modifier
14. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Internal Access Modifier
Inheritance
ulong - .NET alias
While Statement
15. Variables defined by a class
Heap
Assembly
Field
FCL
16. Field whose value can never change. Declared with 'const' keyword
Constant
Static Class
Statement
Expression
17. System.Decimal
DateTime
Constant
bool - Size
decimal - .NET alias
18. (&& or || or & or |)
returnType methodName (parameterList)
Assembly
Conditional Operator
long - .NET alias
19. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Static Member
Inheritance
Keyword
20. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Keyword
sbyte - .NET alias
Strong Typing
Virtual Method Modifier
21. Represents the encapsulation of data and behaviors into a single unit.
float - .NET alias
Class
short - .NET alias
bool - Size
22. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JIT
JITer
Int32 - Size
byte - .NET alias
23. System.Int16
short - .NET alias
Expression
CLR
Encapsulation
24. Just-in-time compilation
Array
JIT
byte - Size
Encapsulation
25. 32 bit integer data
Window.xaml.cs
int - Size
Constant
Assignment Operator
26. (== or !=)
Heap
Protected Access Modifier
char - Size
Equality Operator
27. Restricts access to a Member to the current Class.
Intermediate Language (IL)
ushort - Size
Comments
Private Access Modifier
28. Sits behind GUI (Graphical User Interface) and provides event listeners
bool - Size
Window.xaml.cs
JITer
Variable (C# requirements)
29. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Method
uint - Size
DateTime
C#
30. The member type of a Class that performs an action.
Assignment Operator
Method
Window.xaml.cs
Encapsulation
31. 64 bit double precision floating point data
Variable
Method
Base Class
Double (or double) - Size
32. Something that has a different number of parameters to it's predecessor
Label
Overloaded Method
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Parameter aka Argument
33. Container for one or more Visual Studio Projects.
Boolean Operator
Stack
Visual Studio Solution
Console Application
34. Compilation of classes. In C# Usually ends in .dll or .exe
Variable (C# requirements)
Assembly
Program
short - .NET alias
35. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
using
Syntax
Decimal (or decimal) - Size
Boolean Operator
36. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
IDE
Properties
C#
W.P.F
37. System.Single
Stack
Inheritance
Namespace
float - .NET alias
38. System.UInt32
Data structures
Boolean Operator
uint - .NET alias
Virtual Method Modifier
39. (< or > or <= or >=)
Keyword
Operator
Relational Operator
Object
40. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Overloaded Method
Intermediate Language (IL)
Data structures
41. Text as Unicode characters
short - Size
String (or string)
Dot Notation
Textbox
42. System.Int64
Protected Access Modifier
Int32 - Size
Precedence
long - .NET alias
43. Most common kind of reference type. They define objects. They must have at least one method and one field.
Expression
Internal Access Modifier
NET
Class aka Type
44. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
ushort - Size
Relational Operator
Private Access Modifier
Inheritance
45. The process of compiling IL source into CPU-native code for execution.
bool - Size
Label
Just-in-time (JIT
long - .NET alias
46. The "Type" name of data that is stored on the Stack
double - .NET alias
Virtual Method Modifier
Value Type
Int64 - Size
47. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Label
Statement
Internal Access Modifier
Reference Type
48. Command Language Runtime
byte - Size
CLR
Expression
DateTime
49. Restricts access to a Member to the current Class and any Derived Class.
Just-in-time (JIT
Protected Access Modifier
Dot Notation
Label
50. Symbols which transform and combine expressions
JIT
Properties
Operator
Double (or double) - Size