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. A Class that inherits characteristics from another Class.
Derived Class
Keyword
Public Keyword
r
2. Microsoft's generic software framework for application development.
NET
returnType methodName (parameterList)
Statement
long - Size
3. Represents date and time data with a 100 ns resolution
byte - Size
C#
DateTime
IDE
4. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Expression
Private Access Modifier
Assembly
Precedence
5. System.Double
double - .NET alias
Relational Operator
Conditional Operator
Double (or double) - Size
6. Code which signifies a carriage return. Symbolises a new line in a text box.
Encapsulation
Incrementing / Decrementing Variables
Static Member
r
7. Syntax of a C# Method
Internal Access Modifier
Inheritance
Derived Class
returnType methodName (parameterList)
8. The .NET run-time environment that enables code to be compiled and executed.
Expression
Int64 - Size
Common Language Runtime (CLR)
Variable
9. Used to display text that end user does not need to edit.
Strong Typing
JITer
If Statement
Label
10. 64 bit - unsigned integer data
ulong - Size
Console Application
Static Member
Abstract Class Modifier
11. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
bool - Size
csc.exe
CLR
Constructor
12. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
DateTime
Parameter aka Argument
Abstract Class Modifier
Object
13. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
int - .NET alias
Precedence
Data structures
using
14. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
uint - .NET alias
Decimal (or decimal) - Size
Base Class
Strong Typing
15. Just-in-time compilation
JIT
Variable (C# requirements)
Primitive Type
Derived Class
16. Represents the encapsulation of data and behaviors into a single unit.
sbyte - Size
uint - .NET alias
Object
Class
17. A Class that can only have Static Members
Static Member
Boolean Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Static Class
18. The process of compiling IL source into CPU-native code for execution.
r
Constructor
Visual Studio Solution
Just-in-time (JIT
19. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Array
JITer
DateTime
Object
20. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Sealed Class
Class
C#
Partial Class Modifier
21. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Assembly
short - .NET alias
Just-in-time (JIT
22. 16 bit - signed integer data (-32768 to 32767)
String (or string)
Virtual Method Modifier
Dot Notation
short - Size
23. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
decimal - .NET alias
Namespace
Identifiers
Variable
24. System.SByte
Program
Variable (C# requirements)
sbyte - .NET alias
float - .NET alias
25. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Abstraction
Parameter aka Argument
Boolean Operator
Inheritance
26. Must have a data type
Variable (C# requirements)
Partial Class Modifier
Encapsulation
Array
27. 32 bit single precision floating point data
Properties
Namespace
Float (or float) - Size
JIT
28. Contains the class definitions that allow access to the functionality provided by .NET.
Variable
Data structures
Expression
Framework Class Library (FCL)
29. Introduces a new class. Marked by curly brackets { }
ushort - Size
Class Statement
ulong - .NET alias
Base Class
30. Indicates that the Method can be overridden.
Polymorphism
Private Access Modifier
Virtual Method Modifier
Overloaded Method
31. Mathematical (+ or - or / or %)
NET
Virtual Method Modifier
Object
Operator
32. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Operator
Properties
uint - Size
Class
33. Command Language Runtime
Comments
IDE
byte - .NET alias
CLR
34. 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
Assembly
int - Size
Public Keyword
Heap
35. Restricts access to a Member to the current Class and any Derived Class.
Class aka Type
Protected Access Modifier
Abstract Class Modifier
Primitive
36. The "Type" name of data that is stored on the Heap
Method
char - Size
CLR
Reference Type
37. 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
Strong Typing
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Dot Notation
Operator
38. 128 bit fixed precision (financial)
Textbox
Boolean Operator
Just-in-time (JIT
Decimal (or decimal) - Size
39. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Statement
Identifiers
Abstraction
Parameter aka Argument
40. Something that has a different number of parameters to it's predecessor
Inheritance
Relational Operator
Assignment Operator
Overloaded Method
41. A Member that cannot be accessed/invoked through an Object Instance.
Object
Namespace
Static Member
Int64 - Size
42. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Textbox
CLR
Expression
Internal Access Modifier
43. 32 bit - unsigned integer data
Console Application
int - .NET alias
byte - Size
uint - Size
44. Integrated Development Environment
short - .NET alias
Abstract Method Modifier
IDE
Operator
45. 32 bit integer data
Int32 - Size
Base Class
While Statement
double - .NET alias
46. System.Single
float - .NET alias
byte - .NET alias
JIT
decimal - .NET alias
47. 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
Object
bool - Size
Static Class
48. 32 bit integer data
long - Size
Namespace
int - Size
decimal - .NET alias
49. Series of instructions which tell a computer what to do.
Encapsulation
Program
Abstract Method Modifier
short - Size
50. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Framework Class Library (FCL)
Data structures
using