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. 32 bit integer data
Operator
int - Size
short - Size
Partial Class Modifier
2. The member type of a Class that performs an action.
Method
char - .NET alias
Class
FCL
3. A Class that can only have Static Members
Conditional Operator
Window.xaml.cs
decimal - .NET alias
Static Class
4. A Class that inherits characteristics from another Class.
C#
short - .NET alias
Stack
Derived Class
5. Must have a data type
Public Keyword
Intermediate Language (IL)
Array
Variable (C# requirements)
6. Field whose value can never change. Declared with 'const' keyword
Syntax
Just-in-time (JIT
Constant
Dot Notation
7. The process of hiding and restricting access to the implementation details of a data structure.
Incrementing / Decrementing Variables
Expression
sbyte - Size
Encapsulation
8. Windows Presentation Foundation
W.P.F
Heap
Decimal (or decimal) - Size
References (Visual Studio Solution
9. System.SByte
Stack
sbyte - .NET alias
Inheritance
int - .NET alias
10. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Static Class
Comments
Textbox
Variable
11. The "Type" name of data that is stored on the Stack
If Statement
Identifiers
Value Type
char - .NET alias
12. 64 bit - unsigned integer data
ulong - Size
Public Keyword
Precedence
Variable
13. 128 bit fixed precision (financial)
Framework Class Library (FCL)
Decimal (or decimal) - Size
W.P.F
Constructor
14. Only requires one operand usually a count+1 or a count++ or a count--
Method
Unary Operator
Parameter aka Argument
Statement
15. Introduces a new class. Marked by curly brackets { }
Just-in-time (JIT
Protected Internal Access Modifier
Expression
Class Statement
16. 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)
Precedence
Syntax
Identifiers
17. 16 bit - signed integer data (-32768 to 32767)
byte - .NET alias
Expression
FCL
short - Size
18. The "Type" name of data that is stored on the Heap
Field
Reference Type
Inheritance
Incrementing / Decrementing Variables
19. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Comments
Properties
double - .NET alias
Variable
20. 16 bit- unsigned word (U+0000 to U+ffff)
float - .NET alias
Protected Access Modifier
Static Class
char - Size
21. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Overloaded Method
Int32 - Size
Object
Expression
22. System.UInt32
Heap
uint - .NET alias
String (or string)
Encapsulation
23. System.Int32
Field
int - .NET alias
sbyte - Size
returnType methodName (parameterList)
24. The process of compiling IL source into CPU-native code for execution.
Primitive
C#
Constructor
Just-in-time (JIT
25. A method that is called whenever an Object is created. The method uses the same name as the Class.
Float (or float) - Size
double - .NET alias
Public Keyword
Constructor
26. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Stack
C#
Properties
Statement
27. A symbol that specifies an operation to be performed on one or more variables.
Operator
Strong Typing
Array
Inheritance
28. Access is limited to the current Assembly
Class Statement
Array
C#
Internal Access Modifier
29. (&& or || or & or |)
Value Type
Static Class
Conditional Operator
Inheritance
30. System.Decimal
Variable
Precedence
decimal - .NET alias
Class aka Type
31. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Incrementing / Decrementing Variables
Abstraction
Comments
uint - .NET alias
32. Sits behind GUI (Graphical User Interface) and provides event listeners
Operator
Window.xaml.cs
Private Access Modifier
JITer
33. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Assembly
Static Class
Data structures
Int64 - Size
34. Represents date and time data with a 100 ns resolution
Assembly
Parameter aka Argument
DateTime
Operator
35. Mathematical (+ or - or / or %)
Operator
Incrementing / Decrementing Variables
ulong - Size
Visual Studio Solution
36. A type of statement that produces a value that might be tested or assigned to a variable.
Comments
Decimal (or decimal) - Size
Expression
byte - Size
37. Represents the encapsulation of data and behaviors into a single unit.
Variable
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Field
Class
38. 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.
Variable
Expression
Constant
Method
39. System.UInt64
Inheritance
byte - Size
Int64 - Size
ulong - .NET alias
40. Command which runs repeatedly while (some) condition is true.
While Statement
Statement
Virtual Method Modifier
char - .NET alias
41. System.UInt16
Boolean Operator
Abstract Method Modifier
ushort - .NET alias
C#
42. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
double - .NET alias
Public Keyword
Keyword
Stack
43. System.Int64
Data structures
Textbox
String (or string)
long - .NET alias
44. 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.
Variable
Virtual Method Modifier
Encapsulation
Abstraction
45. 64 bit double precision floating point data
Variable (C# requirements)
Double (or double) - Size
Abstract Method Modifier
Expression
46. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Boolean Operator
Primitive
Public Keyword
char - .NET alias
47. Keyword which exposes members to other classes OR Identifier which makes program elements public
uint - .NET alias
Polymorphism
Operator
Public Keyword
48. 8 bit - unsigned byte (0 - 255)
char - .NET alias
Framework Class Library (FCL)
byte - Size
double - .NET alias
49. 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.
Framework Class Library (FCL)
FCL
Internal Access Modifier
Identifiers
50. 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
Protected Access Modifier
Heap
ulong - Size
Array