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. System.Char
Variable
Boolean Operator
char - .NET alias
Variable
2. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Encapsulation
JITer
Constant
Sealed Class
3. 8 bit - unsigned byte (0 - 255)
char - .NET alias
Incrementing / Decrementing Variables
byte - Size
short - Size
4. The process of hiding and restricting access to the implementation details of a data structure.
Identifiers
long - Size
Label
Encapsulation
5. The "Type" name of data that is stored on the Heap
IDE
Reference Type
char - .NET alias
byte - .NET alias
6. 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
Assembly
Namespace
Field
Heap
7. A Class that can only have Static Members
Static Class
Relational Operator
Inheritance
Keyword
8. System.Single
float - .NET alias
Abstract Method Modifier
Private Access Modifier
long - .NET alias
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'.
Textbox
Conditional Operator
Abstraction
Variable
10. Syntax of a C# Method
Overloaded Method
returnType methodName (parameterList)
Value Type
Field
11. Command which runs repeatedly while (some) condition is true.
JIT
double - .NET alias
Identifiers
While Statement
12. Integrated Development Environment
Stack
Expression
Static Class
IDE
13. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Operator
C#
Equality Operator
14. The lowest level or fundamental data types needed for representing data.
References (Visual Studio Solution
Primitive Type
Array
Primitive
15. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
short - .NET alias
Namespace
Int64 - Size
Reference Type
16. Command Language Runtime
Partial Method Modifier
Primitive Type
Parameter aka Argument
CLR
17. 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)
Boolean Operator
Abstract Method Modifier
r
Data structures
18. Access is limited to the current Assembly
Overloaded Method
JITer
Window.xaml.cs
Internal 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
Program
Array
Decimal (or decimal) - Size
Expression
20. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Internal Access Modifier
IDE
Class aka Type
21. 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.
Encapsulation
Static Class
bool - Size
Variable
22. Access is limited to the current Assembly and Derived Types
Primitive
Protected Internal Access Modifier
Incrementing / Decrementing Variables
Intermediate Language (IL)
23. Microsoft's generic software framework for application development.
Heap
Textbox
NET
char - Size
24. System.Int32
int - .NET alias
decimal - .NET alias
IDE
C#
25. 32 bit single precision floating point data
Heap
Float (or float) - Size
long - Size
CLR
26. System.Decimal
uint - .NET alias
Partial Class Modifier
decimal - .NET alias
Int64 - Size
27. Only requires one operand usually a count+1 or a count++ or a count--
Overloaded Method
Program
Unary Operator
decimal - .NET alias
28. 8 bit - signed byte (-128 - 127)
Variable (C# requirements)
Double (or double) - Size
Base Class
sbyte - Size
29. Just-in-time compilation
JIT
Assembly
Int32 - Size
Abstraction
30. 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.
Class Statement
Partial Method Modifier
W.P.F
Expression
31. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
Conditional Operator
int - .NET alias
Stack
32. count = count+1 or count++ or count__. Both count variables are Unary Operators
CLR
Incrementing / Decrementing Variables
Virtual Method Modifier
Program
33. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Dot Notation
C#
Assembly
char - .NET alias
34. Restricts access to a Member to the current Class.
Virtual Method Modifier
Private Access Modifier
Partial Method Modifier
CLR
35. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
ulong - Size
Protected Access Modifier
char - Size
Properties
36. A Class that cannot be instantiated.
Precedence
decimal - .NET alias
Inheritance
Static Class
37. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Virtual Method Modifier
Statement
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Incrementing / Decrementing Variables
38. Framework Class Library
DateTime
FCL
Console Application
CLR
39. 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.
Abstract Method Modifier
Partial Method Modifier
DateTime
Double (or double) - Size
40. Text as Unicode characters
String (or string)
Partial Class Modifier
Method
byte - Size
41. (== or !=)
Common Language Runtime (CLR)
Unary Operator
Method
Equality Operator
42. Most common kind of reference type. They define objects. They must have at least one method and one field.
Method
Static Class
Class aka Type
Protected Access Modifier
43. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Abstraction
Visual Studio Solution
Constant
44. A Class that cannot be Inherited
Constant
uint - Size
Comments
Sealed Class
45. (< or > or <= or >=)
decimal - .NET alias
String (or string)
Relational Operator
Expression
46. System.Int64
byte - Size
long - .NET alias
csc.exe
Partial Class Modifier
47. (= or += or -= or = or /=)
Variable (C# requirements)
Encapsulation
Assignment Operator
Static Member
48. Sits behind GUI (Graphical User Interface) and provides event listeners
Assignment Operator
Double (or double) - Size
ulong - Size
Window.xaml.cs
49. Variables defined by a class
Value Type
Static Class
Parameter aka Argument
Field
50. Symbols which transform and combine expressions
Operator
Public Keyword
Derived Class
Visual Studio Solution