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 Heap
Reference Type
byte - .NET alias
Visual Studio Solution
Console Application
2. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
NET
bool - Size
using
3. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Heap
double - .NET alias
If Statement
4. System.Int32
Operator
Textbox
Assembly
int - .NET alias
5. Field whose value can never change. Declared with 'const' keyword
JITer
Constant
Protected Internal Access Modifier
uint - Size
6. A Class that cannot be instantiated.
Static Class
Primitive
Strong Typing
byte - Size
7. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Framework Class Library (FCL)
If Statement
byte - Size
Protected Internal Access Modifier
8. The lowest level or fundamental data types needed for representing data.
Conditional Operator
Class Statement
Inheritance
Primitive Type
9. A type of statement that produces a value that might be tested or assigned to a variable.
long - .NET alias
Program
Static Class
Expression
10. 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
Overloaded Method
Object
Operator
csc.exe
11. Code which signifies a carriage return. Symbolises a new line in a text box.
Constant
r
Keyword
Public Keyword
12. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Heap
Constant
Incrementing / Decrementing Variables
13. Represents the encapsulation of data and behaviors into a single unit.
Namespace
Sealed Class
Class
Operator
14. (= or += or -= or = or /=)
Assignment Operator
returnType methodName (parameterList)
FCL
bool - Size
15. Microsoft's generic software framework for application development.
NET
Stack
Reference Type
char - .NET alias
16. Indicates that the Method can be overridden.
CLR
Properties
Partial Class Modifier
Virtual Method Modifier
17. Must have a data type
Boolean - Size
Namespace
Variable (C# requirements)
Class
18. A representation of an area in the computer memory in which a value of a particular data type can be stored.
IDE
Static Member
Variable
Operator
19. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Base Class
sbyte - Size
C#
W.P.F
20. Just-in-time compilation
Identifiers
long - .NET alias
NET
JIT
21. System.UInt32
uint - .NET alias
Framework Class Library (FCL)
Abstract Method Modifier
Virtual Method Modifier
22. 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
Derived Class
Statement
r
23. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Relational Operator
Common Language Runtime (CLR)
Reference Type
24. Text as Unicode characters
Decimal (or decimal) - Size
Method
Variable (C# requirements)
String (or string)
25. System.UInt16
Just-in-time (JIT
Encapsulation
ushort - .NET alias
Primitive Type
26. Mathematical (+ or - or / or %)
Syntax
Virtual Method Modifier
Double (or double) - Size
Operator
27. Extra information within a method
short - .NET alias
byte - .NET alias
Statement
Parameter aka Argument
28. The process of hiding and restricting access to the implementation details of a data structure.
char - .NET alias
Base Class
Encapsulation
String (or string)
29. 64 bit double precision floating point data
Partial Method Modifier
Dot Notation
Double (or double) - Size
Sealed Class
30. Symbols which transform and combine expressions
Operator
Window.xaml.cs
Comments
Method
31. The process of compiling IL source into CPU-native code for execution.
NET
Just-in-time (JIT
Parameter aka Argument
Primitive
32. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Inheritance
Unary Operator
Visual Studio Solution
33. The .NET run-time environment that enables code to be compiled and executed.
Encapsulation
Common Language Runtime (CLR)
sbyte - .NET alias
Visual Studio Solution
34. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
uint - .NET alias
Equality Operator
decimal - .NET alias
35. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
long - .NET alias
Stack
Polymorphism
Primitive
36. System.Double
Overloaded Method
float - .NET alias
Private Access Modifier
double - .NET alias
37. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Comments
Variable
JIT
38. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Static Member
DateTime
C#
Properties
39. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.
Precedence
Static Member
Abstract Method Modifier
double - .NET alias
40. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Window.xaml.cs
Variable
sbyte - Size
41. A Class that inherits characteristics from another Class.
Program
Inheritance
returnType methodName (parameterList)
Derived Class
42. 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.
NET
decimal - .NET alias
Variable
uint - Size
43. 8 bit - unsigned byte (0 - 255)
Primitive Type
byte - Size
IDE
Conditional Operator
44. The "Type" name of data that is stored on the Stack
Value Type
using
Statement
int - Size
45. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Partial Class Modifier
Reference Type
Encapsulation
46. true or false
Variable (C# requirements)
csc.exe
Boolean - Size
Object
47. When a sub class passes down all the behaviours of the original parent class
Polymorphism
Assembly
Visual Studio Solution
Inheritance
48. 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'.
float - .NET alias
Float (or float) - Size
Textbox
Expression
49. Represents date and time data with a 100 ns resolution
Window.xaml.cs
Array
returnType methodName (parameterList)
DateTime
50. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Common Language Runtime (CLR)
Static Member
Operator