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. When a sub class passes down all the behaviours of the original parent class
Incrementing / Decrementing Variables
Inheritance
ulong - .NET alias
Statement
2. Names reserved by the compiler that coders are not allowed to use as identifiers.
uint - Size
Properties
Keyword
using
3. true or false
DateTime
Boolean - Size
Parameter aka Argument
Unary Operator
4. Text as Unicode characters
String (or string)
Reference Type
FCL
Unary Operator
5. A type of statement that produces a value that might be tested or assigned to a variable.
Operator
Window.xaml.cs
Expression
Intermediate Language (IL)
6. A symbol that specifies an operation to be performed on one or more variables.
Operator
Double (or double) - Size
While Statement
Stack
7. Used to display text that end user does not need to edit.
Label
Assembly
While Statement
ulong - Size
8. Restricts access to a Member to the current Class and any Derived Class.
Object
Data structures
Protected Access Modifier
C#
9. Framework Class Library
Visual Studio Solution
Intermediate Language (IL)
Identifiers
FCL
10. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
returnType methodName (parameterList)
ushort - .NET alias
Abstraction
Visual Studio Solution
11. Variables defined by a class
ulong - .NET alias
Common Language Runtime (CLR)
Field
Int32 - Size
12. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Primitive Type
Namespace
sbyte - Size
13. System.Byte
short - .NET alias
Value Type
Operator
byte - .NET alias
14. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
FCL
csc.exe
Operator
Inheritance
15. 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.
Abstract Method Modifier
Decimal (or decimal) - Size
Polymorphism
Class Statement
16. 128 bit fixed precision (financial)
Static Class
Decimal (or decimal) - Size
Window.xaml.cs
uint - Size
17. (&& or || or & or |)
Properties
Inheritance
Label
Conditional Operator
18. 32 bit single precision floating point data
int - .NET alias
Abstract Method Modifier
Derived Class
Float (or float) - Size
19. Extra information within a method
sbyte - Size
DateTime
Internal Access Modifier
Parameter aka Argument
20. The "Type" name of data that is stored on the Heap
short - Size
Program
Protected Access Modifier
Reference Type
21. (== or !=)
Private Access Modifier
Equality Operator
Public Keyword
Label
22. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
long - .NET alias
int - Size
DateTime
Assembly
23. Mathematical (+ or - or / or %)
Derived Class
int - .NET alias
Conditional Operator
Operator
24. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Heap
NET
sbyte - .NET alias
Precedence
25. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Boolean Operator
Assembly
Window.xaml.cs
JITer
26. System.Decimal
decimal - .NET alias
byte - .NET alias
float - .NET alias
Strong Typing
27. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Keyword
using
Primitive
Syntax
28. A Class from which other classes can inherit characteristics.
Base Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Operator
Common Language Runtime (CLR)
29. Sits behind GUI (Graphical User Interface) and provides event listeners
short - Size
Window.xaml.cs
Constant
Float (or float) - Size
30. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
Namespace
byte - Size
Heap
31. The member type of a Class that performs an action.
Statement
Method
short - Size
Double (or double) - Size
32. A Class that cannot be instantiated.
W.P.F
Class Statement
Public Keyword
Static Class
33. The "Type" name of data that is stored on the Stack
Value Type
Common Language Runtime (CLR)
using
Expression
34. The process of compiling IL source into CPU-native code for execution.
Parameter aka Argument
Encapsulation
Expression
Just-in-time (JIT
35. 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
Label
Intermediate Language (IL)
Dot Notation
int - Size
36. (= or += or -= or = or /=)
Comments
Assignment Operator
Abstract Method Modifier
Assembly
37. Groups classes together so that they have a unique identifier
Protected Access Modifier
Operator
Relational Operator
Namespace
38. A Member that cannot be accessed/invoked through an Object Instance.
Properties
Static Member
Parameter aka Argument
Label
39. 32 bit - unsigned integer data
Heap
uint - Size
Double (or double) - Size
Window.xaml.cs
40. System.UInt32
Double (or double) - Size
short - .NET alias
Expression
uint - .NET alias
41. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Class aka Type
Primitive Type
Statement
double - .NET alias
42. Container for one or more Visual Studio Projects.
Dot Notation
Encapsulation
Visual Studio Solution
Method
43. 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'.
Namespace
Textbox
Assembly
Expression
44. Command which runs repeatedly while (some) condition is true.
Variable
While Statement
W.P.F
FCL
45. Access is limited to the current Assembly and Derived Types
Float (or float) - Size
Protected Internal Access Modifier
Keyword
ushort - .NET alias
46. The .NET run-time environment that enables code to be compiled and executed.
Assembly
Common Language Runtime (CLR)
Constant
Class aka Type
47. Just-in-time compilation
short - Size
Constant
JIT
Abstract Class Modifier
48. Integrated Development Environment
IDE
Partial Method Modifier
long - Size
csc.exe
49. System.UInt16
If Statement
Abstraction
ushort - .NET alias
Float (or float) - Size
50. Indicates that the Method can be overridden.
double - .NET alias
Overloaded Method
Virtual Method Modifier
Expression