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. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Relational Operator
uint - Size
Operator
2. 32 bit integer data
int - Size
Boolean - Size
Internal Access Modifier
ushort - .NET alias
3. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
References (Visual Studio Solution
float - .NET alias
Framework Class Library (FCL)
4. Symbols which transform and combine expressions
Operator
Conditional Operator
CLR
NET
5. A Class that cannot be instantiated.
long - Size
String (or string)
Static Class
Variable (C# requirements)
6. Only requires one operand usually a count+1 or a count++ or a count--
Syntax
Unary Operator
Int32 - Size
Comments
7. 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
Base Class
using
W.P.F
8. 8 bit - unsigned byte (0 - 255)
Assignment Operator
Window.xaml.cs
byte - Size
Variable
9. System.Char
long - .NET alias
Constant
Boolean - Size
char - .NET alias
10. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
byte - .NET alias
Equality Operator
Assembly
csc.exe
11. Allow access to types that exist in outside assemblies.
Framework Class Library (FCL)
Int32 - Size
char - .NET alias
References (Visual Studio Solution
12. System.UInt32
Keyword
csc.exe
uint - .NET alias
Public Keyword
13. System.Decimal
using
Constructor
decimal - .NET alias
Int64 - Size
14. Mathematical (+ or - or / or %)
bool - Size
Just-in-time (JIT
Console Application
Operator
15. System.Single
float - .NET alias
Sealed Class
short - .NET alias
Conditional Operator
16. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Label
Static Class
Equality Operator
C#
17. Most common kind of reference type. They define objects. They must have at least one method and one field.
Incrementing / Decrementing Variables
C#
Class aka Type
Method
18. A Class that cannot be Inherited
Reference Type
char - Size
Program
Sealed Class
19. Access is limited to the current Assembly
Internal Access Modifier
Overloaded Method
Expression
long - Size
20. Contains the class definitions that allow access to the functionality provided by .NET.
Public Keyword
Framework Class Library (FCL)
Boolean - Size
Private Access Modifier
21. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
r
ushort - Size
Primitive Type
22. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
long - .NET alias
Precedence
Double (or double) - Size
23. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Abstraction
Constant
Program
Inheritance
24. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Abstraction
Constant
Partial Method Modifier
Dot Notation
25. A type of statement that produces a value that might be tested or assigned to a variable.
FCL
Expression
Public Keyword
short - Size
26. 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
Window.xaml.cs
Encapsulation
uint - .NET alias
Dot Notation
27. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Boolean Operator
Value Type
Properties
28. System.Double
Statement
Label
double - .NET alias
short - .NET alias
29. true or false
Partial Class Modifier
Encapsulation
Strong Typing
Boolean - Size
30. 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.
Identifiers
Boolean - Size
Class
sbyte - .NET alias
31. Series of instructions which tell a computer what to do.
Assignment Operator
Program
Partial Class Modifier
Assembly
32. 16 bit - unsigned integer data (0 to 65535)
Abstract Class Modifier
ushort - Size
DateTime
float - .NET alias
33. 8 bit - signed byte (-128 - 127)
sbyte - Size
FCL
ushort - .NET alias
References (Visual Studio Solution
34. A Class that can only have Static Members
Static Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
CLR
Inheritance
35. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
ulong - .NET alias
Just-in-time (JIT
Public Keyword
36. count = count+1 or count++ or count__. Both count variables are Unary Operators
Strong Typing
Incrementing / Decrementing Variables
uint - .NET alias
Parameter aka Argument
37. Must have a data type
Variable (C# requirements)
Decimal (or decimal) - Size
FCL
Internal Access Modifier
38. Sits behind GUI (Graphical User Interface) and provides event listeners
Boolean - Size
ulong - Size
Window.xaml.cs
Polymorphism
39. Represents the encapsulation of data and behaviors into a single unit.
Static Member
JITer
Class
returnType methodName (parameterList)
40. Restricts access to a Member to the current Class.
Primitive Type
Stack
Private Access Modifier
Class aka Type
41. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
long - .NET alias
Comments
int - Size
Array
42. Container for one or more Visual Studio Projects.
Variable
Object
Visual Studio Solution
Int64 - Size
43. Groups classes together so that they have a unique identifier
Framework Class Library (FCL)
Partial Method Modifier
Namespace
FCL
44. Restricts access to a Member to the current Class and any Derived Class.
Console Application
ulong - Size
Protected Access Modifier
JITer
45. (< or > or <= or >=)
Relational Operator
Derived Class
Field
Window.xaml.cs
46. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
ushort - .NET alias
Encapsulation
long - .NET alias
47. A symbol that specifies an operation to be performed on one or more variables.
If Statement
Common Language Runtime (CLR)
Keyword
Operator
48. Field whose value can never change. Declared with 'const' keyword
Unary Operator
Reference Type
Inheritance
Constant
49. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
short - Size
Namespace
Encapsulation
50. Command Language Runtime
Abstract Class Modifier
References (Visual Studio Solution
Base Class
CLR