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. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
bool - Size
Conditional Operator
Static Class
Console Application
2. The "Type" name of data that is stored on the Stack
Value Type
short - .NET alias
Base Class
IDE
3. System.Decimal
decimal - .NET alias
Framework Class Library (FCL)
Virtual Method Modifier
Protected Access Modifier
4. 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
char - Size
Program
Object
Partial Method Modifier
5. System.Double
JIT
double - .NET alias
Strong Typing
Value Type
6. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
References (Visual Studio Solution
Precedence
Assembly
Just-in-time (JIT
7. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Keyword
Inheritance
ushort - .NET alias
Operator
8. A Class that can only have Static Members
int - .NET alias
int - Size
Static Class
Precedence
9. (&& or || or & or |)
If Statement
Sealed Class
Conditional Operator
While Statement
10. 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.
Visual Studio Solution
Abstract Method Modifier
Boolean Operator
Conditional Operator
11. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
bool - Size
Operator
Statement
12. Introduces a new class. Marked by curly brackets { }
Strong Typing
Class Statement
long - Size
Properties
13. A method that is called whenever an Object is created. The method uses the same name as the Class.
short - .NET alias
Constructor
Assembly
Inheritance
14. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Expression
using
int - .NET alias
Class
15. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
CLR
Intermediate Language (IL)
long - .NET alias
Console Application
16. (== or !=)
References (Visual Studio Solution
Assembly
Primitive
Equality Operator
17. Most common kind of reference type. They define objects. They must have at least one method and one field.
Partial Method Modifier
Class aka Type
W.P.F
r
18. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Protected Access Modifier
Comments
Encapsulation
Statement
19. (< or > or <= or >=)
Abstract Class Modifier
Just-in-time (JIT
Primitive
Relational Operator
20. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
DateTime
Syntax
Polymorphism
21. System.Single
Common Language Runtime (CLR)
using
Relational Operator
float - .NET alias
22. System.UInt16
Namespace
Encapsulation
ushort - .NET alias
Assignment Operator
23. Symbols which transform and combine expressions
Operator
Window.xaml.cs
Partial Method Modifier
ulong - .NET alias
24. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Array
Statement
Virtual Method Modifier
short - .NET alias
25. 16 bit- unsigned word (U+0000 to U+ffff)
Sealed Class
csc.exe
Namespace
char - Size
26. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Int64 - Size
Primitive
char - .NET alias
Abstraction
27. 64 bit integer data
Overloaded Method
long - Size
returnType methodName (parameterList)
Method
28. The member type of a Class that performs an action.
Expression
Stack
ushort - .NET alias
Method
29. Text as Unicode characters
String (or string)
Polymorphism
csc.exe
ulong - Size
30. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
short - .NET alias
csc.exe
Namespace
Inheritance
31. System.Int16
Derived Class
short - .NET alias
using
Conditional Operator
32. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Virtual Method Modifier
Base Class
Framework Class Library (FCL)
Polymorphism
33. System.SByte
sbyte - .NET alias
Assembly
Variable
using
34. An instance of a class that exists at run-time and is typically referenced via a variable name.
Operator
Object
Double (or double) - Size
Constructor
35. 64 bit double precision floating point data
Intermediate Language (IL)
Reference Type
Label
Double (or double) - Size
36. 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.
Method
Variable
Class aka Type
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
37. The lowest level or fundamental data types needed for representing data.
Partial Class Modifier
Program
NET
Primitive Type
38. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
W.P.F
Boolean Operator
char - .NET alias
NET
39. Names reserved by the compiler that coders are not allowed to use as identifiers.
Stack
using
Statement
Keyword
40. Framework Class Library
Internal Access Modifier
byte - .NET alias
FCL
Inheritance
41. Used to display text that end user does not need to edit.
Unary Operator
Assembly
Label
Framework Class Library (FCL)
42. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Abstract Class Modifier
char - .NET alias
Namespace
43. Indicates that the Method can be overridden.
Assignment Operator
Console Application
Virtual Method Modifier
Inheritance
44. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Window.xaml.cs
Encapsulation
Polymorphism
45. System.UInt64
ulong - .NET alias
Namespace
Just-in-time (JIT
Overloaded Method
46. Extra information within a method
DateTime
Object
Parameter aka Argument
sbyte - Size
47. The process of hiding and restricting access to the implementation details of a data structure.
Sealed Class
Encapsulation
Strong Typing
Private Access Modifier
48. Variables defined by a class
Virtual Method Modifier
Int64 - Size
ulong - .NET alias
Field
49. Microsoft's generic software framework for application development.
Precedence
Stack
uint - .NET alias
NET
50. System.Char
returnType methodName (parameterList)
csc.exe
char - .NET alias
Relational Operator