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. 128 bit fixed precision (financial)
Primitive
Abstraction
Decimal (or decimal) - Size
Comments
2. (< or > or <= or >=)
Assembly
Relational Operator
returnType methodName (parameterList)
Protected Internal Access Modifier
3. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Unary Operator
Method
Boolean - Size
4. Access is limited to the current Assembly and Derived Types
Common Language Runtime (CLR)
Equality Operator
Stack
Protected Internal Access Modifier
5. Allow access to types that exist in outside assemblies.
IDE
References (Visual Studio Solution
Constructor
Reference Type
6. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Abstraction
Method
While Statement
Sealed Class
7. 16 bit - signed integer data (-32768 to 32767)
Virtual Method Modifier
Assignment Operator
short - Size
Class
8. System.Decimal
Expression
Protected Internal Access Modifier
decimal - .NET alias
Precedence
9. Extra information within a method
Parameter aka Argument
Primitive
using
W.P.F
10. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Encapsulation
Operator
ushort - Size
11. count = count+1 or count++ or count__. Both count variables are Unary Operators
References (Visual Studio Solution
Field
Incrementing / Decrementing Variables
Common Language Runtime (CLR)
12. System.Char
Static Member
uint - .NET alias
char - .NET alias
sbyte - Size
13. A Class that can only have Static Members
Comments
Reference Type
Unary Operator
Static Class
14. Windows Presentation Foundation
byte - Size
Variable
W.P.F
byte - .NET alias
15. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Class Statement
Parameter aka Argument
Textbox
Polymorphism
16. System.UInt32
Class
Object
decimal - .NET alias
uint - .NET alias
17. 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.
Static Class
sbyte - Size
Abstract Method Modifier
W.P.F
18. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
float - .NET alias
Int64 - Size
Variable
19. Only requires one operand usually a count+1 or a count++ or a count--
Encapsulation
Unary Operator
Method
Abstract Class Modifier
20. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
Operator
Variable (C# requirements)
Parameter aka Argument
21. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
int - .NET alias
Statement
Console Application
Unary Operator
22. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
char - Size
Common Language Runtime (CLR)
Statement
23. System.SByte
sbyte - .NET alias
Abstract Method Modifier
Keyword
Encapsulation
24. Access is limited to the current Assembly
Encapsulation
Internal Access Modifier
Namespace
Double (or double) - Size
25. A Class that cannot be Inherited
Sealed Class
Heap
Int32 - Size
IDE
26. true or false
bool - Size
byte - .NET alias
int - .NET alias
Virtual Method Modifier
27. (= or += or -= or = or /=)
Assignment Operator
Partial Method Modifier
using
Inheritance
28. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
References (Visual Studio Solution
float - .NET alias
Incrementing / Decrementing Variables
29. A symbol that specifies an operation to be performed on one or more variables.
Boolean Operator
Operator
Stack
Assignment Operator
30. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
JIT
Dot Notation
If Statement
Identifiers
31. 64 bit double precision floating point data
Double (or double) - Size
Keyword
long - .NET alias
Derived Class
32. Restricts access to a Member to the current Class and any Derived Class.
Parameter aka Argument
Protected Access Modifier
Operator
r
33. The lowest level or fundamental data types needed for representing data.
Primitive Type
Partial Class Modifier
Window.xaml.cs
Inheritance
34. The process of hiding and restricting access to the implementation details of a data structure.
Variable (C# requirements)
Encapsulation
Polymorphism
Console Application
35. Text as Unicode characters
Variable
String (or string)
Sealed Class
Variable
36. Represents date and time data with a 100 ns resolution
Derived Class
Base Class
DateTime
Inheritance
37. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Abstract Class Modifier
Inheritance
Namespace
Assembly
38. 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
Variable
Dot Notation
Namespace
Public Keyword
39. 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.
W.P.F
Encapsulation
CLR
Textbox
40. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Boolean Operator
Assembly
float - .NET alias
Statement
41. 64 bit integer data
long - Size
char - .NET alias
W.P.F
Common Language Runtime (CLR)
42. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Namespace
JITer
Object
uint - Size
43. 64 bit - unsigned integer data
ulong - Size
Encapsulation
long - Size
Framework Class Library (FCL)
44. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Identifiers
using
Assembly
Operator
45. System.UInt16
Stack
ushort - .NET alias
double - .NET alias
Internal Access Modifier
46. Must have a data type
Variable (C# requirements)
char - .NET alias
Properties
Public Keyword
47. Contains the class definitions that allow access to the functionality provided by .NET.
csc.exe
Int64 - Size
char - Size
Framework Class Library (FCL)
48. Code which signifies a carriage return. Symbolises a new line in a text box.
r
sbyte - .NET alias
Window.xaml.cs
bool - Size
49. Names reserved by the compiler that coders are not allowed to use as identifiers.
Stack
Parameter aka Argument
Keyword
Inheritance
50. 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.
Object
double - .NET alias
Identifiers
Class aka Type