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.Single
Static Member
Method
References (Visual Studio Solution
float - .NET alias
2. Restricts access to a Member to the current Class.
Constructor
Statement
Private Access Modifier
C#
3. An instance of a class that exists at run-time and is typically referenced via a variable name.
Dot Notation
References (Visual Studio Solution
Virtual Method Modifier
Object
4. 64 bit double precision floating point data
Inheritance
Partial Class Modifier
Static Class
Double (or double) - Size
5. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
char - .NET alias
Statement
FCL
short - .NET alias
6. 32 bit - unsigned integer data
Static Class
uint - Size
Boolean - Size
Inheritance
7. System.Byte
JIT
Incrementing / Decrementing Variables
If Statement
byte - .NET alias
8. Contains the class definitions that allow access to the functionality provided by .NET.
Int32 - Size
Constant
NET
Framework Class Library (FCL)
9. Mathematical (+ or - or / or %)
Class aka Type
Inheritance
Precedence
Operator
10. (&& or || or & or |)
Conditional Operator
Boolean Operator
Expression
Label
11. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Properties
Stack
Polymorphism
Variable
12. Introduces a new class. Marked by curly brackets { }
Abstraction
Parameter aka Argument
Boolean - Size
Class Statement
13. Compilation of classes. In C# Usually ends in .dll or .exe
Sealed Class
Assembly
Common Language Runtime (CLR)
JIT
14. 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.
Array
Encapsulation
Overloaded Method
Strong Typing
15. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.
byte - Size
Variable (C# requirements)
Syntax
char - Size
16. The process of compiling IL source into CPU-native code for execution.
Common Language Runtime (CLR)
Just-in-time (JIT
Inheritance
Expression
17. System.Char
Static Class
Conditional Operator
sbyte - .NET alias
char - .NET alias
18. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Boolean Operator
If Statement
Private Access Modifier
Static Class
19. The member type of a Class that performs an action.
Class Statement
Method
Assembly
int - Size
20. Represents date and time data with a 100 ns resolution
uint - Size
DateTime
Console Application
returnType methodName (parameterList)
21. The "Type" name of data that is stored on the Heap
Comments
Reference Type
Primitive
Expression
22. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Partial Method Modifier
Label
Variable
Incrementing / Decrementing Variables
23. Command Language Runtime
Static Class
ulong - Size
CLR
Overloaded Method
24. 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
decimal - .NET alias
Object
Constant
Label
25. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Partial Class Modifier
Abstract Method Modifier
Encapsulation
26. A Class that cannot be Inherited
Label
double - .NET alias
Sealed Class
Assembly
27. Only requires one operand usually a count+1 or a count++ or a count--
Operator
Inheritance
Unary Operator
Assignment Operator
28. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
long - Size
Intermediate Language (IL)
Parameter aka Argument
29. A Member that cannot be accessed/invoked through an Object Instance.
Array
uint - .NET alias
Static Member
Window.xaml.cs
30. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Protected Internal Access Modifier
uint - .NET alias
using
Inheritance
31. System.UInt64
ulong - .NET alias
uint - Size
Float (or float) - Size
Virtual Method Modifier
32. Code which implements GUI (graphical User Interface).
Encapsulation
Constant
Window.xaml.cs
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
33. A Class that cannot be instantiated.
Protected Access Modifier
Visual Studio Solution
Static Class
C#
34. System.SByte
Operator
sbyte - .NET alias
Virtual Method Modifier
Inheritance
35. Field whose value can never change. Declared with 'const' keyword
Reference Type
Constant
Primitive Type
byte - Size
36. 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.
uint - Size
r
Statement
Abstract Method Modifier
37. Code which signifies a carriage return. Symbolises a new line in a text box.
Syntax
short - .NET alias
r
Parameter aka Argument
38. 16 bit- unsigned word (U+0000 to U+ffff)
W.P.F
Heap
Label
char - Size
39. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Polymorphism
long - Size
Primitive Type
C#
40. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Assembly
csc.exe
Internal Access Modifier
uint - Size
41. Allow access to types that exist in outside assemblies.
Stack
int - Size
References (Visual Studio Solution
Namespace
42. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Value Type
ulong - .NET alias
uint - .NET alias
43. Names used to identify program elements (e.g. namespaces & classes & methods & variables). Must always start with a letter. Always case sensitive. When multiword must be presented in CamelCase. keywords are an example of an identifier.
While Statement
Program
csc.exe
Identifiers
44. Access is limited to the current Assembly and Derived Types
Static Class
While Statement
Protected Internal Access Modifier
using
45. A Class that can only have Static Members
Abstract Method Modifier
short - Size
Static Class
Equality Operator
46. Syntax of a C# Method
Field
returnType methodName (parameterList)
Abstract Method Modifier
Class aka Type
47. Used to display text that end user does not need to edit.
Label
Encapsulation
Class Statement
Abstraction
48. 64 bit - unsigned integer data
ulong - Size
NET
Virtual Method Modifier
If Statement
49. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Private Access Modifier
Boolean Operator
Primitive
long - Size
50. 32 bit integer data
Int64 - Size
int - Size
Visual Studio Solution
Partial Class Modifier