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. Windows Presentation Foundation
int - Size
W.P.F
Assembly
long - .NET alias
2. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Inheritance
Abstraction
long - .NET alias
Float (or float) - Size
3. 8 bit - unsigned byte (0 - 255)
Operator
Class
Array
byte - Size
4. Sits behind GUI (Graphical User Interface) and provides event listeners
Int64 - Size
C#
Window.xaml.cs
Public Keyword
5. A Member that cannot be accessed/invoked through an Object Instance.
String (or string)
Encapsulation
Static Member
Boolean Operator
6. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Incrementing / Decrementing Variables
JITer
Encapsulation
7. A symbol that specifies an operation to be performed on one or more variables.
Relational Operator
Operator
Statement
Strong Typing
8. 32 bit integer data
Assembly
int - Size
Object
Protected Internal Access Modifier
9. (= or += or -= or = or /=)
Properties
Assignment Operator
Console Application
ushort - Size
10. A method that is called whenever an Object is created. The method uses the same name as the Class.
ushort - Size
Constructor
Inheritance
Object
11. Text as Unicode characters
String (or string)
Int64 - Size
byte - .NET alias
Reference Type
12. Most common kind of reference type. They define objects. They must have at least one method and one field.
Derived Class
Class aka Type
Console Application
Intermediate Language (IL)
13. An instance of a class that exists at run-time and is typically referenced via a variable name.
Window.xaml.cs
Object
int - Size
Namespace
14. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
Parameter aka Argument
Conditional Operator
Just-in-time (JIT
15. 64 bit double precision floating point data
using
Int64 - Size
Double (or double) - Size
Class Statement
16. The "Type" name of data that is stored on the Heap
String (or string)
Relational Operator
short - Size
Reference Type
17. Restricts access to a Member to the current Class and any Derived Class.
Dot Notation
Protected Access Modifier
Private Access Modifier
Intermediate Language (IL)
18. Only requires one operand usually a count+1 or a count++ or a count--
Value Type
Static Class
Unary Operator
long - Size
19. When a sub class passes down all the behaviours of the original parent class
Inheritance
Value Type
ulong - Size
Variable
20. 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.
Precedence
Encapsulation
long - .NET alias
String (or string)
21. 8 bit - signed byte (-128 - 127)
Unary Operator
sbyte - Size
Float (or float) - Size
Internal Access Modifier
22. Represents the encapsulation of data and behaviors into a single unit.
Intermediate Language (IL)
Sealed Class
Class
FCL
23. 64 bit integer data
Static Member
Console Application
long - Size
Int64 - Size
24. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Static Member
JIT
Boolean Operator
25. Introduces a new class. Marked by curly brackets { }
Operator
decimal - .NET alias
Class Statement
Value Type
26. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Inheritance
Precedence
Static Class
returnType methodName (parameterList)
27. 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.
ulong - .NET alias
Variable
Encapsulation
bool - Size
28. 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
Intermediate Language (IL)
Object
Inheritance
ulong - .NET alias
29. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Primitive
Abstract Class Modifier
Statement
30. 16 bit - signed integer data (-32768 to 32767)
JITer
Encapsulation
Constant
short - Size
31. System.Double
Namespace
Assembly
ushort - Size
double - .NET alias
32. System.Byte
byte - .NET alias
Common Language Runtime (CLR)
Variable
Derived Class
33. Field whose value can never change. Declared with 'const' keyword
JIT
Constant
uint - Size
Variable (C# requirements)
34. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
uint - .NET alias
CLR
Variable
If Statement
35. A type of statement that produces a value that might be tested or assigned to a variable.
FCL
Overloaded Method
Expression
DateTime
36. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Console Application
Field
Static Class
37. A Class from which other classes can inherit characteristics.
Base Class
short - .NET alias
Data structures
Intermediate Language (IL)
38. Used to display text that end user does not need to edit.
Assignment Operator
char - .NET alias
Program
Label
39. 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.
Abstract Method Modifier
Operator
int - .NET alias
JITer
40. Extra information within a method
Framework Class Library (FCL)
Protected Access Modifier
String (or string)
Parameter aka Argument
41. true or false
Parameter aka Argument
bool - Size
Assembly
Boolean Operator
42. System.UInt16
Primitive Type
Variable
Abstract Method Modifier
ushort - .NET alias
43. 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'.
Textbox
short - Size
int - .NET alias
Stack
44. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
decimal - .NET alias
JITer
Boolean - Size
ulong - .NET alias
45. A Class that inherits characteristics from another Class.
Dot Notation
Keyword
Parameter aka Argument
Derived Class
46. Integrated Development Environment
IDE
Assembly
Label
Class aka Type
47. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
Value Type
ushort - .NET alias
uint - Size
48. Command which runs repeatedly while (some) condition is true.
Inheritance
While Statement
Program
Assembly
49. Container for one or more Visual Studio Projects.
float - .NET alias
Visual Studio Solution
JITer
Expression
50. Contains the class definitions that allow access to the functionality provided by .NET.
ulong - Size
Framework Class Library (FCL)
sbyte - Size
NET