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 "Type" name of data that is stored on the Stack
Variable
Common Language Runtime (CLR)
double - .NET alias
Value Type
2. System.Double
byte - Size
References (Visual Studio Solution
Class Statement
double - .NET alias
3. Mathematical (+ or - or / or %)
Sealed Class
Expression
Operator
ulong - Size
4. 32 bit - unsigned integer data
Value Type
short - Size
Incrementing / Decrementing Variables
uint - Size
5. Code which implements GUI (graphical User Interface).
JIT
Incrementing / Decrementing Variables
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Window.xaml.cs
6. 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
Heap
String (or string)
Inheritance
Equality Operator
7. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Partial Class Modifier
Abstract Method Modifier
ulong - Size
Inheritance
8. Container for one or more Visual Studio Projects.
Polymorphism
Inheritance
long - Size
Visual Studio Solution
9. (< or > or <= or >=)
JIT
Class
If Statement
Relational Operator
10. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
JIT
Incrementing / Decrementing Variables
Partial Method Modifier
C#
11. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Partial Method Modifier
NET
String (or string)
Variable
12. 128 bit fixed precision (financial)
IDE
long - .NET alias
Decimal (or decimal) - Size
Assignment Operator
13. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Public Keyword
Boolean Operator
ulong - Size
Stack
14. Symbols which transform and combine expressions
Operator
Assembly
Assignment Operator
Assembly
15. System.Decimal
Static Class
Internal Access Modifier
Strong Typing
decimal - .NET alias
16. The lowest level or fundamental data types needed for representing data.
W.P.F
If Statement
int - .NET alias
Primitive Type
17. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
W.P.F
Syntax
Constant
Strong Typing
18. System.UInt32
uint - .NET alias
long - .NET alias
Array
Overloaded Method
19. 32 bit integer data
Int32 - Size
If Statement
Heap
Object
20. Restricts access to a Member to the current Class.
Double (or double) - Size
While Statement
Private Access Modifier
Partial Class Modifier
21. true or false
int - Size
Statement
Decimal (or decimal) - Size
bool - Size
22. A Class that can only have Static Members
Static Class
Sealed Class
Operator
DateTime
23. (== or !=)
Conditional Operator
Expression
Protected Internal Access Modifier
Equality Operator
24. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
While Statement
Properties
Double (or double) - Size
Encapsulation
25. The "Type" name of data that is stored on the Heap
Int64 - Size
Label
Reference Type
Boolean - Size
26. 16 bit- unsigned word (U+0000 to U+ffff)
Expression
char - Size
Class aka Type
Encapsulation
27. A type of statement that produces a value that might be tested or assigned to a variable.
uint - .NET alias
Precedence
Expression
Static Class
28. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
uint - Size
Base Class
Object
29. Syntax of a C# Method
Namespace
Boolean - Size
Relational Operator
returnType methodName (parameterList)
30. Field whose value can never change. Declared with 'const' keyword
Primitive Type
Namespace
Data structures
Constant
31. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Statement
Conditional Operator
Abstract Class Modifier
32. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Visual Studio Solution
long - Size
Inheritance
Primitive
33. 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
Sealed Class
Double (or double) - Size
Abstraction
Dot Notation
34. A Class that inherits characteristics from another Class.
short - .NET alias
Class aka Type
Derived Class
Identifiers
35. System.Byte
Assembly
Data structures
DateTime
byte - .NET alias
36. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does
Object
char - .NET alias
Unary Operator
returnType methodName (parameterList)
37. 64 bit integer data
long - Size
Derived Class
Object
Virtual Method Modifier
38. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
CLR
Unary Operator
Private Access Modifier
39. A Class that cannot be Inherited
Comments
Sealed Class
Heap
using
40. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
Boolean Operator
Double (or double) - Size
Window.xaml.cs
Program
41. Access is limited to the current Assembly and Derived Types
Namespace
Incrementing / Decrementing Variables
Abstract Method Modifier
Protected Internal Access Modifier
42. An instance of a class that exists at run-time and is typically referenced via a variable name.
Framework Class Library (FCL)
Sealed Class
Abstract Class Modifier
Object
43. 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.
Primitive Type
Identifiers
Object
IDE
44. Used to display text that end user does not need to edit.
Encapsulation
Label
Overloaded Method
Private Access Modifier
45. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
If Statement
ulong - .NET alias
Console Application
46. A symbol that specifies an operation to be performed on one or more variables.
Operator
Method
Inheritance
Label
47. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
JITer
Abstract Class Modifier
C#
48. Represents the encapsulation of data and behaviors into a single unit.
Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Framework Class Library (FCL)
ushort - Size
49. Indicates that the Method can be overridden.
JIT
Parameter aka Argument
Virtual Method Modifier
Variable
50. The process of compiling IL source into CPU-native code for execution.
Virtual Method Modifier
Just-in-time (JIT
Expression
JITer