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. A Class that can only have Static Members
CLR
Static Class
Internal Access Modifier
short - Size
2. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Textbox
Method
Namespace
Overloaded Method
3. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Protected Access Modifier
Strong Typing
Expression
JITer
4. (&& or || or & or |)
Textbox
C#
Conditional Operator
uint - .NET alias
5. Integrated Development Environment
IDE
Method
sbyte - Size
Statement
6. When a sub class passes down all the behaviours of the original parent class
Primitive Type
Inheritance
Partial Method Modifier
Abstraction
7. 16 bit- unsigned word (U+0000 to U+ffff)
Derived Class
Public Keyword
byte - .NET alias
char - Size
8. 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.
ulong - Size
Public Keyword
Abstract Class Modifier
Partial Method Modifier
9. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Method
Private Access Modifier
csc.exe
10. Sits behind GUI (Graphical User Interface) and provides event listeners
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Visual Studio Solution
decimal - .NET alias
Window.xaml.cs
11. System.Byte
Strong Typing
Dot Notation
Class aka Type
byte - .NET alias
12. The lowest level or fundamental data types needed for representing data.
Int32 - Size
Operator
Class aka Type
Primitive Type
13. 64 bit integer data
Public Keyword
Console Application
Int64 - Size
Static Class
14. System.Decimal
decimal - .NET alias
Base Class
Properties
NET
15. 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.
Public Keyword
Identifiers
Stack
byte - Size
16. true or false
Operator
Relational Operator
bool - Size
Object
17. System.Int16
Inheritance
Expression
ushort - Size
short - .NET alias
18. Text as Unicode characters
using
Abstraction
Operator
String (or string)
19. 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.
Identifiers
Encapsulation
Operator
Base Class
20. 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
Object
Inheritance
Operator
W.P.F
21. 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
Conditional Operator
Dot Notation
sbyte - Size
While Statement
22. (< or > or <= or >=)
Variable
Polymorphism
Constructor
Relational Operator
23. System.Int64
uint - Size
long - .NET alias
Statement
Protected Internal Access Modifier
24. A Member that cannot be accessed/invoked through an Object Instance.
W.P.F
Double (or double) - Size
Program
Static Member
25. An instance of a class that exists at run-time and is typically referenced via a variable name.
int - Size
Assembly
IDE
Object
26. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
bool - Size
Float (or float) - Size
Variable (C# requirements)
27. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Variable
using
Abstract Class Modifier
Encapsulation
28. A type of statement that produces a value that might be tested or assigned to a variable.
Sealed Class
Syntax
Expression
Encapsulation
29. 32 bit single precision floating point data
Int32 - Size
C#
Float (or float) - Size
Encapsulation
30. A Class from which other classes can inherit characteristics.
Base Class
ushort - .NET alias
Protected Internal Access Modifier
int - .NET alias
31. 64 bit - unsigned integer data
ulong - Size
Strong Typing
uint - .NET alias
sbyte - Size
32. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Derived Class
Properties
Statement
Abstract Method Modifier
33. The member type of a Class that performs an action.
Expression
Variable
Method
Inheritance
34. 128 bit fixed precision (financial)
Operator
Keyword
float - .NET alias
Decimal (or decimal) - Size
35. 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.
Syntax
Assembly
returnType methodName (parameterList)
Console Application
36. Syntax of a C# Method
Static Member
returnType methodName (parameterList)
Textbox
Array
37. Allow access to types that exist in outside assemblies.
Heap
References (Visual Studio Solution
float - .NET alias
Static Member
38. 32 bit integer data
Int32 - Size
Abstract Class Modifier
Constant
IDE
39. Used to display text that end user does not need to edit.
Sealed Class
References (Visual Studio Solution
float - .NET alias
Label
40. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Class Statement
char - Size
Data structures
41. Indicates that the Method can be overridden.
Virtual Method Modifier
Assembly
Class
byte - .NET alias
42. Mathematical (+ or - or / or %)
char - .NET alias
Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Equality Operator
43. A Class that cannot be instantiated.
While Statement
Private Access Modifier
Static Class
Keyword
44. Introduces a new class. Marked by curly brackets { }
int - .NET alias
Object
Double (or double) - Size
Class Statement
45. System.UInt32
ulong - Size
Stack
uint - .NET alias
Label
46. The process of hiding and restricting access to the implementation details of a data structure.
JIT
Encapsulation
Class
Array
47. true or false
Protected Internal Access Modifier
ushort - Size
Boolean - Size
Encapsulation
48. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
short - .NET alias
long - .NET alias
Stack
Variable (C# requirements)
49. The "Type" name of data that is stored on the Heap
r
CLR
Intermediate Language (IL)
Reference Type
50. A Class that inherits characteristics from another Class.
Derived Class
returnType methodName (parameterList)
double - .NET alias
Method