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. The process of hiding and restricting access to the implementation details of a data structure.
IDE
Encapsulation
Overloaded Method
Field
2. Used to display text that end user does not need to edit.
If Statement
Label
short - .NET alias
Abstraction
3. The "Type" name of data that is stored on the Stack
Data structures
Derived Class
Value Type
Internal Access Modifier
4. 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.
short - Size
ulong - .NET alias
Constructor
Identifiers
5. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Parameter aka Argument
csc.exe
Properties
FCL
6. The lowest level or fundamental data types needed for representing data.
Primitive Type
Operator
Visual Studio Solution
Operator
7. 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.
JIT
Object
Abstract Method Modifier
Protected Internal Access Modifier
8. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Properties
Comments
Window.xaml.cs
9. Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap to save available memory
Heap
Framework Class Library (FCL)
Constructor
Variable
10. Access is limited to the current Assembly and Derived Types
ushort - .NET alias
Protected Internal Access Modifier
char - Size
Comments
11. System.Decimal
uint - .NET alias
Abstract Class Modifier
Sealed Class
decimal - .NET alias
12. 64 bit double precision floating point data
Properties
Double (or double) - Size
Public Keyword
String (or string)
13. A Class that inherits characteristics from another Class.
If Statement
Base Class
Dot Notation
Derived Class
14. 32 bit integer data
JIT
Static Class
Int32 - Size
Incrementing / Decrementing Variables
15. 32 bit - unsigned integer data
uint - Size
FCL
Method
csc.exe
16. Microsoft's generic software framework for application development.
uint - .NET alias
NET
C#
Overloaded Method
17. 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)
Private Access Modifier
Boolean Operator
Identifiers
Float (or float) - Size
18. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Namespace
Strong Typing
Abstract Class Modifier
String (or string)
19. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Constant
bool - Size
Partial Class Modifier
20. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Dot Notation
Framework Class Library (FCL)
W.P.F
21. The process of compiling IL source into CPU-native code for execution.
bool - Size
ulong - .NET alias
Method
Just-in-time (JIT
22. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Protected Access Modifier
Statement
short - .NET alias
Method
23. Sits behind GUI (Graphical User Interface) and provides event listeners
IDE
Window.xaml.cs
Comments
Class aka Type
24. Restricts access to a Member to the current Class and any Derived Class.
While Statement
Heap
Properties
Protected Access Modifier
25. The member type of a Class that performs an action.
Console Application
Syntax
Statement
Method
26. 64 bit integer data
Static Class
int - Size
DateTime
long - Size
27. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Encapsulation
Inheritance
Abstraction
byte - Size
28. A method that is called whenever an Object is created. The method uses the same name as the Class.
Derived Class
Console Application
Static Member
Constructor
29. count = count+1 or count++ or count__. Both count variables are Unary Operators
Data structures
While Statement
Statement
Incrementing / Decrementing Variables
30. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
long - Size
Static Class
Class Statement
C#
31. 64 bit integer data
Syntax
Int64 - Size
Reference Type
Visual Studio Solution
32. (= or += or -= or = or /=)
byte - .NET alias
Assignment Operator
Common Language Runtime (CLR)
Keyword
33. Something that has a different number of parameters to it's predecessor
Overloaded Method
Encapsulation
Label
Static Member
34. Only requires one operand usually a count+1 or a count++ or a count--
Precedence
Operator
Unary Operator
Decimal (or decimal) - Size
35. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
Statement
Expression
Abstract Method Modifier
36. System.Int16
short - .NET alias
Protected Access Modifier
Reference Type
Value Type
37. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
If Statement
Precedence
Stack
Field
38. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Array
Internal Access Modifier
ulong - .NET alias
39. A Member that cannot be accessed/invoked through an Object Instance.
Inheritance
Static Member
returnType methodName (parameterList)
Abstraction
40. Extra information within a method
Common Language Runtime (CLR)
C#
Parameter aka Argument
Syntax
41. 16 bit - unsigned integer data (0 to 65535)
long - .NET alias
Class aka Type
ushort - Size
int - Size
42. Text as Unicode characters
String (or string)
Statement
Base Class
Protected Access Modifier
43. 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
Reference Type
References (Visual Studio Solution
Inheritance
44. The "Type" name of data that is stored on the Heap
Encapsulation
While Statement
Reference Type
Public Keyword
45. Container for one or more Visual Studio Projects.
Public Keyword
Visual Studio Solution
Operator
Stack
46. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Polymorphism
r
Comments
47. Keyword which exposes members to other classes OR Identifier which makes program elements public
Common Language Runtime (CLR)
Public Keyword
uint - Size
String (or string)
48. System.SByte
Method
JIT
sbyte - .NET alias
Relational Operator
49. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Assignment Operator
Heap
Strong Typing
Variable (C# requirements)
50. 64 bit - unsigned integer data
ulong - Size
Assembly
Polymorphism
Syntax