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. (= or += or -= or = or /=)
Expression
Program
Textbox
Assignment Operator
2. Most common kind of reference type. They define objects. They must have at least one method and one field.
Incrementing / Decrementing Variables
Decimal (or decimal) - Size
Class aka Type
Namespace
3. Code which signifies a carriage return. Symbolises a new line in a text box.
r
Incrementing / Decrementing Variables
Base Class
Expression
4. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Double (or double) - Size
Comments
short - .NET alias
5. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Abstraction
Strong Typing
Encapsulation
ulong - .NET alias
6. System.SByte
References (Visual Studio Solution
Inheritance
Program
sbyte - .NET alias
7. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Protected Internal Access Modifier
char - Size
ushort - .NET alias
Abstract Class Modifier
8. The "Type" name of data that is stored on the Heap
Reference Type
Inheritance
decimal - .NET alias
ulong - .NET alias
9. System.UInt64
Operator
Parameter aka Argument
Operator
ulong - .NET alias
10. Text as Unicode characters
using
Overloaded Method
String (or string)
Variable
11. A Class that cannot be Inherited
Protected Access Modifier
Constructor
Intermediate Language (IL)
Sealed Class
12. System.UInt16
Method
uint - .NET alias
Syntax
ushort - .NET alias
13. (< or > or <= or >=)
Identifiers
int - .NET alias
Relational Operator
DateTime
14. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Abstract Method Modifier
Heap
Syntax
15. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Console Application
C#
byte - .NET alias
Framework Class Library (FCL)
16. An instance of a class that exists at run-time and is typically referenced via a variable name.
Boolean Operator
Partial Method Modifier
Object
byte - .NET alias
17. Represents date and time data with a 100 ns resolution
DateTime
Boolean Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Class
18. Command Language Runtime
Static Member
Stack
CLR
Private Access Modifier
19. 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.
Operator
Variable
Inheritance
int - Size
20. Something that has a different number of parameters to it's predecessor
Overloaded Method
Polymorphism
Encapsulation
Static Class
21. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Expression
Protected Internal Access Modifier
If Statement
Stack
22. Series of instructions which tell a computer what to do.
Parameter aka Argument
FCL
uint - Size
Program
23. Restricts access to a Member to the current Class.
Private Access Modifier
Protected Access Modifier
Method
Abstract Class Modifier
24. 32 bit single precision floating point data
Float (or float) - Size
Namespace
Expression
Intermediate Language (IL)
25. Framework Class Library
Field
String (or string)
Array
FCL
26. 32 bit integer data
Dot Notation
Expression
int - Size
Abstract Class Modifier
27. 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.
Method
Partial Method Modifier
DateTime
Class Statement
28. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
Polymorphism
Inheritance
Textbox
29. (== or !=)
Equality Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Program
Inheritance
30. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
IDE
Static Member
Primitive
31. The process of hiding and restricting access to the implementation details of a data structure.
double - .NET alias
Encapsulation
short - Size
Constructor
32. Keyword which exposes members to other classes OR Identifier which makes program elements public
Base Class
short - Size
Public Keyword
ulong - .NET alias
33. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Parameter aka Argument
Console Application
Variable
Assembly
34. 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
Constructor
Program
Keyword
35. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
int - Size
Identifiers
Protected Access Modifier
Statement
36. Syntax of a C# Method
Label
returnType methodName (parameterList)
float - .NET alias
Expression
37. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
IDE
Strong Typing
uint - .NET alias
38. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Variable
Assignment Operator
Unary Operator
39. When a sub class passes down all the behaviours of the original parent class
Variable
Inheritance
JITer
using
40. A Class that inherits characteristics from another Class.
Namespace
Abstraction
Derived Class
Data structures
41. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
W.P.F
Boolean Operator
FCL
42. System.Decimal
Dot Notation
decimal - .NET alias
Relational Operator
short - .NET alias
43. A symbol that specifies an operation to be performed on one or more variables.
C#
Operator
Derived Class
Partial Class Modifier
44. Microsoft's generic software framework for application development.
Method
NET
Double (or double) - Size
csc.exe
45. Represents the encapsulation of data and behaviors into a single unit.
FCL
Value Type
Class
ulong - Size
46. Symbols which transform and combine expressions
Array
JIT
Operator
Constructor
47. 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)
Reference Type
Expression
Comments
48. Command which runs repeatedly while (some) condition is true.
While Statement
Internal Access Modifier
Encapsulation
using
49. 16 bit - unsigned integer data (0 to 65535)
Value Type
char - .NET alias
ushort - Size
References (Visual Studio Solution
50. Introduces a new class. Marked by curly brackets { }
Class Statement
Int64 - Size
Assembly
Window.xaml.cs