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. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Private Access Modifier
uint - .NET alias
Comments
Partial Class Modifier
2. A Class that cannot be instantiated.
IDE
Derived Class
Static Class
Float (or float) - Size
3. Keyword which exposes members to other classes OR Identifier which makes program elements public
Expression
Visual Studio Solution
Public Keyword
csc.exe
4. 32 bit integer data
IDE
Incrementing / Decrementing Variables
Int32 - Size
Protected Internal Access Modifier
5. (= or += or -= or = or /=)
uint - .NET alias
Operator
Variable
Assignment Operator
6. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Comments
Constant
Variable
7. Sits behind GUI (Graphical User Interface) and provides event listeners
FCL
Encapsulation
C#
Window.xaml.cs
8. System.Int64
Protected Access Modifier
Incrementing / Decrementing Variables
long - .NET alias
Operator
9. 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'.
Static Class
Method
Strong Typing
Textbox
10. Text as Unicode characters
csc.exe
Common Language Runtime (CLR)
bool - Size
String (or string)
11. 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
Assembly
Protected Internal Access Modifier
Keyword
12. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Public Keyword
Conditional Operator
Partial Class Modifier
Intermediate Language (IL)
13. Microsoft's generic software framework for application development.
Float (or float) - Size
Statement
Array
NET
14. The "Type" name of data that is stored on the Heap
Class aka Type
Console Application
Statement
Reference Type
15. The process of hiding and restricting access to the implementation details of a data structure.
Method
Encapsulation
Assignment Operator
Assembly
16. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Constant
Heap
Assembly
Inheritance
17. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Intermediate Language (IL)
short - Size
Textbox
Data structures
18. A Class from which other classes can inherit characteristics.
Reference Type
Base Class
Expression
bool - Size
19. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Program
Expression
Partial Class Modifier
Inheritance
20. 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
Boolean Operator
Equality Operator
Expression
Object
21. Syntax of a C# Method
uint - Size
Object
returnType methodName (parameterList)
Object
22. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
uint - Size
Object
Base Class
23. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Value Type
byte - Size
Polymorphism
Field
24. Compilation of classes. In C# Usually ends in .dll or .exe
Label
Assembly
long - Size
Encapsulation
25. Variables defined by a class
uint - Size
Field
returnType methodName (parameterList)
ushort - Size
26. An instance of a class that exists at run-time and is typically referenced via a variable name.
Class aka Type
Object
Boolean - Size
Class
27. 32 bit single precision floating point data
Intermediate Language (IL)
r
Framework Class Library (FCL)
Float (or float) - Size
28. 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.
Keyword
Primitive
Abstract Method Modifier
Program
29. true or false
Operator
Partial Method Modifier
Boolean - Size
References (Visual Studio Solution
30. A method that is called whenever an Object is created. The method uses the same name as the Class.
Base Class
Constructor
Heap
IDE
31. true or false
bool - Size
Encapsulation
Operator
Int64 - Size
32. 64 bit double precision floating point data
Partial Method Modifier
Double (or double) - Size
float - .NET alias
Protected Internal Access Modifier
33. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
IDE
Expression
Protected Internal Access Modifier
34. 32 bit - unsigned integer data
Framework Class Library (FCL)
Strong Typing
Textbox
uint - Size
35. Mathematical (+ or - or / or %)
Operator
Decimal (or decimal) - Size
Syntax
Comments
36. Command which runs repeatedly while (some) condition is true.
While Statement
Operator
Base Class
Int32 - Size
37. The member type of a Class that performs an action.
uint - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Console Application
Method
38. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Constructor
Method
Program
Visual Studio Solution
39. The "Type" name of data that is stored on the Stack
Value Type
Assembly
uint - .NET alias
Dot Notation
40. 16 bit - signed integer data (-32768 to 32767)
Statement
Identifiers
uint - .NET alias
short - Size
41. 64 bit integer data
Int64 - Size
Program
Partial Class Modifier
Assembly
42. (&& or || or & or |)
Keyword
Assignment Operator
Conditional Operator
Expression
43. Represents date and time data with a 100 ns resolution
short - Size
JITer
DateTime
Dot Notation
44. System.Single
float - .NET alias
Visual Studio Solution
Boolean Operator
r
45. (< or > or <= or >=)
float - .NET alias
Heap
ushort - Size
Relational Operator
46. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class
While Statement
Inheritance
Dot Notation
Static Class
47. The .NET run-time environment that enables code to be compiled and executed.
Parameter aka Argument
Double (or double) - Size
Common Language Runtime (CLR)
Syntax
48. 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
Framework Class Library (FCL)
Method
Heap
short - Size
49. The process of compiling IL source into CPU-native code for execution.
Object
Inheritance
Just-in-time (JIT
Class
50. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Field
short - Size
Assembly