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. System.Byte
Window.xaml.cs
Just-in-time (JIT
byte - .NET alias
Label
2. Symbols which transform and combine expressions
Program
Virtual Method Modifier
Operator
Double (or double) - Size
3. (= or += or -= or = or /=)
Protected Access Modifier
bool - Size
Assignment Operator
If Statement
4. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Intermediate Language (IL)
Double (or double) - Size
ulong - .NET alias
5. (< or > or <= or >=)
sbyte - .NET alias
Relational Operator
Assignment Operator
r
6. Syntax of a C# Method
Operator
Incrementing / Decrementing Variables
Public Keyword
returnType methodName (parameterList)
7. 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)
Internal Access Modifier
Operator
char - .NET alias
8. count = count+1 or count++ or count__. Both count variables are Unary Operators
Primitive Type
sbyte - .NET alias
Incrementing / Decrementing Variables
Textbox
9. 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
Constructor
Object
decimal - .NET alias
If Statement
10. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
C#
W.P.F
Method
11. Microsoft's generic software framework for application development.
NET
Conditional Operator
ushort - .NET alias
char - .NET alias
12. System.SByte
Variable (C# requirements)
sbyte - .NET alias
long - Size
Primitive Type
13. The process of compiling IL source into CPU-native code for execution.
Float (or float) - Size
Overloaded Method
Keyword
Just-in-time (JIT
14. 64 bit integer data
W.P.F
Int64 - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Array
15. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Encapsulation
Abstraction
Console Application
using
16. Sits behind GUI (Graphical User Interface) and provides event listeners
Expression
C#
Window.xaml.cs
Primitive
17. Field whose value can never change. Declared with 'const' keyword
Abstraction
If Statement
Constant
Common Language Runtime (CLR)
18. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
W.P.F
Operator
Properties
Private Access Modifier
19. 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)
Relational Operator
NET
Boolean Operator
Variable
20. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Double (or double) - Size
Inheritance
Sealed Class
Precedence
21. Extra information within a method
Relational Operator
Framework Class Library (FCL)
JITer
Parameter aka Argument
22. Text as Unicode characters
Class Statement
String (or string)
Variable
Program
23. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
JIT
Static Class
Array
Class aka Type
24. The "Type" name of data that is stored on the Stack
Keyword
If Statement
Value Type
Dot Notation
25. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Keyword
Namespace
Abstraction
char - Size
26. 16 bit- unsigned word (U+0000 to U+ffff)
Int32 - Size
char - Size
Syntax
W.P.F
27. A method that is called whenever an Object is created. The method uses the same name as the Class.
W.P.F
Constructor
Class Statement
byte - .NET alias
28. 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.
FCL
decimal - .NET alias
Constructor
Encapsulation
29. 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
Inheritance
Heap
byte - .NET alias
byte - Size
30. Used to display text that end user does not need to edit.
Label
long - .NET alias
References (Visual Studio Solution
Derived Class
31. A Class that cannot be instantiated.
Window.xaml.cs
Dot Notation
Static Class
Assembly
32. 32 bit - unsigned integer data
Abstract Method Modifier
uint - Size
ulong - .NET alias
sbyte - Size
33. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Program
DateTime
Constructor
34. The "Type" name of data that is stored on the Heap
Sealed Class
W.P.F
Operator
Reference Type
35. Code which implements GUI (graphical User Interface).
Derived Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
decimal - .NET alias
ulong - .NET alias
36. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
returnType methodName (parameterList)
Int32 - Size
Abstract Class Modifier
37. 64 bit double precision floating point data
Static Class
Int32 - Size
Double (or double) - Size
uint - .NET alias
38. Command which runs repeatedly while (some) condition is true.
Constructor
While Statement
byte - Size
W.P.F
39. System.Single
float - .NET alias
long - Size
Virtual Method Modifier
Namespace
40. 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.
CLR
Identifiers
Heap
Base Class
41. The member type of a Class that performs an action.
Array
Method
Variable
Common Language Runtime (CLR)
42. (== or !=)
Parameter aka Argument
Equality Operator
Common Language Runtime (CLR)
Sealed Class
43. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Properties
uint - Size
IDE
44. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Label
References (Visual Studio Solution
JIT
Primitive
45. Command Language Runtime
Unary Operator
CLR
Assignment Operator
Base Class
46. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Static Member
Method
Primitive
JITer
47. The process of hiding and restricting access to the implementation details of a data structure.
Comments
Array
sbyte - Size
Encapsulation
48. Restricts access to a Member to the current Class and any Derived Class.
Int32 - Size
Partial Method Modifier
Protected Access Modifier
Decimal (or decimal) - Size
49. System.UInt16
ushort - .NET alias
char - Size
byte - Size
Assembly
50. Integrated Development Environment
Static Member
While Statement
ulong - .NET alias
IDE