SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
int - .NET alias
Encapsulation
Variable
2. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Relational Operator
Inheritance
Operator
3. 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.
Protected Access Modifier
String (or string)
Partial Class Modifier
Partial Method Modifier
4. System.UInt16
ushort - .NET alias
Label
Conditional Operator
short - .NET alias
5. The "Type" name of data that is stored on the Stack
Class aka Type
Value Type
ushort - Size
Incrementing / Decrementing Variables
6. Allows the definition of a Class to span multiple files (within the same Project)
JITer
Partial Class Modifier
W.P.F
ulong - .NET alias
7. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Constant
Expression
Keyword
Polymorphism
8. Access is limited to the current Assembly
Internal Access Modifier
Variable
ushort - Size
Equality Operator
9. Only requires one operand usually a count+1 or a count++ or a count--
W.P.F
Variable (C# requirements)
Unary Operator
Value Type
10. A Class from which other classes can inherit characteristics.
Base Class
Private Access Modifier
C#
NET
11. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Expression
Operator
Inheritance
Assembly
12. (= or += or -= or = or /=)
Assignment Operator
Abstraction
Expression
Int64 - Size
13. A Class that inherits characteristics from another Class.
If Statement
Derived Class
Method
Just-in-time (JIT
14. Restricts access to a Member to the current Class.
Static Member
IDE
Assembly
Private Access Modifier
15. Extra information within a method
Parameter aka Argument
Static Member
Operator
Array
16. Syntax of a C# Method
Intermediate Language (IL)
Stack
Window.xaml.cs
returnType methodName (parameterList)
17. 8 bit - unsigned byte (0 - 255)
byte - Size
char - .NET alias
References (Visual Studio Solution
char - Size
18. 64 bit - unsigned integer data
Partial Method Modifier
r
Abstract Method Modifier
ulong - Size
19. 64 bit integer data
Int64 - Size
Encapsulation
Derived Class
Visual Studio Solution
20. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
using
Static Class
String (or string)
21. (&& or || or & or |)
short - .NET alias
Conditional Operator
Console Application
Strong Typing
22. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Parameter aka Argument
Int32 - Size
Expression
While Statement
23. A Member that cannot be accessed/invoked through an Object Instance.
JITer
Static Member
Common Language Runtime (CLR)
Constant
24. Container for one or more Visual Studio Projects.
Visual Studio Solution
Protected Access Modifier
Class Statement
Variable
25. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
C#
Console Application
returnType methodName (parameterList)
Dot Notation
26. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
String (or string)
Label
Heap
using
27. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Textbox
float - .NET alias
Precedence
Properties
28. A Class that cannot be instantiated.
short - .NET alias
Sealed Class
Abstract Class Modifier
Static Class
29. The "Type" name of data that is stored on the Heap
Reference Type
W.P.F
Incrementing / Decrementing Variables
NET
30. 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)
Parameter aka Argument
Boolean Operator
Stack
Virtual Method Modifier
31. System.Char
Private Access Modifier
Derived Class
Encapsulation
char - .NET alias
32. A Class that can only have Static Members
int - .NET alias
Console Application
Value Type
Static Class
33. 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'.
Boolean - Size
Operator
Common Language Runtime (CLR)
Textbox
34. The member type of a Class that performs an action.
Incrementing / Decrementing Variables
Static Class
Method
ushort - .NET alias
35. 64 bit double precision floating point data
Operator
Double (or double) - Size
Sealed Class
Class
36. When a sub class passes down all the behaviours of the original parent class
Program
Expression
JIT
Inheritance
37. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Static Class
Int32 - Size
Encapsulation
38. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Class
Data structures
Boolean Operator
Expression
39. true or false
Heap
Primitive
bool - Size
C#
40. Used to display text that end user does not need to edit.
Statement
Constructor
Label
Int64 - Size
41. Sits behind GUI (Graphical User Interface) and provides event listeners
Double (or double) - Size
Internal Access Modifier
Window.xaml.cs
Inheritance
42. 16 bit- unsigned word (U+0000 to U+ffff)
Incrementing / Decrementing Variables
ushort - .NET alias
char - Size
While Statement
43. The process of compiling IL source into CPU-native code for execution.
Expression
Visual Studio Solution
short - .NET alias
Just-in-time (JIT
44. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
CLR
Primitive
short - .NET alias
45. Windows Presentation Foundation
Method
W.P.F
Program
byte - .NET alias
46. A type of statement that produces a value that might be tested or assigned to a variable.
Constant
Value Type
Statement
Expression
47. System.Int32
ulong - Size
Abstract Method Modifier
int - .NET alias
Parameter aka Argument
48. System.UInt64
Constructor
Assembly
Operator
ulong - .NET alias
49. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
char - Size
JITer
ulong - Size
Namespace
50. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
int - Size
Inheritance
uint - Size
W.P.F