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. 8 bit - unsigned byte (0 - 255)
Partial Class Modifier
Method
byte - Size
uint - Size
2. 128 bit fixed precision (financial)
Virtual Method Modifier
Inheritance
Decimal (or decimal) - Size
Value Type
3. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
sbyte - .NET alias
Class Statement
Console Application
Boolean Operator
4. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Value Type
Static Member
short - .NET alias
5. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Operator
Data structures
Static Member
6. 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.
long - Size
Private Access Modifier
Partial Method Modifier
Syntax
7. The .NET run-time environment that enables code to be compiled and executed.
int - Size
Common Language Runtime (CLR)
Just-in-time (JIT
Static Member
8. count = count+1 or count++ or count__. Both count variables are Unary Operators
Statement
Polymorphism
Strong Typing
Incrementing / Decrementing Variables
9. Represents date and time data with a 100 ns resolution
Abstraction
DateTime
Textbox
sbyte - .NET alias
10. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
Static Class
Namespace
bool - Size
11. 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
Relational Operator
Static Class
Sealed Class
12. 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.
Variable
Boolean - Size
Overloaded Method
returnType methodName (parameterList)
13. Access is limited to the current Assembly
Class
Common Language Runtime (CLR)
Internal Access Modifier
Method
14. 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
Sealed Class
Comments
Assembly
15. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
ushort - .NET alias
DateTime
Namespace
16. 64 bit double precision floating point data
Equality Operator
Statement
Decimal (or decimal) - Size
Double (or double) - Size
17. Command Language Runtime
IDE
Internal Access Modifier
CLR
Operator
18. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.
Abstraction
Parameter aka Argument
Syntax
uint - Size
19. Represents the encapsulation of data and behaviors into a single unit.
Comments
Class
Dot Notation
Label
20. When a sub class passes down all the behaviours of the original parent class
Decimal (or decimal) - Size
Strong Typing
Conditional Operator
Inheritance
21. The "Type" name of data that is stored on the Heap
Variable (C# requirements)
Reference Type
Assembly
Double (or double) - Size
22. System.SByte
Int32 - Size
sbyte - .NET alias
Private Access Modifier
Constructor
23. The "Type" name of data that is stored on the Stack
Properties
Class
Value Type
Operator
24. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.
Unary Operator
r
Encapsulation
Heap
25. 64 bit - unsigned integer data
Conditional Operator
String (or string)
ulong - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
26. An instance of a class that exists at run-time and is typically referenced via a variable name.
Reference Type
sbyte - Size
Object
References (Visual Studio Solution
27. 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)
Partial Class Modifier
NET
Namespace
28. Command which runs repeatedly while (some) condition is true.
While Statement
bool - Size
Method
Parameter aka Argument
29. 16 bit - unsigned integer data (0 to 65535)
W.P.F
Variable
Program
ushort - Size
30. Restricts access to a Member to the current Class and any Derived Class.
Just-in-time (JIT
Protected Access Modifier
Overloaded Method
NET
31. Used to display text that end user does not need to edit.
Base Class
Encapsulation
Just-in-time (JIT
Label
32. A Class that can only have Static Members
Equality Operator
Operator
Static Class
Label
33. 64 bit integer data
Assembly
Int64 - Size
Expression
Inheritance
34. (== or !=)
bool - Size
Equality Operator
Identifiers
Static Class
35. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
ushort - .NET alias
Inheritance
Parameter aka Argument
Static Member
36. Field whose value can never change. Declared with 'const' keyword
double - .NET alias
Constant
r
Public Keyword
37. Symbols which transform and combine expressions
Precedence
Operator
Console Application
Strong Typing
38. The process of hiding and restricting access to the implementation details of a data structure.
Method
Int64 - Size
Precedence
Encapsulation
39. System.Single
float - .NET alias
uint - .NET alias
Object
Variable (C# requirements)
40. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Virtual Method Modifier
int - Size
Reference Type
Expression
41. true or false
bool - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Label
uint - .NET alias
42. (= or += or -= or = or /=)
Primitive Type
Array
Assignment Operator
Protected Access Modifier
43. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Abstraction
Textbox
Relational Operator
44. 32 bit - unsigned integer data
Float (or float) - Size
ushort - Size
uint - Size
Relational Operator
45. A method that is called whenever an Object is created. The method uses the same name as the Class.
Window.xaml.cs
Stack
Visual Studio Solution
Constructor
46. Framework Class Library
Window.xaml.cs
short - Size
Value Type
FCL
47. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
String (or string)
If Statement
Expression
Precedence
48. System.UInt64
ulong - .NET alias
Abstract Method Modifier
Program
float - .NET alias
49. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Sealed Class
Assembly
Virtual Method Modifier
short - Size
50. The lowest level or fundamental data types needed for representing data.
Primitive Type
Sealed Class
Operator
Static Member