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. 16 bit - signed integer data (-32768 to 32767)
short - Size
Inheritance
Boolean - Size
Stack
2. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Inheritance
Int32 - Size
Keyword
3. A Class that cannot be instantiated.
Static Class
Primitive
Abstract Class Modifier
Variable (C# requirements)
4. Windows Presentation Foundation
W.P.F
sbyte - .NET alias
Object
Framework Class Library (FCL)
5. count = count+1 or count++ or count__. Both count variables are Unary Operators
Abstract Class Modifier
Incrementing / Decrementing Variables
short - .NET alias
Static Member
6. Code which signifies a carriage return. Symbolises a new line in a text box.
Primitive Type
r
IDE
Constant
7. Names reserved by the compiler that coders are not allowed to use as identifiers.
r
Strong Typing
Keyword
Incrementing / Decrementing Variables
8. 32 bit single precision floating point data
Float (or float) - Size
Method
long - Size
Identifiers
9. Must have a data type
Abstract Class Modifier
Variable (C# requirements)
int - Size
Incrementing / Decrementing Variables
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.
Namespace
returnType methodName (parameterList)
Namespace
Inheritance
11. System.Decimal
Virtual Method Modifier
Assembly
decimal - .NET alias
Int32 - Size
12. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Class
NET
Expression
Operator
13. Represents the encapsulation of data and behaviors into a single unit.
Class
FCL
Sealed Class
Method
14. Used to display text that end user does not need to edit.
r
Label
Float (or float) - Size
uint - .NET alias
15. 8 bit - signed byte (-128 - 127)
short - Size
Heap
sbyte - Size
DateTime
16. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Float (or float) - Size
Stack
int - .NET alias
Int32 - Size
17. Sits behind GUI (Graphical User Interface) and provides event listeners
Assembly
If Statement
Window.xaml.cs
Static Class
18. 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
Intermediate Language (IL)
FCL
Int64 - Size
Object
19. 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.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
ushort - Size
Window.xaml.cs
Encapsulation
20. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Equality Operator
Polymorphism
Namespace
C#
21. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
r
Class Statement
Visual Studio Solution
22. Container for one or more Visual Studio Projects.
Object
NET
Visual Studio Solution
Window.xaml.cs
23. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Abstraction
returnType methodName (parameterList)
Double (or double) - Size
24. Restricts access to a Member to the current Class.
Variable
Parameter aka Argument
Primitive
Private Access Modifier
25. A Class that can only have Static Members
Public Keyword
Static Class
Variable (C# requirements)
Heap
26. 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.
using
sbyte - .NET alias
Partial Method Modifier
Incrementing / Decrementing Variables
27. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
Value Type
Primitive Type
Virtual Method Modifier
28. Extra information within a method
Parameter aka Argument
Derived Class
Constructor
using
29. A Class that cannot be Inherited
Operator
Sealed Class
Class
uint - .NET alias
30. 8 bit - unsigned byte (0 - 255)
Reference Type
Unary Operator
byte - Size
DateTime
31. 64 bit - unsigned integer data
Value Type
ulong - Size
Constructor
Operator
32. Just-in-time compilation
JIT
char - Size
using
String (or string)
33. A Member that cannot be accessed/invoked through an Object Instance.
Variable (C# requirements)
JITer
int - .NET alias
Static Member
34. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Class aka Type
Protected Internal Access Modifier
References (Visual Studio Solution
Statement
35. When a sub class passes down all the behaviours of the original parent class
Operator
Private Access Modifier
Inheritance
IDE
36. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Operator
Label
Data structures
Array
37. System.UInt64
using
Common Language Runtime (CLR)
Just-in-time (JIT
ulong - .NET alias
38. Symbols which transform and combine expressions
Int64 - Size
Operator
Unary Operator
Polymorphism
39. 16 bit - unsigned integer data (0 to 65535)
Sealed Class
Field
FCL
ushort - Size
40. 128 bit fixed precision (financial)
byte - .NET alias
Conditional Operator
Unary Operator
Decimal (or decimal) - Size
41. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Base Class
Class
Dot Notation
42. Microsoft's generic software framework for application development.
Expression
NET
Boolean Operator
Static Member
43. System.Int16
Object
short - .NET alias
Namespace
While Statement
44. 32 bit integer data
Heap
Boolean Operator
Int32 - Size
Primitive
45. true or false
Class
Unary Operator
Abstract Method Modifier
bool - Size
46. 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.
Statement
Variable
sbyte - Size
Keyword
47. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
Inheritance
r
Int64 - Size
48. System.Int64
FCL
Window.xaml.cs
long - .NET alias
Textbox
49. Groups classes together so that they have a unique identifier
sbyte - .NET alias
int - .NET alias
Namespace
While Statement
50. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Operator
Assembly
Virtual Method Modifier
If Statement