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. System.UInt16
Operator
Common Language Runtime (CLR)
ushort - .NET alias
Int64 - Size
2. Integrated Development Environment
IDE
JITer
Statement
Public Keyword
3. 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.
Derived Class
sbyte - .NET alias
long - .NET alias
Encapsulation
4. count = count+1 or count++ or count__. Both count variables are Unary Operators
Primitive
ushort - Size
Incrementing / Decrementing Variables
ulong - Size
5. The lowest level or fundamental data types needed for representing data.
Primitive
Static Member
bool - Size
Primitive Type
6. 32 bit integer data
Inheritance
Primitive Type
Int32 - Size
Method
7. (< or > or <= or >=)
Label
Array
Variable
Relational Operator
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.
Conditional Operator
Object
Partial Method Modifier
IDE
9. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
Just-in-time (JIT
Method
Internal Access Modifier
10. 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
Object
IDE
11. 64 bit integer data
sbyte - Size
Properties
Int64 - Size
String (or string)
12. 64 bit double precision floating point data
double - .NET alias
Namespace
Double (or double) - Size
Dot Notation
13. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Value Type
Inheritance
short - Size
14. 64 bit integer data
long - Size
DateTime
char - Size
Variable
15. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Encapsulation
CLR
Syntax
16. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Visual Studio Solution
Polymorphism
r
Protected Access Modifier
17. System.Char
Heap
char - .NET alias
uint - Size
If Statement
18. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
char - .NET alias
csc.exe
Abstract Class Modifier
Array
19. Command Language Runtime
CLR
JITer
long - Size
Overloaded Method
20. Restricts access to a Member to the current Class and any Derived Class.
using
Derived Class
Protected Access Modifier
char - Size
21. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Polymorphism
Inheritance
Object
Stack
22. Code which implements GUI (graphical User Interface).
Expression
bool - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
short - Size
23. (= or += or -= or = or /=)
long - .NET alias
byte - .NET alias
Assignment Operator
Variable
24. 16 bit - unsigned integer data (0 to 65535)
Variable (C# requirements)
ushort - Size
sbyte - .NET alias
Syntax
25. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Expression
Base Class
Constant
26. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Syntax
double - .NET alias
Operator
27. Introduces a new class. Marked by curly brackets { }
ushort - Size
Constant
Class Statement
Protected Access Modifier
28. System.Decimal
decimal - .NET alias
Relational Operator
short - .NET alias
Primitive
29. 32 bit integer data
bool - Size
Parameter aka Argument
int - Size
Assignment Operator
30. Text as Unicode characters
Int32 - Size
Program
String (or string)
Object
31. 64 bit - unsigned integer data
ulong - Size
Boolean - Size
Variable
Static Class
32. The "Type" name of data that is stored on the Stack
Static Class
If Statement
Public Keyword
Value Type
33. The member type of a Class that performs an action.
ushort - .NET alias
Heap
Inheritance
Method
34. 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
Strong Typing
Expression
Heap
Partial Method Modifier
35. Represents date and time data with a 100 ns resolution
Heap
Conditional Operator
DateTime
Assignment Operator
36. System.Byte
ushort - .NET alias
Constant
Statement
byte - .NET alias
37. Groups classes together so that they have a unique identifier
Namespace
Object
uint - .NET alias
Sealed Class
38. System.UInt64
ulong - .NET alias
int - Size
Partial Class Modifier
Strong Typing
39. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
uint - .NET alias
using
Textbox
Array
40. System.UInt32
Precedence
uint - .NET alias
ulong - Size
Virtual Method Modifier
41. When a sub class passes down all the behaviours of the original parent class
Method
Inheritance
char - Size
References (Visual Studio Solution
42. Contains the class definitions that allow access to the functionality provided by .NET.
Sealed Class
Framework Class Library (FCL)
Common Language Runtime (CLR)
Variable (C# requirements)
43. 128 bit fixed precision (financial)
Program
Data structures
Decimal (or decimal) - Size
Framework Class Library (FCL)
44. A Class that can only have Static Members
Primitive Type
Static Class
Inheritance
char - .NET alias
45. Just-in-time compilation
double - .NET alias
Method
long - .NET alias
JIT
46. A Member that cannot be accessed/invoked through an Object Instance.
Value Type
JITer
Static Member
ushort - Size
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
Program
Virtual Method Modifier
int - .NET alias
48. Syntax of a C# Method
Primitive
ushort - .NET alias
String (or string)
returnType methodName (parameterList)
49. Sits behind GUI (Graphical User Interface) and provides event listeners
Partial Class Modifier
Window.xaml.cs
Polymorphism
Operator
50. A symbol that specifies an operation to be performed on one or more variables.
Program
char - .NET alias
Operator
If Statement