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. (= or += or -= or = or /=)
Relational Operator
IDE
Assignment Operator
Assembly
2. The "Type" name of data that is stored on the Stack
Sealed Class
Precedence
Value Type
float - .NET alias
3. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
sbyte - .NET alias
Parameter aka Argument
Stack
4. 16 bit - unsigned integer data (0 to 65535)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Expression
ushort - Size
Private Access Modifier
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'.
Stack
Overloaded Method
Identifiers
Textbox
6. Syntax of a C# Method
Boolean Operator
Internal Access Modifier
sbyte - Size
returnType methodName (parameterList)
7. A type of statement that produces a value that might be tested or assigned to a variable.
Decimal (or decimal) - Size
Namespace
ushort - .NET alias
Expression
8. System.Int64
Operator
Encapsulation
Abstract Class Modifier
long - .NET alias
9. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
JITer
Method
Expression
int - Size
10. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Data structures
Visual Studio Solution
sbyte - Size
11. A Class that cannot be instantiated.
Static Class
Partial Class Modifier
uint - .NET alias
Object
12. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
Operator
Class
Keyword
13. true or false
Polymorphism
Boolean - Size
Textbox
FCL
14. Used to display text that end user does not need to edit.
Label
Stack
Object
Assembly
15. 32 bit single precision floating point data
Float (or float) - Size
C#
Window.xaml.cs
Namespace
16. Microsoft's generic software framework for application development.
ushort - .NET alias
Variable (C# requirements)
NET
Double (or double) - Size
17. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Keyword
double - .NET alias
using
18. Sits behind GUI (Graphical User Interface) and provides event listeners
Expression
Object
Just-in-time (JIT
Window.xaml.cs
19. System.Int32
byte - .NET alias
int - .NET alias
Partial Method Modifier
While Statement
20. Introduces a new class. Marked by curly brackets { }
Precedence
Int64 - Size
r
Class Statement
21. System.UInt64
Constant
Abstraction
Namespace
ulong - .NET alias
22. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Textbox
JITer
While Statement
returnType methodName (parameterList)
23. The process of compiling IL source into CPU-native code for execution.
Method
Parameter aka Argument
ulong - Size
Just-in-time (JIT
24. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Assembly
Method
W.P.F
Polymorphism
25. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
ulong - .NET alias
Overloaded Method
Statement
r
26. The .NET run-time environment that enables code to be compiled and executed.
Expression
Common Language Runtime (CLR)
byte - .NET alias
Static Class
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
Precedence
Int32 - Size
Object
28. 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
Static Member
Object
short - .NET alias
Textbox
29. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
int - .NET alias
Textbox
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
30. Must have a data type
float - .NET alias
Variable (C# requirements)
Derived Class
Sealed Class
31. Compilation of classes. In C# Usually ends in .dll or .exe
CLR
Assembly
Float (or float) - Size
Primitive Type
32. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Data structures
Variable
DateTime
Intermediate Language (IL)
33. (&& or || or & or |)
Internal Access Modifier
Conditional Operator
Strong Typing
Object
34. 8 bit - unsigned byte (0 - 255)
Internal Access Modifier
Partial Class Modifier
byte - Size
Incrementing / Decrementing Variables
35. 64 bit integer data
r
W.P.F
long - Size
Value Type
36. Integrated Development Environment
Boolean Operator
IDE
Abstract Class Modifier
Constant
37. true or false
Derived Class
bool - Size
Textbox
Inheritance
38. Allow access to types that exist in outside assemblies.
Encapsulation
References (Visual Studio Solution
Reference Type
Variable
39. Only requires one operand usually a count+1 or a count++ or a count--
Operator
DateTime
Protected Access Modifier
Unary Operator
40. Field whose value can never change. Declared with 'const' keyword
If Statement
Program
Primitive Type
Constant
41. A symbol that specifies an operation to be performed on one or more variables.
Static Class
Operator
Statement
Int64 - Size
42. System.Double
double - .NET alias
ushort - .NET alias
byte - .NET alias
Class aka Type
43. Restricts access to a Member to the current Class.
Private Access Modifier
Int32 - Size
Statement
Framework Class Library (FCL)
44. A method that is called whenever an Object is created. The method uses the same name as the Class.
Framework Class Library (FCL)
Constructor
Operator
short - Size
45. 8 bit - signed byte (-128 - 127)
Intermediate Language (IL)
sbyte - Size
Framework Class Library (FCL)
char - Size
46. Allows the definition of a Class to span multiple files (within the same Project)
Variable
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Statement
Partial Class Modifier
47. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
uint - Size
W.P.F
Boolean Operator
Namespace
48. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Inheritance
Variable
Window.xaml.cs
Expression
49. 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
While Statement
Int64 - Size
sbyte - .NET alias
50. (== or !=)
Inheritance
Equality Operator
Static Class
sbyte - Size