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. When a sub class passes down all the behaviours of the original parent class
Framework Class Library (FCL)
Decimal (or decimal) - Size
float - .NET alias
Inheritance
2. Allow access to types that exist in outside assemblies.
Object
using
Int32 - Size
References (Visual Studio Solution
3. System.SByte
Abstract Method Modifier
Internal Access Modifier
sbyte - .NET alias
Polymorphism
4. A Class that can only have Static Members
Static Class
Operator
Class Statement
Static Member
5. Most common kind of reference type. They define objects. They must have at least one method and one field.
Boolean - Size
int - Size
Encapsulation
Class aka Type
6. 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.
Partial Method Modifier
Array
Abstract Method Modifier
short - .NET alias
7. System.UInt64
Partial Method Modifier
References (Visual Studio Solution
Encapsulation
ulong - .NET alias
8. 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.
Program
Class Statement
Identifiers
DateTime
9. 32 bit - unsigned integer data
Encapsulation
NET
uint - Size
Conditional Operator
10. Integrated Development Environment
sbyte - .NET alias
Int32 - Size
IDE
Partial Method Modifier
11. Compilation of classes. In C# Usually ends in .dll or .exe
Partial Class Modifier
Boolean Operator
Assembly
ushort - Size
12. A representation of an area in the computer memory in which a value of a particular data type can be stored.
double - .NET alias
Operator
Variable
Decimal (or decimal) - Size
13. System.Int32
Textbox
DateTime
Program
int - .NET alias
14. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Int32 - Size
Polymorphism
short - .NET alias
using
15. 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.
Assembly
Syntax
Namespace
short - .NET alias
16. System.Double
Intermediate Language (IL)
double - .NET alias
int - Size
Constructor
17. 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'.
Strong Typing
Decimal (or decimal) - Size
Textbox
Expression
18. Represents date and time data with a 100 ns resolution
Statement
ulong - .NET alias
DateTime
returnType methodName (parameterList)
19. System.Byte
Stack
Polymorphism
byte - .NET alias
Unary Operator
20. System.UInt16
ushort - .NET alias
Abstract Method Modifier
Variable (C# requirements)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
21. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
W.P.F
Strong Typing
Boolean Operator
Inheritance
22. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Method
Properties
Namespace
23. Access is limited to the current Assembly and Derived Types
Visual Studio Solution
JIT
Protected Internal Access Modifier
char - .NET alias
24. Groups classes together so that they have a unique identifier
Namespace
Private Access Modifier
Boolean - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
25. Allows the definition of a Class to span multiple files (within the same Project)
Virtual Method Modifier
csc.exe
Partial Class Modifier
JIT
26. 8 bit - signed byte (-128 - 127)
Relational Operator
Visual Studio Solution
sbyte - Size
Abstraction
27. (== or !=)
Equality Operator
CLR
bool - Size
int - Size
28. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Method
Incrementing / Decrementing Variables
While Statement
29. Contains the class definitions that allow access to the functionality provided by .NET.
While Statement
Framework Class Library (FCL)
Unary Operator
char - .NET alias
30. Indicates that the Method can be overridden.
Relational Operator
Private Access Modifier
Virtual Method Modifier
Window.xaml.cs
31. Must have a data type
Sealed Class
Assembly
Constant
Variable (C# requirements)
32. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Virtual Method Modifier
Data structures
C#
Relational Operator
33. System.Int64
Primitive Type
Equality Operator
long - .NET alias
Conditional Operator
34. 64 bit - unsigned integer data
Unary Operator
Inheritance
Comments
ulong - Size
35. Command which runs repeatedly while (some) condition is true.
Statement
Precedence
While Statement
Abstract Class Modifier
36. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Variable
NET
Window.xaml.cs
37. A symbol that specifies an operation to be performed on one or more variables.
Framework Class Library (FCL)
Operator
Statement
Strong Typing
38. (= or += or -= or = or /=)
Constant
Assignment Operator
Statement
Int32 - Size
39. Represents the encapsulation of data and behaviors into a single unit.
Syntax
Class
using
Program
40. true or false
References (Visual Studio Solution
Boolean - Size
double - .NET alias
Constructor
41. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Operator
Console Application
Virtual Method Modifier
Derived Class
42. System.Single
float - .NET alias
Comments
Primitive
Just-in-time (JIT
43. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Namespace
Assembly
Expression
long - .NET alias
44. 128 bit fixed precision (financial)
String (or string)
Decimal (or decimal) - Size
int - Size
Protected Internal Access Modifier
45. count = count+1 or count++ or count__. Both count variables are Unary Operators
Constant
Inheritance
Incrementing / Decrementing Variables
Class aka Type
46. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
W.P.F
Base Class
Comments
ulong - Size
47. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
C#
Assembly
ulong - Size
returnType methodName (parameterList)
48. An instance of a class that exists at run-time and is typically referenced via a variable name.
float - .NET alias
decimal - .NET alias
Object
Console Application
49. Something that has a different number of parameters to it's predecessor
Overloaded Method
FCL
Precedence
uint - Size
50. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Console Application
While Statement
Static Class
Abstract Class Modifier