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
char - .NET alias
Namespace
ulong - Size
Class
2. (= or += or -= or = or /=)
Assignment Operator
Protected Access Modifier
Inheritance
uint - .NET alias
3. Text as Unicode characters
short - Size
String (or string)
double - .NET alias
Base Class
4. Compilation of classes. In C# Usually ends in .dll or .exe
Variable
Array
Assembly
Int32 - Size
5. Command which runs repeatedly while (some) condition is true.
While Statement
Keyword
Assembly
CLR
6. When a sub class passes down all the behaviours of the original parent class
DateTime
int - .NET alias
String (or string)
Inheritance
7. 64 bit - unsigned integer data
sbyte - Size
Abstraction
Partial Class Modifier
ulong - Size
8. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Class aka Type
Constant
Inheritance
9. 32 bit integer data
int - Size
Encapsulation
Parameter aka Argument
char - .NET alias
10. Indicates that the Method can be overridden.
ushort - .NET alias
Virtual Method Modifier
Visual Studio Solution
Window.xaml.cs
11. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Textbox
Properties
Class
12. A Class that can only have Static Members
Statement
Static Class
Reference Type
uint - .NET alias
13. Introduces a new class. Marked by curly brackets { }
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Class Statement
char - .NET alias
Label
14. Windows Presentation Foundation
Variable
W.P.F
uint - Size
Polymorphism
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.).
Namespace
Heap
Value Type
char - Size
16. Framework Class Library
FCL
Program
Variable (C# requirements)
uint - Size
17. A Class that cannot be instantiated.
Encapsulation
Variable (C# requirements)
Class
Static Class
18. A Class that inherits characteristics from another Class.
Parameter aka Argument
Derived Class
Boolean - Size
Operator
19. System.Decimal
decimal - .NET alias
Precedence
Abstract Class Modifier
FCL
20. 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
Stack
Conditional Operator
Precedence
21. System.Single
C#
Heap
float - .NET alias
bool - Size
22. A Class that cannot be Inherited
Sealed Class
uint - Size
Dot Notation
Object
23. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Statement
Strong Typing
Data structures
DateTime
24. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
byte - Size
Sealed Class
Incrementing / Decrementing Variables
25. 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
Abstract Class Modifier
Static Class
bool - Size
26. 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
Double (or double) - Size
Object
Abstract Method Modifier
Inheritance
27. System.Int32
Class Statement
int - .NET alias
Unary Operator
Operator
28. 128 bit fixed precision (financial)
uint - .NET alias
Window.xaml.cs
float - .NET alias
Decimal (or decimal) - Size
29. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
Array
C#
Class Statement
30. Command Language Runtime
CLR
Namespace
While Statement
Encapsulation
31. Symbols which transform and combine expressions
Assembly
ulong - Size
Constructor
Operator
32. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Class Statement
Class aka Type
ulong - .NET alias
Variable
33. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
FCL
Comments
byte - .NET alias
34. (< or > or <= or >=)
C#
IDE
Relational Operator
W.P.F
35. 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.
Console Application
Partial Method Modifier
Properties
r
36. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Abstract Class Modifier
Object
Intermediate Language (IL)
Assembly
37. System.Byte
Console Application
byte - .NET alias
Public Keyword
Inheritance
38. The "Type" name of data that is stored on the Heap
Conditional Operator
Public Keyword
Textbox
Reference Type
39. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Reference Type
Int32 - Size
Derived Class
Abstract Class Modifier
40. 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
Variable (C# requirements)
Object
Textbox
41. 64 bit integer data
r
Boolean - Size
long - Size
Expression
42. The lowest level or fundamental data types needed for representing data.
bool - Size
References (Visual Studio Solution
While Statement
Primitive Type
43. Only requires one operand usually a count+1 or a count++ or a count--
While Statement
ushort - .NET alias
Statement
Unary Operator
44. The process of compiling IL source into CPU-native code for execution.
Decimal (or decimal) - Size
Just-in-time (JIT
int - Size
short - .NET alias
45. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
using
Window.xaml.cs
Int32 - Size
46. The .NET run-time environment that enables code to be compiled and executed.
Namespace
Encapsulation
Common Language Runtime (CLR)
Static Member
47. A method that is called whenever an Object is created. The method uses the same name as the Class.
Static Member
Constructor
Precedence
JITer
48. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
long - Size
Virtual Method Modifier
Keyword
Array
49. true or false
Strong Typing
Parameter aka Argument
Data structures
bool - Size
50. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Comments
Boolean Operator
Program
Inheritance