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.
References (Visual Studio Solution
Class aka Type
Encapsulation
Method
2. true or false
bool - Size
Abstraction
IDE
Partial Method Modifier
3. System.SByte
Inheritance
Dot Notation
Assignment Operator
sbyte - .NET alias
4. 32 bit single precision floating point data
bool - Size
short - .NET alias
Class Statement
Float (or float) - Size
5. Windows Presentation Foundation
Boolean - Size
JIT
Namespace
W.P.F
6. A method that is called whenever an Object is created. The method uses the same name as the Class.
Boolean Operator
Constructor
Properties
Common Language Runtime (CLR)
7. Most common kind of reference type. They define objects. They must have at least one method and one field.
NET
short - Size
Class aka Type
Derived Class
8. Used to display text that end user does not need to edit.
Internal Access Modifier
Static Class
Stack
Label
9. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Expression
Primitive
Decimal (or decimal) - Size
10. The member type of a Class that performs an action.
Method
FCL
Constant
Abstraction
11. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Expression
Equality Operator
Class aka Type
12. System.Byte
Decimal (or decimal) - Size
byte - .NET alias
long - Size
Operator
13. System.Int16
Namespace
Variable (C# requirements)
Statement
short - .NET alias
14. Container for one or more Visual Studio Projects.
bool - Size
JIT
Visual Studio Solution
Inheritance
15. 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.
Unary Operator
Static Class
Operator
Abstract Method Modifier
16. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Label
double - .NET alias
Partial Class Modifier
17. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
While Statement
Equality Operator
Virtual Method Modifier
Polymorphism
18. A Class from which other classes can inherit characteristics.
Visual Studio Solution
Base Class
W.P.F
Float (or float) - Size
19. A Class that cannot be Inherited
Partial Method Modifier
char - .NET alias
Sealed Class
Boolean Operator
20. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
int - .NET alias
Method
csc.exe
Method
21. Represents date and time data with a 100 ns resolution
DateTime
Statement
Method
csc.exe
22. (< or > or <= or >=)
While Statement
Private Access Modifier
Relational Operator
Inheritance
23. A symbol that specifies an operation to be performed on one or more variables.
Equality Operator
Int32 - Size
Double (or double) - Size
Operator
24. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Strong Typing
uint - Size
CLR
25. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
Visual Studio Solution
int - Size
Primitive Type
26. Code which implements GUI (graphical User Interface).
Partial Class Modifier
Internal Access Modifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Intermediate Language (IL)
27. When a sub class passes down all the behaviours of the original parent class
FCL
Incrementing / Decrementing Variables
Common Language Runtime (CLR)
Inheritance
28. Access is limited to the current Assembly and Derived Types
Expression
C#
References (Visual Studio Solution
Protected Internal Access Modifier
29. true or false
Primitive
csc.exe
Boolean - Size
Unary Operator
30. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Boolean Operator
Boolean - Size
float - .NET alias
Expression
31. Extra information within a method
Boolean Operator
Array
ulong - .NET alias
Parameter aka Argument
32. System.Decimal
short - Size
decimal - .NET alias
Equality Operator
Int64 - Size
33. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Program
Console Application
float - .NET alias
Inheritance
34. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Field
Float (or float) - Size
Encapsulation
35. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Assembly
ushort - .NET alias
Virtual Method Modifier
If Statement
36. The "Type" name of data that is stored on the Heap
Dot Notation
Reference Type
W.P.F
ulong - .NET alias
37. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
ushort - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Operator
Method
38. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
short - .NET alias
Label
Private Access Modifier
39. Microsoft's generic software framework for application development.
Primitive
NET
Abstract Method Modifier
long - Size
40. 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.
Abstract Method Modifier
Statement
Constant
Encapsulation
41. count = count+1 or count++ or count__. Both count variables are Unary Operators
Virtual Method Modifier
Incrementing / Decrementing Variables
Static Class
Boolean - Size
42. Series of instructions which tell a computer what to do.
Reference Type
Program
While Statement
Float (or float) - Size
43. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Primitive
Program
Abstract Class Modifier
44. A Member that cannot be accessed/invoked through an Object Instance.
Identifiers
Inheritance
Static Member
sbyte - Size
45. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Comments
Abstract Method Modifier
Array
Label
46. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Internal Access Modifier
Statement
ushort - .NET alias
Inheritance
47. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
Console Application
Operator
Partial Class Modifier
48. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Array
sbyte - Size
Primitive Type
49. Mathematical (+ or - or / or %)
Parameter aka Argument
float - .NET alias
Operator
sbyte - Size
50. 32 bit - unsigned integer data
uint - Size
Statement
Reference Type
Assembly