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 member type of a Class that performs an action.
Public Keyword
Encapsulation
Partial Class Modifier
Method
2. Only requires one operand usually a count+1 or a count++ or a count--
Common Language Runtime (CLR)
Int32 - Size
Method
Unary Operator
3. 64 bit integer data
Protected Access Modifier
JITer
long - Size
DateTime
4. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
using
sbyte - Size
Statement
ushort - Size
5. 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
JIT
Namespace
int - Size
6. 32 bit - unsigned integer data
Namespace
double - .NET alias
uint - Size
Constant
7. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
ulong - Size
Equality Operator
Keyword
8. (== or !=)
Primitive Type
CLR
Equality Operator
ulong - .NET alias
9. Variables defined by a class
sbyte - .NET alias
Field
Textbox
Boolean - Size
10. Access is limited to the current Assembly and Derived Types
String (or string)
Protected Internal Access Modifier
Operator
Abstraction
11. 32 bit single precision floating point data
Array
ushort - .NET alias
Namespace
Float (or float) - Size
12. 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
Reference Type
Comments
short - Size
Heap
13. A symbol that specifies an operation to be performed on one or more variables.
short - .NET alias
Method
FCL
Operator
14. When a sub class passes down all the behaviours of the original parent class
Variable (C# requirements)
Encapsulation
JIT
Inheritance
15. 32 bit integer data
Assembly
Int32 - Size
decimal - .NET alias
References (Visual Studio Solution
16. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Program
Window.xaml.cs
Just-in-time (JIT
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.
Syntax
Constant
References (Visual Studio Solution
Static Class
18. Most common kind of reference type. They define objects. They must have at least one method and one field.
Operator
JIT
Overloaded Method
Class aka Type
19. Symbols which transform and combine expressions
Console Application
FCL
Inheritance
Operator
20. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
short - .NET alias
JITer
NET
char - .NET alias
21. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
Reference Type
Assembly
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
22. Used to display text that end user does not need to edit.
Label
Relational Operator
Partial Method Modifier
Identifiers
23. System.Int32
int - .NET alias
sbyte - Size
Method
byte - Size
24. Allow access to types that exist in outside assemblies.
Protected Access Modifier
long - .NET alias
Double (or double) - Size
References (Visual Studio Solution
25. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
FCL
Just-in-time (JIT
Inheritance
DateTime
26. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Variable (C# requirements)
Expression
byte - Size
Operator
27. 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
Just-in-time (JIT
Int64 - Size
csc.exe
28. true or false
sbyte - .NET alias
Boolean - Size
Method
Assembly
29. Represents the encapsulation of data and behaviors into a single unit.
FCL
Class
Program
double - .NET alias
30. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
short - Size
Constant
Int64 - Size
31. Command which runs repeatedly while (some) condition is true.
While Statement
r
Framework Class Library (FCL)
ushort - .NET alias
32. Just-in-time compilation
Textbox
Variable (C# requirements)
JIT
int - .NET alias
33. The process of compiling IL source into CPU-native code for execution.
Assignment Operator
Derived Class
Just-in-time (JIT
Visual Studio Solution
34. (= or += or -= or = or /=)
Console Application
ushort - Size
Window.xaml.cs
Assignment Operator
35. Series of instructions which tell a computer what to do.
Namespace
Protected Access Modifier
Program
Heap
36. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
Decimal (or decimal) - Size
FCL
String (or string)
37. true or false
bool - Size
IDE
Primitive
Textbox
38. Indicates that the Method can be overridden.
Virtual Method Modifier
Class
Protected Access Modifier
JIT
39. 128 bit fixed precision (financial)
uint - Size
int - .NET alias
Decimal (or decimal) - Size
Namespace
40. A Member that cannot be accessed/invoked through an Object Instance.
Relational Operator
Static Member
Primitive
Protected Internal Access Modifier
41. 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.
Partial Method Modifier
Class aka Type
Strong Typing
References (Visual Studio Solution
42. Field whose value can never change. Declared with 'const' keyword
Sealed Class
Constant
Equality Operator
Array
43. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Console Application
Partial Class Modifier
Intermediate Language (IL)
44. Represents date and time data with a 100 ns resolution
W.P.F
DateTime
If Statement
Identifiers
45. System.SByte
byte - Size
sbyte - .NET alias
CLR
Syntax
46. System.UInt64
csc.exe
ulong - .NET alias
Assembly
Abstraction
47. (&& or || or & or |)
Object
Conditional Operator
Assembly
Parameter aka Argument
48. 64 bit double precision floating point data
Double (or double) - Size
If Statement
Float (or float) - Size
Sealed Class
49. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
If Statement
Identifiers
Strong Typing
50. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Reference Type
Relational Operator
sbyte - .NET alias
Abstract Class Modifier