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. 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
Window.xaml.cs
Label
Visual Studio Solution
2. The lowest level or fundamental data types needed for representing data.
Incrementing / Decrementing Variables
short - .NET alias
Primitive Type
uint - Size
3. 8 bit - unsigned byte (0 - 255)
ulong - Size
byte - Size
Abstract Class Modifier
Float (or float) - Size
4. true or false
sbyte - Size
sbyte - .NET alias
Boolean - Size
Parameter aka Argument
5. Code which implements GUI (graphical User Interface).
Method
Base Class
byte - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
6. 16 bit - signed integer data (-32768 to 32767)
Namespace
Incrementing / Decrementing Variables
short - Size
Method
7. 64 bit - unsigned integer data
ulong - Size
Float (or float) - Size
Abstract Method Modifier
C#
8. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Namespace
byte - Size
Intermediate Language (IL)
Field
9. 16 bit - unsigned integer data (0 to 65535)
char - Size
ushort - Size
Label
JITer
10. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Derived Class
Array
Relational Operator
short - .NET alias
11. Compilation of classes. In C# Usually ends in .dll or .exe
JIT
Assembly
char - Size
uint - .NET alias
12. Groups classes together so that they have a unique identifier
Intermediate Language (IL)
Overloaded Method
FCL
Namespace
13. Something that has a different number of parameters to it's predecessor
ushort - Size
Overloaded Method
Protected Access Modifier
Value Type
14. Names reserved by the compiler that coders are not allowed to use as identifiers.
Precedence
Object
Keyword
Inheritance
15. System.UInt32
Polymorphism
uint - .NET alias
Incrementing / Decrementing Variables
Heap
16. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Variable (C# requirements)
Assembly
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Primitive Type
17. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
r
Method
Static Class
18. 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.
Keyword
Properties
sbyte - Size
Variable
19. 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'.
Properties
Syntax
long - .NET alias
Textbox
20. Must have a data type
Overloaded Method
Variable (C# requirements)
Properties
Unary Operator
21. Field whose value can never change. Declared with 'const' keyword
long - Size
ulong - .NET alias
Constant
int - Size
22. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Statement
Boolean Operator
Precedence
Protected Internal Access Modifier
23. Microsoft's generic software framework for application development.
float - .NET alias
Static Class
NET
Label
24. Access is limited to the current Assembly
Precedence
Static Class
Internal Access Modifier
Statement
25. 16 bit- unsigned word (U+0000 to U+ffff)
int - Size
char - Size
Relational Operator
char - .NET alias
26. true or false
Encapsulation
Namespace
bool - Size
Int64 - Size
27. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does
Object
long - Size
Inheritance
Heap
28. System.Single
String (or string)
Array
float - .NET alias
ushort - Size
29. A Class that cannot be Inherited
Method
ushort - .NET alias
Relational Operator
Sealed Class
30. Restricts access to a Member to the current Class.
Window.xaml.cs
Private Access Modifier
r
Object
31. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Properties
Namespace
char - .NET alias
Stack
32. An instance of a class that exists at run-time and is typically referenced via a variable name.
Inheritance
Object
short - Size
FCL
33. 32 bit integer data
int - Size
Relational Operator
ushort - Size
Variable
34. System.Decimal
decimal - .NET alias
Inheritance
Static Class
byte - .NET alias
35. The process of hiding and restricting access to the implementation details of a data structure.
Variable
Data structures
Sealed Class
Encapsulation
36. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Conditional Operator
Method
Stack
using
37. (== or !=)
Equality Operator
Object
Inheritance
int - Size
38. Introduces a new class. Marked by curly brackets { }
Partial Method Modifier
Dot Notation
Class Statement
Assembly
39. Code which signifies a carriage return. Symbolises a new line in a text box.
Heap
Window.xaml.cs
Protected Access Modifier
r
40. A type of statement that produces a value that might be tested or assigned to a variable.
Private Access Modifier
Abstract Method Modifier
Expression
References (Visual Studio Solution
41. Command Language Runtime
JIT
long - .NET alias
Assignment Operator
CLR
42. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Data structures
Method
While Statement
r
43. (&& or || or & or |)
bool - Size
char - Size
double - .NET alias
Conditional Operator
44. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
DateTime
Object
Operator
C#
45. 128 bit fixed precision (financial)
Method
Framework Class Library (FCL)
Reference Type
Decimal (or decimal) - Size
46. A Class that inherits characteristics from another Class.
Derived Class
Unary Operator
Reference Type
Inheritance
47. Represents date and time data with a 100 ns resolution
Heap
DateTime
Keyword
char - .NET alias
48. Symbols which transform and combine expressions
float - .NET alias
short - Size
char - Size
Operator
49. 32 bit integer data
CLR
Int64 - Size
Int32 - Size
csc.exe
50. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
char - Size
float - .NET alias
Comments
Encapsulation