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. 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.
Encapsulation
ushort - Size
Partial Method Modifier
Variable
2. 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
Strong Typing
Variable
Public Keyword
3. Extra information within a method
Parameter aka Argument
byte - .NET alias
Inheritance
Class
4. Sits behind GUI (Graphical User Interface) and provides event listeners
Partial Class Modifier
Window.xaml.cs
Primitive
Constructor
5. System.SByte
Common Language Runtime (CLR)
sbyte - .NET alias
If Statement
Operator
6. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Window.xaml.cs
Base Class
W.P.F
7. Something that has a different number of parameters to it's predecessor
Overloaded Method
Method
CLR
Window.xaml.cs
8. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Statement
Stack
Static Class
Abstract Class Modifier
9. Restricts access to a Member to the current Class.
Base Class
Label
int - .NET alias
Private Access Modifier
10. Series of instructions which tell a computer what to do.
Object
Stack
Program
Common Language Runtime (CLR)
11. Represents the encapsulation of data and behaviors into a single unit.
Primitive
Class
FCL
Abstract Method Modifier
12. Syntax of a C# Method
returnType methodName (parameterList)
char - Size
Window.xaml.cs
String (or string)
13. The process of hiding and restricting access to the implementation details of a data structure.
Namespace
Boolean Operator
Equality Operator
Encapsulation
14. Only requires one operand usually a count+1 or a count++ or a count--
Float (or float) - Size
Boolean Operator
Protected Internal Access Modifier
Unary Operator
15. System.Char
Statement
byte - Size
Boolean Operator
char - .NET alias
16. Microsoft's generic software framework for application development.
Overloaded Method
JITer
NET
FCL
17. Used to display text that end user does not need to edit.
Field
Label
Conditional Operator
Internal Access Modifier
18. 32 bit - unsigned integer data
uint - Size
Static Class
char - Size
Protected Internal Access Modifier
19. 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
Heap
Window.xaml.cs
Incrementing / Decrementing Variables
Static Member
20. Compilation of classes. In C# Usually ends in .dll or .exe
byte - Size
Operator
Assembly
Class Statement
21. Just-in-time compilation
Common Language Runtime (CLR)
JIT
While Statement
Static Class
22. A Class that inherits characteristics from another Class.
Unary Operator
sbyte - .NET alias
Derived Class
Reference Type
23. 8 bit - unsigned byte (0 - 255)
double - .NET alias
Primitive Type
Namespace
byte - Size
24. 64 bit - unsigned integer data
using
Label
Namespace
ulong - Size
25. Code which signifies a carriage return. Symbolises a new line in a text box.
Static Class
uint - Size
C#
r
26. A method that is called whenever an Object is created. The method uses the same name as the Class.
long - Size
Constructor
CLR
Polymorphism
27. A Class that can only have Static Members
Strong Typing
NET
Precedence
Static Class
28. System.UInt32
double - .NET alias
Sealed Class
CLR
uint - .NET alias
29. The "Type" name of data that is stored on the Heap
Keyword
Reference Type
decimal - .NET alias
Equality Operator
30. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Decimal (or decimal) - Size
Polymorphism
Abstraction
Inheritance
31. The .NET run-time environment that enables code to be compiled and executed.
Abstract Method Modifier
short - Size
Common Language Runtime (CLR)
Inheritance
32. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Decimal (or decimal) - Size
Variable
csc.exe
long - Size
33. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Object
long - Size
While Statement
34. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Syntax
Variable
Statement
Float (or float) - Size
35. 16 bit - unsigned integer data (0 to 65535)
Sealed Class
sbyte - .NET alias
DateTime
ushort - Size
36. Groups classes together so that they have a unique identifier
Decimal (or decimal) - Size
Expression
Namespace
float - .NET alias
37. Must have a data type
Boolean - Size
int - Size
Assembly
Variable (C# requirements)
38. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
DateTime
Overloaded Method
char - Size
39. 64 bit double precision floating point data
Precedence
Double (or double) - Size
Assignment Operator
Common Language Runtime (CLR)
40. true or false
Inheritance
Dot Notation
Statement
bool - Size
41. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Precedence
Strong Typing
Array
Visual Studio Solution
42. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Public Keyword
Intermediate Language (IL)
Derived Class
Abstraction
43. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Syntax
C#
Protected Internal Access Modifier
short - Size
44. Text as Unicode characters
Static Member
Common Language Runtime (CLR)
Class
String (or string)
45. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Assembly
Abstract Class Modifier
Array
Assignment Operator
46. 16 bit - signed integer data (-32768 to 32767)
Parameter aka Argument
Array
Derived Class
short - Size
47. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Double (or double) - Size
Method
Sealed Class
Primitive
48. Command which runs repeatedly while (some) condition is true.
Abstract Method Modifier
Equality Operator
Expression
While Statement
49. System.Decimal
Equality Operator
decimal - .NET alias
returnType methodName (parameterList)
W.P.F
50. The "Type" name of data that is stored on the Stack
Abstract Class Modifier
Expression
ushort - Size
Value Type