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. 32 bit - unsigned integer data
uint - Size
long - Size
References (Visual Studio Solution
Window.xaml.cs
2. A method that is called whenever an Object is created. The method uses the same name as the Class.
FCL
Constructor
sbyte - Size
Abstraction
3. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
float - .NET alias
Heap
Static Member
4. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Primitive
ushort - .NET alias
Unary Operator
5. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Strong Typing
Statement
Stack
Static Class
6. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Abstract Class Modifier
int - Size
Encapsulation
Namespace
7. System.Int16
short - .NET alias
Statement
Heap
Operator
8. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
Static Class
Decimal (or decimal) - Size
Primitive Type
9. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Identifiers
sbyte - .NET alias
Encapsulation
C#
10. Field whose value can never change. Declared with 'const' keyword
W.P.F
Constant
Boolean - Size
Encapsulation
11. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Parameter aka Argument
Just-in-time (JIT
Abstract Class Modifier
ushort - .NET alias
12. A symbol that specifies an operation to be performed on one or more variables.
Dot Notation
Operator
References (Visual Studio Solution
Float (or float) - Size
13. The process of hiding and restricting access to the implementation details of a data structure.
sbyte - .NET alias
Encapsulation
C#
IDE
14. 32 bit integer data
int - Size
Int32 - Size
Expression
Int64 - Size
15. Introduces a new class. Marked by curly brackets { }
Decimal (or decimal) - Size
Value Type
Data structures
Class Statement
16. Contains the class definitions that allow access to the functionality provided by .NET.
Identifiers
If Statement
Framework Class Library (FCL)
Unary Operator
17. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Object
Abstraction
Field
IDE
18. count = count+1 or count++ or count__. Both count variables are Unary Operators
Namespace
Encapsulation
Incrementing / Decrementing Variables
Conditional Operator
19. Represents the encapsulation of data and behaviors into a single unit.
Object
Data structures
Class
short - Size
20. 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
IDE
Unary Operator
Int64 - Size
21. The lowest level or fundamental data types needed for representing data.
Parameter aka Argument
ulong - .NET alias
Float (or float) - Size
Primitive Type
22. A Class that can only have Static Members
Stack
Partial Method Modifier
Conditional Operator
Static Class
23. 32 bit integer data
Int32 - Size
Dot Notation
If Statement
Operator
24. Names reserved by the compiler that coders are not allowed to use as identifiers.
Console Application
Keyword
Partial Class Modifier
char - Size
25. Something that has a different number of parameters to it's predecessor
Syntax
Inheritance
Public Keyword
Overloaded Method
26. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Object
using
bool - Size
Class
27. System.UInt64
Operator
Console Application
ulong - .NET alias
Stack
28. Extra information within a method
Assembly
Int32 - Size
Constant
Parameter aka Argument
29. Access is limited to the current Assembly
Method
Internal Access Modifier
Double (or double) - Size
Partial Class Modifier
30. 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
Assignment Operator
ulong - .NET alias
Object
Heap
31. Allows the definition of a Class to span multiple files (within the same Project)
Double (or double) - Size
Partial Class Modifier
Variable (C# requirements)
Object
32. (< or > or <= or >=)
If Statement
Textbox
Just-in-time (JIT
Relational Operator
33. (= or += or -= or = or /=)
using
NET
Namespace
Assignment Operator
34. A Class that inherits characteristics from another Class.
decimal - .NET alias
Derived Class
String (or string)
Visual Studio Solution
35. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
long - .NET alias
Inheritance
Primitive
JITer
36. (== or !=)
Equality Operator
Encapsulation
short - Size
Base Class
37. Integrated Development Environment
IDE
Encapsulation
Abstraction
Protected Internal Access Modifier
38. The process of compiling IL source into CPU-native code for execution.
Visual Studio Solution
Label
Just-in-time (JIT
r
39. The member type of a Class that performs an action.
Namespace
Method
Primitive
Constant
40. Mathematical (+ or - or / or %)
Operator
Equality Operator
Visual Studio Solution
Properties
41. 64 bit integer data
Common Language Runtime (CLR)
Variable (C# requirements)
Int64 - Size
Comments
42. The "Type" name of data that is stored on the Heap
Float (or float) - Size
Namespace
int - .NET alias
Reference Type
43. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
sbyte - Size
Polymorphism
double - .NET alias
ulong - .NET alias
44. Most common kind of reference type. They define objects. They must have at least one method and one field.
Heap
Class aka Type
Polymorphism
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
45. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Variable
Virtual Method Modifier
Private Access Modifier
46. System.Int32
short - Size
long - Size
String (or string)
int - .NET alias
47. Indicates that the Method can be overridden.
Virtual Method Modifier
Textbox
Common Language Runtime (CLR)
uint - Size
48. 64 bit double precision floating point data
Boolean - Size
bool - Size
sbyte - .NET alias
Double (or double) - Size
49. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Variable
Method
Statement
long - .NET alias
50. Allow access to types that exist in outside assemblies.
NET
Keyword
Sealed Class
References (Visual Studio Solution