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. System.Char
Relational Operator
short - .NET alias
Class
char - .NET alias
2. Integrated Development Environment
IDE
Reference Type
Polymorphism
Class Statement
3. When a sub class passes down all the behaviours of the original parent class
Method
Value Type
Class Statement
Inheritance
4. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Polymorphism
Double (or double) - Size
Object
Precedence
5. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
decimal - .NET alias
Precedence
Public Keyword
6. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
short - .NET alias
bool - Size
Boolean Operator
7. Sits behind GUI (Graphical User Interface) and provides event listeners
Class Statement
Statement
Window.xaml.cs
Keyword
8. Compilation of classes. In C# Usually ends in .dll or .exe
Internal Access Modifier
Assembly
Namespace
Object
9. Contains the class definitions that allow access to the functionality provided by .NET.
sbyte - .NET alias
Framework Class Library (FCL)
Field
short - Size
10. 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.
Encapsulation
Partial Method Modifier
Reference Type
Operator
11. 8 bit - signed byte (-128 - 127)
ushort - .NET alias
sbyte - Size
Virtual Method Modifier
Constructor
12. Represents date and time data with a 100 ns resolution
Operator
Field
DateTime
Parameter aka Argument
13. Variables defined by a class
Value Type
Inheritance
Field
Properties
14. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
Properties
Textbox
Abstract Class Modifier
15. A Class that can only have Static Members
JIT
Static Class
Protected Internal Access Modifier
Decimal (or decimal) - Size
16. 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.
Partial Method Modifier
Parameter aka Argument
Console Application
CLR
17. Allows the definition of a Class to span multiple files (within the same Project)
char - Size
Primitive Type
Console Application
Partial Class Modifier
18. System.UInt32
Expression
Textbox
uint - .NET alias
Program
19. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
int - Size
Parameter aka Argument
Textbox
Stack
20. The lowest level or fundamental data types needed for representing data.
Primitive Type
Intermediate Language (IL)
Precedence
Variable
21. 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
Overloaded Method
Object
C#
Dot Notation
22. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
long - Size
Data structures
Polymorphism
Int32 - Size
23. (< or > or <= or >=)
Boolean Operator
Window.xaml.cs
Relational Operator
csc.exe
24. (&& or || or & or |)
Conditional Operator
long - Size
String (or string)
While Statement
25. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
decimal - .NET alias
Textbox
Float (or float) - Size
Assembly
26. Microsoft's generic software framework for application development.
NET
Label
Strong Typing
Abstract Class Modifier
27. System.Byte
byte - .NET alias
Variable
Class Statement
char - Size
28. Introduces a new class. Marked by curly brackets { }
Class Statement
Heap
Object
Reference Type
29. 128 bit fixed precision (financial)
Boolean Operator
Decimal (or decimal) - Size
Partial Class Modifier
Console Application
30. 64 bit - unsigned integer data
ulong - Size
Method
uint - Size
Polymorphism
31. true or false
Float (or float) - Size
Boolean - Size
Polymorphism
Intermediate Language (IL)
32. System.Int32
int - .NET alias
Primitive
sbyte - Size
double - .NET alias
33. Field whose value can never change. Declared with 'const' keyword
Constant
Label
Derived Class
Expression
34. 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.
Data structures
Keyword
Abstract Method Modifier
Private Access Modifier
35. 64 bit double precision floating point data
Precedence
Method
Double (or double) - Size
Operator
36. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Inheritance
Assembly
Operator
37. The "Type" name of data that is stored on the Heap
Console Application
Reference Type
Array
Keyword
38. Used to display text that end user does not need to edit.
DateTime
Label
uint - Size
char - Size
39. 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.
Variable
Method
long - Size
Inheritance
40. The "Type" name of data that is stored on the Stack
Int32 - Size
ulong - .NET alias
using
Value Type
41. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Static Class
Partial Class Modifier
sbyte - .NET alias
Statement
42. System.UInt16
Abstraction
Virtual Method Modifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
ushort - .NET alias
43. The process of compiling IL source into CPU-native code for execution.
Method
using
Just-in-time (JIT
sbyte - .NET alias
44. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Variable
JITer
Textbox
45. Series of instructions which tell a computer what to do.
Program
Overloaded Method
Base Class
Variable
46. 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
Operator
Variable
Precedence
Heap
47. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Operator
Protected Internal Access Modifier
Expression
48. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
JIT
Object
r
Intermediate Language (IL)
49. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
ulong - Size
Assembly
JITer
References (Visual Studio Solution
50. Symbols which transform and combine expressions
Field
Syntax
Operator
Namespace