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. Container for one or more Visual Studio Projects.
Visual Studio Solution
using
Class aka Type
JIT
2. Code which signifies a carriage return. Symbolises a new line in a text box.
Object
Dot Notation
Label
r
3. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Expression
Console Application
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Dot Notation
4. When a sub class passes down all the behaviours of the original parent class
Inheritance
int - Size
Field
sbyte - .NET alias
5. Access is limited to the current Assembly and Derived Types
Statement
Data structures
Protected Internal Access Modifier
Textbox
6. Command Language Runtime
CLR
FCL
Data structures
Partial Method Modifier
7. (&& or || or & or |)
Conditional Operator
Label
byte - .NET alias
Intermediate Language (IL)
8. System.Int32
Int32 - Size
References (Visual Studio Solution
Equality Operator
int - .NET alias
9. System.SByte
C#
Partial Class Modifier
sbyte - .NET alias
Relational Operator
10. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
byte - Size
Syntax
Abstract Class Modifier
11. Syntax of a C# Method
Static Member
Comments
returnType methodName (parameterList)
Double (or double) - Size
12. 8 bit - unsigned byte (0 - 255)
IDE
Derived Class
byte - Size
Assignment Operator
13. Keyword which exposes members to other classes OR Identifier which makes program elements public
r
Public Keyword
Namespace
Private Access Modifier
14. Used to display text that end user does not need to edit.
Identifiers
Assignment Operator
Polymorphism
Label
15. 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'.
Operator
Method
Class Statement
Textbox
16. 128 bit fixed precision (financial)
Static Member
Visual Studio Solution
Precedence
Decimal (or decimal) - Size
17. Groups classes together so that they have a unique identifier
Keyword
Namespace
JIT
csc.exe
18. (< or > or <= or >=)
If Statement
Window.xaml.cs
While Statement
Relational Operator
19. The "Type" name of data that is stored on the Stack
Abstraction
Method
byte - Size
Value Type
20. 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
Double (or double) - Size
Value Type
Parameter aka Argument
21. A Class from which other classes can inherit characteristics.
CLR
Unary Operator
Base Class
Encapsulation
22. 32 bit - unsigned integer data
uint - Size
uint - .NET alias
Value Type
Intermediate Language (IL)
23. A Class that cannot be instantiated.
Heap
JITer
Operator
Static Class
24. The process of compiling IL source into CPU-native code for execution.
Class Statement
Variable
ulong - Size
Just-in-time (JIT
25. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Relational Operator
Value Type
Intermediate Language (IL)
Inheritance
26. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
double - .NET alias
IDE
Value Type
Namespace
27. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Virtual Method Modifier
Strong Typing
Keyword
28. 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
Static Class
FCL
Heap
Static Class
29. Windows Presentation Foundation
Int64 - Size
bool - Size
FCL
W.P.F
30. Must have a data type
Variable (C# requirements)
Intermediate Language (IL)
Decimal (or decimal) - Size
Expression
31. true or false
Conditional Operator
Object
bool - Size
double - .NET alias
32. 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)
ushort - .NET alias
Boolean Operator
Method
char - .NET alias
33. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Namespace
JITer
Protected Internal Access Modifier
Variable (C# requirements)
34. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
sbyte - .NET alias
Object
Expression
35. 64 bit integer data
Console Application
Virtual Method Modifier
Int64 - Size
Parameter aka Argument
36. (== or !=)
Common Language Runtime (CLR)
Namespace
Equality Operator
Method
37. System.Double
double - .NET alias
Framework Class Library (FCL)
Method
ulong - Size
38. Series of instructions which tell a computer what to do.
Value Type
Program
Parameter aka Argument
W.P.F
39. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Public Keyword
String (or string)
Variable
Inheritance
40. System.UInt32
Variable (C# requirements)
Int32 - Size
decimal - .NET alias
uint - .NET alias
41. Code which implements GUI (graphical User Interface).
using
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Parameter aka Argument
bool - Size
42. System.Int64
long - .NET alias
float - .NET alias
byte - .NET alias
Constant
43. The process of hiding and restricting access to the implementation details of a data structure.
Decimal (or decimal) - Size
Encapsulation
Conditional Operator
returnType methodName (parameterList)
44. 32 bit integer data
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Int32 - Size
Private Access Modifier
CLR
45. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Stack
Object
Expression
46. 32 bit integer data
Namespace
Conditional Operator
Polymorphism
int - Size
47. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Virtual Method Modifier
Field
Namespace
48. System.Byte
Inheritance
byte - .NET alias
Precedence
Strong Typing
49. System.Single
Data structures
Variable (C# requirements)
References (Visual Studio Solution
float - .NET alias
50. System.Char
Sealed Class
Private Access Modifier
Label
char - .NET alias