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 instantiated.
ulong - Size
Variable
Static Class
Window.xaml.cs
2. (&& or || or & or |)
Textbox
Equality Operator
short - .NET alias
Conditional Operator
3. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
ushort - .NET alias
Inheritance
int - Size
Precedence
4. A Class that cannot be Inherited
Variable
Inheritance
Sealed Class
Properties
5. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Int32 - Size
ushort - .NET alias
Keyword
JITer
6. A type of statement that produces a value that might be tested or assigned to a variable.
CLR
Abstract Method Modifier
Expression
Variable
7. 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
Equality Operator
Heap
short - Size
8. 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
Constructor
char - .NET alias
Object
9. Restricts access to a Member to the current Class.
Equality Operator
Array
Private Access Modifier
Double (or double) - Size
10. Microsoft's generic software framework for application development.
NET
short - Size
r
char - .NET alias
11. 32 bit single precision floating point data
Double (or double) - Size
Equality Operator
Float (or float) - Size
Decimal (or decimal) - Size
12. System.Single
uint - Size
float - .NET alias
Assembly
Inheritance
13. A method that is called whenever an Object is created. The method uses the same name as the Class.
Virtual Method Modifier
int - Size
DateTime
Constructor
14. A Class from which other classes can inherit characteristics.
csc.exe
Label
Base Class
Private Access Modifier
15. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Field
Unary Operator
Array
Precedence
16. The "Type" name of data that is stored on the Stack
Value Type
short - .NET alias
Expression
NET
17. 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.
References (Visual Studio Solution
int - .NET alias
W.P.F
Syntax
18. Command which runs repeatedly while (some) condition is true.
If Statement
Encapsulation
Comments
While Statement
19. Used to display text that end user does not need to edit.
Label
Polymorphism
char - Size
If Statement
20. Variables defined by a class
Primitive Type
Framework Class Library (FCL)
Field
Assembly
21. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
short - .NET alias
Strong Typing
Keyword
Variable (C# requirements)
22. System.Int64
Common Language Runtime (CLR)
long - .NET alias
Method
Visual Studio Solution
23. Introduces a new class. Marked by curly brackets { }
Expression
Just-in-time (JIT
Class Statement
Keyword
24. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Derived Class
Class
byte - Size
25. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
int - .NET alias
Comments
C#
26. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Encapsulation
Polymorphism
int - Size
Expression
27. 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
Internal Access Modifier
Variable
Double (or double) - Size
28. The process of compiling IL source into CPU-native code for execution.
csc.exe
Just-in-time (JIT
Derived Class
JIT
29. 32 bit integer data
Protected Internal Access Modifier
int - Size
Inheritance
While Statement
30. Names reserved by the compiler that coders are not allowed to use as identifiers.
Operator
Keyword
Encapsulation
Value Type
31. The .NET run-time environment that enables code to be compiled and executed.
Namespace
While Statement
Common Language Runtime (CLR)
Assembly
32. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.
Identifiers
double - .NET alias
Abstract Method Modifier
Heap
33. true or false
long - Size
bool - Size
Virtual Method Modifier
Dot Notation
34. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Intermediate Language (IL)
Array
Overloaded Method
References (Visual Studio Solution
35. true or false
sbyte - Size
Boolean - Size
Base Class
Statement
36. 32 bit - unsigned integer data
Assignment Operator
CLR
uint - Size
Primitive
37. A Class that inherits characteristics from another Class.
sbyte - Size
ushort - .NET alias
Derived Class
Precedence
38. Only requires one operand usually a count+1 or a count++ or a count--
Public Keyword
Primitive Type
JITer
Unary Operator
39. Code which implements GUI (graphical User Interface).
Assembly
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Intermediate Language (IL)
long - Size
40. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
While Statement
Class aka Type
Polymorphism
C#
41. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Common Language Runtime (CLR)
Overloaded Method
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
42. An instance of a class that exists at run-time and is typically referenced via a variable name.
Virtual Method Modifier
Variable (C# requirements)
Variable
Object
43. (= or += or -= or = or /=)
Window.xaml.cs
Namespace
Assignment Operator
Conditional Operator
44. Restricts access to a Member to the current Class and any Derived Class.
Partial Method Modifier
Assignment Operator
Protected Access Modifier
Stack
45. The process of hiding and restricting access to the implementation details of a data structure.
JIT
csc.exe
Encapsulation
Overloaded Method
46. System.Int16
Sealed Class
Parameter aka Argument
short - .NET alias
Reference Type
47. 64 bit integer data
int - .NET alias
Reference Type
long - Size
Dot Notation
48. 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.
Operator
Variable
Float (or float) - Size
Internal Access Modifier
49. Must have a data type
Sealed Class
FCL
Variable (C# requirements)
Identifiers
50. Most common kind of reference type. They define objects. They must have at least one method and one field.
Sealed Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Inheritance
Class aka Type