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
Variable (C# requirements)
Statement
char - .NET alias
decimal - .NET alias
2. System.SByte
Heap
sbyte - .NET alias
Double (or double) - Size
Incrementing / Decrementing Variables
3. System.Byte
byte - .NET alias
Label
Data structures
Statement
4. 16 bit - unsigned integer data (0 to 65535)
Abstraction
float - .NET alias
ushort - Size
Statement
5. A type of statement that produces a value that might be tested or assigned to a variable.
Boolean Operator
Properties
Inheritance
Expression
6. 128 bit fixed precision (financial)
Static Class
Decimal (or decimal) - Size
byte - Size
Encapsulation
7. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Private Access Modifier
long - Size
Operator
Properties
8. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Internal Access Modifier
byte - Size
Constant
9. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Inheritance
Abstract Class Modifier
uint - Size
Int32 - Size
10. 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)
Static Member
Expression
Field
11. System.UInt16
Relational Operator
ulong - .NET alias
ushort - .NET alias
Operator
12. The "Type" name of data that is stored on the Stack
Value Type
r
Expression
Double (or double) - Size
13. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Window.xaml.cs
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Console Application
Constant
14. A method that is called whenever an Object is created. The method uses the same name as the Class.
Strong Typing
Constructor
char - Size
Boolean Operator
15. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
int - Size
Protected Internal Access Modifier
Method
Expression
16. 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
Class
Unary Operator
Console Application
17. The "Type" name of data that is stored on the Heap
Common Language Runtime (CLR)
Reference Type
Operator
Class
18. 64 bit integer data
Statement
Int64 - Size
Console Application
Incrementing / Decrementing Variables
19. Allow access to types that exist in outside assemblies.
Abstract Method Modifier
decimal - .NET alias
References (Visual Studio Solution
Variable
20. 64 bit - unsigned integer data
Virtual Method Modifier
ulong - Size
Assembly
While Statement
21. Framework Class Library
ushort - .NET alias
FCL
Parameter aka Argument
Method
22. Access is limited to the current Assembly
Internal Access Modifier
FCL
uint - .NET alias
Incrementing / Decrementing Variables
23. Allows the definition of a Class to span multiple files (within the same Project)
Boolean Operator
double - .NET alias
Inheritance
Partial Class Modifier
24. A Class that cannot be Inherited
using
Sealed Class
r
Object
25. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Internal Access Modifier
Inheritance
Abstract Class Modifier
Int64 - Size
26. The process of compiling IL source into CPU-native code for execution.
Textbox
using
Operator
Just-in-time (JIT
27. 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.
Window.xaml.cs
Identifiers
Boolean Operator
Visual Studio Solution
28. (== or !=)
Public Keyword
References (Visual Studio Solution
Variable
Equality Operator
29. Windows Presentation Foundation
Int32 - Size
Abstraction
Properties
W.P.F
30. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
byte - .NET alias
DateTime
char - Size
31. Contains the class definitions that allow access to the functionality provided by .NET.
Textbox
Framework Class Library (FCL)
FCL
Field
32. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Expression
Boolean Operator
Reference Type
Statement
33. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Constructor
Assembly
Int32 - Size
34. Access is limited to the current Assembly and Derived Types
String (or string)
Class aka Type
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Protected Internal Access Modifier
35. (= or += or -= or = or /=)
NET
Assignment Operator
Operator
sbyte - .NET alias
36. A Class from which other classes can inherit characteristics.
Properties
Base Class
References (Visual Studio Solution
Abstraction
37. System.UInt32
uint - .NET alias
ushort - Size
Object
Method
38. Command which runs repeatedly while (some) condition is true.
While Statement
short - .NET alias
Stack
Overloaded Method
39. Names reserved by the compiler that coders are not allowed to use as identifiers.
Encapsulation
Class aka Type
Namespace
Keyword
40. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Internal Access Modifier
CLR
Namespace
Precedence
41. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Operator
Data structures
Int32 - Size
Assembly
42. Integrated Development Environment
Statement
C#
IDE
double - .NET alias
43. Restricts access to a Member to the current Class and any Derived Class.
byte - Size
Base Class
Protected Access Modifier
IDE
44. 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
Inheritance
Unary Operator
Int64 - Size
45. 32 bit - unsigned integer data
Identifiers
uint - .NET alias
uint - Size
Conditional Operator
46. Field whose value can never change. Declared with 'const' keyword
Constant
char - .NET alias
Partial Method Modifier
Object
47. Container for one or more Visual Studio Projects.
Identifiers
r
byte - .NET alias
Visual Studio Solution
48. 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.
Partial Method Modifier
Decimal (or decimal) - Size
References (Visual Studio Solution
Data structures
49. (&& or || or & or |)
Conditional Operator
Relational Operator
Public Keyword
Operator
50. Compilation of classes. In C# Usually ends in .dll or .exe
Expression
Assembly
Primitive Type
C# mark Up Language X.A.M.L(Extensible Application Markup Language)