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 four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Parameter aka Argument
Inheritance
Syntax
ushort - Size
2. Framework Class Library
Internal Access Modifier
FCL
Reference Type
r
3. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
NET
Virtual Method Modifier
Operator
4. (= or += or -= or = or /=)
Assignment Operator
IDE
JITer
Namespace
5. The "Type" name of data that is stored on the Heap
Expression
Reference Type
uint - .NET alias
long - .NET alias
6. 64 bit - unsigned integer data
Method
ulong - Size
Derived Class
int - .NET alias
7. The member type of a Class that performs an action.
Method
Polymorphism
double - .NET alias
Static Class
8. Container for one or more Visual Studio Projects.
Method
Internal Access Modifier
Visual Studio Solution
JITer
9. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
String (or string)
Partial Class Modifier
Unary Operator
10. Represents date and time data with a 100 ns resolution
DateTime
NET
int - Size
Program
11. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
short - Size
Reference Type
Float (or float) - Size
12. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Sealed Class
Syntax
Assembly
Statement
13. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
JIT
uint - Size
If Statement
Heap
14. Command Language Runtime
Window.xaml.cs
Stack
returnType methodName (parameterList)
CLR
15. Restricts access to a Member to the current Class.
Inheritance
Private Access Modifier
Primitive
Precedence
16. System.Single
Stack
C#
IDE
float - .NET alias
17. A Class that cannot be Inherited
ulong - .NET alias
Private Access Modifier
Sealed Class
Assembly
18. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
ushort - .NET alias
Incrementing / Decrementing Variables
Primitive
Conditional Operator
19. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Sealed Class
Namespace
Static Class
20. A Class that cannot be instantiated.
Static Class
Comments
Sealed Class
Internal Access Modifier
21. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
sbyte - .NET alias
Comments
Incrementing / Decrementing Variables
Base Class
22. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
long - Size
Derived Class
ushort - .NET alias
23. 64 bit double precision floating point data
Double (or double) - Size
double - .NET alias
uint - Size
int - Size
24. 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.
int - .NET alias
Abstract Method Modifier
Static Member
Namespace
25. Only requires one operand usually a count+1 or a count++ or a count--
r
Partial Method Modifier
double - .NET alias
Unary Operator
26. The "Type" name of data that is stored on the Stack
Partial Class Modifier
NET
Value Type
Method
27. Microsoft's generic software framework for application development.
ushort - .NET alias
NET
int - .NET alias
Object
28. 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
IDE
Program
DateTime
Heap
29. Syntax of a C# Method
returnType methodName (parameterList)
Abstraction
Assembly
Comments
30. Used to display text that end user does not need to edit.
Label
int - Size
Framework Class Library (FCL)
Value Type
31. count = count+1 or count++ or count__. Both count variables are Unary Operators
int - Size
Abstract Method Modifier
Partial Method Modifier
Incrementing / Decrementing Variables
32. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Console Application
Intermediate Language (IL)
Encapsulation
JITer
33. 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'.
Namespace
Decimal (or decimal) - Size
Field
Textbox
34. Just-in-time compilation
JIT
Common Language Runtime (CLR)
Inheritance
Object
35. 64 bit integer data
Int64 - Size
Encapsulation
sbyte - Size
Static Member
36. System.Byte
ulong - .NET alias
byte - .NET alias
Assembly
Method
37. 8 bit - signed byte (-128 - 127)
byte - Size
sbyte - Size
Protected Access Modifier
uint - .NET alias
38. Represents the encapsulation of data and behaviors into a single unit.
While Statement
Constant
Framework Class Library (FCL)
Class
39. Symbols which transform and combine expressions
Operator
C#
Overloaded Method
DateTime
40. 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
char - Size
Method
ulong - .NET alias
41. A Class that can only have Static Members
Static Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
ushort - .NET alias
Int64 - Size
42. System.UInt64
Method
Intermediate Language (IL)
Unary Operator
ulong - .NET alias
43. The lowest level or fundamental data types needed for representing data.
Static Member
W.P.F
Primitive Type
Namespace
44. System.UInt16
Protected Access Modifier
Class
Program
ushort - .NET alias
45. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Conditional Operator
r
Statement
Operator
46. System.Double
Reference Type
double - .NET alias
Heap
Partial Class Modifier
47. 32 bit integer data
int - Size
Static Class
Keyword
char - .NET alias
48. The .NET run-time environment that enables code to be compiled and executed.
Object
Primitive
Common Language Runtime (CLR)
Inheritance
49. The process of hiding and restricting access to the implementation details of a data structure.
Method
Class
Strong Typing
Encapsulation
50. Something that has a different number of parameters to it's predecessor
Variable (C# requirements)
Equality Operator
Overloaded Method
Assembly