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. 64 bit - unsigned integer data
ulong - Size
Decimal (or decimal) - Size
ushort - Size
Abstract Method Modifier
2. System.Double
double - .NET alias
Static Class
Framework Class Library (FCL)
Boolean Operator
3. Container for one or more Visual Studio Projects.
String (or string)
short - Size
Visual Studio Solution
returnType methodName (parameterList)
4. 8 bit - signed byte (-128 - 127)
sbyte - Size
sbyte - .NET alias
Sealed Class
Identifiers
5. (< or > or <= or >=)
Assembly
Class
IDE
Relational Operator
6. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Partial Class Modifier
Overloaded Method
Method
7. (&& or || or & or |)
Partial Method Modifier
short - .NET alias
Double (or double) - Size
Conditional Operator
8. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
ushort - Size
Operator
References (Visual Studio Solution
Intermediate Language (IL)
9. A Class that can only have Static Members
Static Class
Sealed Class
Operator
Partial Method Modifier
10. Variables defined by a class
Field
Method
Static Class
Abstraction
11. 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.
Assignment Operator
Variable
Int64 - Size
Reference Type
12. 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.
Expression
Base Class
Identifiers
Private Access Modifier
13. Indicates that the Method can be overridden.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Comments
Virtual Method Modifier
decimal - .NET alias
14. Code which implements GUI (graphical User Interface).
r
Variable
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Textbox
15. 64 bit integer data
Expression
NET
Virtual Method Modifier
Int64 - Size
16. 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'.
long - Size
Textbox
bool - Size
Operator
17. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class
Dot Notation
Boolean - Size
ushort - .NET alias
Heap
18. A Class that cannot be Inherited
Sealed Class
csc.exe
Properties
uint - .NET alias
19. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Identifiers
Strong Typing
Comments
Operator
20. Represents the encapsulation of data and behaviors into a single unit.
Static Class
Virtual Method Modifier
Conditional Operator
Class
21. Series of instructions which tell a computer what to do.
Operator
Program
r
float - .NET alias
22. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Float (or float) - Size
Polymorphism
Expression
W.P.F
23. Symbols which transform and combine expressions
ushort - .NET alias
Expression
Operator
Class Statement
24. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Dot Notation
Primitive
float - .NET alias
Parameter aka Argument
25. Names reserved by the compiler that coders are not allowed to use as identifiers.
uint - .NET alias
Label
String (or string)
Keyword
26. 32 bit integer data
Int32 - Size
Visual Studio Solution
Parameter aka Argument
Partial Class Modifier
27. Groups classes together so that they have a unique identifier
using
Keyword
Namespace
Int64 - Size
28. Syntax of a C# Method
returnType methodName (parameterList)
JITer
short - Size
IDE
29. A Class from which other classes can inherit characteristics.
Heap
Base Class
Sealed Class
Derived Class
30. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Keyword
Method
decimal - .NET alias
Variable
31. (== or !=)
short - .NET alias
Equality Operator
byte - Size
Variable
32. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does
Polymorphism
Abstract Class Modifier
Object
JIT
33. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Abstract Class Modifier
Double (or double) - Size
Incrementing / Decrementing Variables
JITer
34. System.Single
Identifiers
float - .NET alias
Common Language Runtime (CLR)
char - .NET alias
35. Only requires one operand usually a count+1 or a count++ or a count--
double - .NET alias
Unary Operator
sbyte - .NET alias
Operator
36. A Class that inherits characteristics from another Class.
Derived Class
Decimal (or decimal) - Size
Assembly
IDE
37. Command which runs repeatedly while (some) condition is true.
While Statement
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Identifiers
Class Statement
38. Mathematical (+ or - or / or %)
Assignment Operator
Operator
Partial Method Modifier
Base Class
39. The lowest level or fundamental data types needed for representing data.
sbyte - .NET alias
Primitive Type
uint - .NET alias
Overloaded Method
40. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
DateTime
Window.xaml.cs
Virtual Method Modifier
41. Restricts access to a Member to the current Class and any Derived Class.
Class
Inheritance
Protected Access Modifier
Method
42. Represents date and time data with a 100 ns resolution
Static Class
Object
DateTime
Abstraction
43. Something that has a different number of parameters to it's predecessor
Overloaded Method
returnType methodName (parameterList)
short - Size
sbyte - .NET alias
44. System.Int32
Dot Notation
Constant
decimal - .NET alias
int - .NET alias
45. Restricts access to a Member to the current Class.
Private Access Modifier
csc.exe
Reference Type
Strong Typing
46. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Expression
Primitive Type
Private Access Modifier
Statement
47. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
int - .NET alias
If Statement
Constant
Equality Operator
48. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Internal Access Modifier
returnType methodName (parameterList)
Inheritance
Heap
49. The process of hiding and restricting access to the implementation details of a data structure.
r
Encapsulation
Framework Class Library (FCL)
Base Class
50. Command Language Runtime
CLR
Equality Operator
int - Size
Static Class