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. A Class that cannot be Inherited
CLR
Expression
Sealed Class
While Statement
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.
Expression
ulong - .NET alias
Class
Abstraction
3. System.UInt32
While Statement
Operator
uint - .NET alias
Namespace
4. Indicates that the Method can be overridden.
Virtual Method Modifier
Namespace
float - .NET alias
CLR
5. 32 bit integer data
int - Size
Identifiers
Internal Access Modifier
Primitive Type
6. Represents the encapsulation of data and behaviors into a single unit.
Static Class
Class
Inheritance
Just-in-time (JIT
7. A Class that can only have Static Members
int - .NET alias
Equality Operator
Static Class
Syntax
8. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.
Partial Method Modifier
Inheritance
Syntax
uint - Size
9. 16 bit - signed integer data (-32768 to 32767)
Assignment Operator
Expression
short - Size
Value Type
10. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class
returnType methodName (parameterList)
short - Size
Dot Notation
CLR
11. Command which runs repeatedly while (some) condition is true.
Primitive
FCL
While Statement
Assembly
12. 16 bit - unsigned integer data (0 to 65535)
While Statement
ushort - Size
Assembly
Primitive Type
13. 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'.
Visual Studio Solution
While Statement
Textbox
Partial Class Modifier
14. Framework Class Library
Abstraction
Inheritance
Label
FCL
15. A Member that cannot be accessed/invoked through an Object Instance.
int - .NET alias
Static Member
Data structures
Variable
16. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
Textbox
Boolean - Size
Double (or double) - Size
17. Mathematical (+ or - or / or %)
short - .NET alias
Class
Assembly
Operator
18. Field whose value can never change. Declared with 'const' keyword
Inheritance
byte - Size
Constant
Primitive Type
19. (== or !=)
Precedence
Equality Operator
Framework Class Library (FCL)
Keyword
20. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
Dot Notation
Conditional Operator
Static Member
21. System.Double
Partial Method Modifier
double - .NET alias
Expression
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
22. 64 bit integer data
bool - Size
Inheritance
r
Int64 - Size
23. A Class that cannot be instantiated.
Base Class
Static Class
Primitive Type
Stack
24. System.Int64
Identifiers
Window.xaml.cs
long - .NET alias
Unary Operator
25. 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.
Encapsulation
Expression
Primitive
Heap
26. Compilation of classes. In C# Usually ends in .dll or .exe
Class aka Type
Assembly
sbyte - .NET alias
byte - Size
27. System.Byte
int - Size
Intermediate Language (IL)
byte - .NET alias
Static Class
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
ulong - .NET alias
short - Size
Heap
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
29. A method that is called whenever an Object is created. The method uses the same name as the Class.
sbyte - .NET alias
short - .NET alias
Protected Internal Access Modifier
Constructor
30. 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.
csc.exe
decimal - .NET alias
CLR
Abstract Method Modifier
31. Command Language Runtime
Class aka Type
Intermediate Language (IL)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
CLR
32. A type of statement that produces a value that might be tested or assigned to a variable.
Abstract Method Modifier
Incrementing / Decrementing Variables
Expression
CLR
33. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
If Statement
Array
Operator
Comments
34. Represents date and time data with a 100 ns resolution
Operator
Parameter aka Argument
DateTime
Expression
35. 32 bit integer data
W.P.F
Framework Class Library (FCL)
int - .NET alias
Int32 - Size
36. 8 bit - unsigned byte (0 - 255)
byte - Size
JITer
byte - .NET alias
Statement
37. Something that has a different number of parameters to it's predecessor
Precedence
Identifiers
decimal - .NET alias
Overloaded Method
38. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Class Statement
Operator
using
C#
39. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Assembly
If Statement
Visual Studio Solution
Equality Operator
40. The process of compiling IL source into CPU-native code for execution.
Decimal (or decimal) - Size
Just-in-time (JIT
Program
Stack
41. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Operator
Intermediate Language (IL)
NET
JITer
42. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Operator
Boolean Operator
Variable
Precedence
43. 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.
decimal - .NET alias
Abstract Class Modifier
Partial Method Modifier
byte - Size
44. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Encapsulation
Reference Type
int - Size
45. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
JIT
Statement
Incrementing / Decrementing Variables
Identifiers
46. System.Single
Textbox
Operator
float - .NET alias
Abstraction
47. 64 bit - unsigned integer data
Encapsulation
Method
Internal Access Modifier
ulong - Size
48. System.Decimal
decimal - .NET alias
Static Class
Encapsulation
Abstract Method Modifier
49. (= or += or -= or = or /=)
uint - .NET alias
Class
byte - Size
Assignment Operator
50. Text as Unicode characters
Strong Typing
String (or string)
Expression
Derived Class