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. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
JITer
Partial Class Modifier
Variable
Namespace
2. System.Int64
Inheritance
Assignment Operator
long - .NET alias
Strong Typing
3. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
sbyte - .NET alias
ushort - Size
decimal - .NET alias
4. System.SByte
sbyte - .NET alias
Static Class
Textbox
Relational Operator
5. A Class that can only have Static Members
Unary Operator
Static Class
Expression
Variable (C# requirements)
6. 16 bit - unsigned integer data (0 to 65535)
short - .NET alias
Abstract Class Modifier
Encapsulation
ushort - Size
7. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Partial Class Modifier
decimal - .NET alias
Label
Intermediate Language (IL)
8. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Array
Method
Partial Class Modifier
Precedence
9. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
JIT
ushort - .NET alias
Virtual Method Modifier
Array
10. count = count+1 or count++ or count__. Both count variables are Unary Operators
Class aka Type
Incrementing / Decrementing Variables
Inheritance
Abstraction
11. Something that has a different number of parameters to it's predecessor
References (Visual Studio Solution
Overloaded Method
csc.exe
bool - Size
12. Must have a data type
Variable (C# requirements)
ulong - .NET alias
Operator
Static Member
13. System.Decimal
Array
Internal Access Modifier
Inheritance
decimal - .NET alias
14. System.UInt32
Variable (C# requirements)
Variable
Intermediate Language (IL)
uint - .NET alias
15. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Namespace
ulong - Size
Just-in-time (JIT
16. Restricts access to a Member to the current Class.
Value Type
C#
Private Access Modifier
byte - Size
17. Names reserved by the compiler that coders are not allowed to use as identifiers.
Field
IDE
Keyword
ulong - .NET alias
18. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
ulong - .NET alias
Value Type
If Statement
Abstraction
19. 32 bit - unsigned integer data
uint - Size
Operator
Overloaded Method
r
20. System.Int16
long - .NET alias
short - .NET alias
Sealed Class
Properties
21. Windows Presentation Foundation
Sealed Class
FCL
float - .NET alias
W.P.F
22. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Label
Properties
Expression
Comments
23. 64 bit integer data
Int64 - Size
r
Float (or float) - Size
Operator
24. 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.
Assembly
Decimal (or decimal) - Size
Encapsulation
Expression
25. Contains the class definitions that allow access to the functionality provided by .NET.
byte - Size
Unary Operator
Framework Class Library (FCL)
Properties
26. The process of hiding and restricting access to the implementation details of a data structure.
Expression
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Encapsulation
Common Language Runtime (CLR)
27. Groups classes together so that they have a unique identifier
C#
Method
Namespace
Label
28. A Class that cannot be instantiated.
r
Assembly
Textbox
Static Class
29. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Abstract Method Modifier
Parameter aka Argument
JITer
30. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Data structures
Console Application
Abstraction
C#
31. 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)
Static Class
int - Size
Boolean Operator
Primitive Type
32. 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.
Internal Access Modifier
Syntax
csc.exe
Method
33. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
byte - Size
Program
Visual Studio Solution
34. System.Single
Window.xaml.cs
float - .NET alias
byte - Size
Inheritance
35. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Encapsulation
Window.xaml.cs
Internal Access Modifier
Abstraction
36. Text as Unicode characters
r
CLR
Class Statement
String (or string)
37. Field whose value can never change. Declared with 'const' keyword
Object
Constant
Visual Studio Solution
Virtual Method Modifier
38. System.Double
References (Visual Studio Solution
double - .NET alias
String (or string)
Protected Access Modifier
39. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Class Statement
byte - .NET alias
Primitive
Comments
40. A symbol that specifies an operation to be performed on one or more variables.
Precedence
IDE
Console Application
Operator
41. 64 bit double precision floating point data
Double (or double) - Size
Virtual Method Modifier
Assignment Operator
ushort - Size
42. A Class that cannot be Inherited
decimal - .NET alias
Sealed Class
JITer
int - .NET alias
43. Represents date and time data with a 100 ns resolution
Partial Class Modifier
Label
DateTime
Constant
44. System.Byte
byte - .NET alias
Program
Virtual Method Modifier
bool - Size
45. The member type of a Class that performs an action.
Method
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Equality Operator
Namespace
46. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Int64 - Size
decimal - .NET alias
Stack
Int32 - Size
47. System.UInt64
Label
Framework Class Library (FCL)
ulong - .NET alias
Sealed Class
48. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Abstract Method Modifier
Common Language Runtime (CLR)
IDE
Inheritance
49. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
r
Int32 - Size
ushort - Size
Strong Typing
50. 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.
Sealed Class
Syntax
Int32 - Size
Variable