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.SByte
sbyte - .NET alias
int - Size
Virtual Method Modifier
Protected Internal Access Modifier
2. The "Type" name of data that is stored on the Stack
Value Type
DateTime
Data structures
csc.exe
3. Command Language Runtime
Variable
Object
CLR
DateTime
4. An instance of a class that exists at run-time and is typically referenced via a variable name.
Just-in-time (JIT
Dot Notation
Object
Constant
5. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
byte - Size
Protected Access Modifier
decimal - .NET alias
If Statement
6. System.UInt64
ulong - .NET alias
Operator
byte - .NET alias
Data structures
7. A method that is called whenever an Object is created. The method uses the same name as the Class.
Operator
Operator
Polymorphism
Constructor
8. Only requires one operand usually a count+1 or a count++ or a count--
Encapsulation
Class
Unary Operator
Abstract Method Modifier
9. Extra information within a method
Object
Method
Abstract Method Modifier
Parameter aka Argument
10. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Parameter aka Argument
Private Access Modifier
Dot Notation
Abstraction
11. 32 bit single precision floating point data
Conditional Operator
References (Visual Studio Solution
Decimal (or decimal) - Size
Float (or float) - Size
12. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Relational Operator
Namespace
Just-in-time (JIT
sbyte - .NET alias
13. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Variable (C# requirements)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Framework Class Library (FCL)
Textbox
14. Microsoft's generic software framework for application development.
NET
ulong - Size
Decimal (or decimal) - Size
Inheritance
15. Command which runs repeatedly while (some) condition is true.
Overloaded Method
csc.exe
char - Size
While Statement
16. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
long - .NET alias
DateTime
Object
Primitive
17. (< or > or <= or >=)
Heap
Assignment Operator
W.P.F
Relational Operator
18. 16 bit - unsigned integer data (0 to 65535)
Just-in-time (JIT
ushort - Size
long - Size
Operator
19. When a sub class passes down all the behaviours of the original parent class
Inheritance
Namespace
Assembly
returnType methodName (parameterList)
20. The lowest level or fundamental data types needed for representing data.
Primitive Type
returnType methodName (parameterList)
Object
Operator
21. Syntax of a C# Method
Just-in-time (JIT
Expression
char - .NET alias
returnType methodName (parameterList)
22. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Static Class
Strong Typing
returnType methodName (parameterList)
Assembly
23. 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
using
Object
Abstract Class Modifier
While Statement
24. Introduces a new class. Marked by curly brackets { }
Class Statement
short - Size
References (Visual Studio Solution
Static Class
25. Symbols which transform and combine expressions
Method
Framework Class Library (FCL)
sbyte - .NET alias
Operator
26. Windows Presentation Foundation
C#
W.P.F
Program
Base Class
27. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Object
Encapsulation
Array
short - .NET alias
28. 32 bit integer data
Int32 - Size
Base Class
Static Member
Boolean - Size
29. System.Int16
short - .NET alias
Polymorphism
int - Size
Partial Class Modifier
30. Framework Class Library
FCL
Class aka Type
Primitive Type
Framework Class Library (FCL)
31. Access is limited to the current Assembly
double - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Internal Access Modifier
short - .NET alias
32. 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
Primitive Type
Textbox
Dot Notation
DateTime
33. System.Int32
Reference Type
Label
bool - Size
int - .NET alias
34. System.Int64
Parameter aka Argument
Polymorphism
Operator
long - .NET alias
35. 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
Derived Class
C#
Heap
W.P.F
36. Names reserved by the compiler that coders are not allowed to use as identifiers.
Inheritance
Keyword
Precedence
Assembly
37. Container for one or more Visual Studio Projects.
ulong - Size
char - Size
Visual Studio Solution
Identifiers
38. Represents date and time data with a 100 ns resolution
Syntax
Program
DateTime
Assembly
39. System.UInt16
JITer
char - .NET alias
ushort - .NET alias
Abstract Class Modifier
40. A Class from which other classes can inherit characteristics.
Properties
sbyte - Size
Dot Notation
Base Class
41. Indicates that the Method can be overridden.
Virtual Method Modifier
double - .NET alias
ulong - Size
Identifiers
42. Used to display text that end user does not need to edit.
Label
Strong Typing
Intermediate Language (IL)
returnType methodName (parameterList)
43. A Class that cannot be Inherited
Sealed Class
Constructor
Relational Operator
JITer
44. The process of hiding and restricting access to the implementation details of a data structure.
Reference Type
Conditional Operator
Encapsulation
Assembly
45. 64 bit double precision floating point data
ulong - Size
NET
Class
Double (or double) - Size
46. 16 bit - signed integer data (-32768 to 32767)
Assembly
short - Size
char - Size
Statement
47. 64 bit integer data
Float (or float) - Size
Primitive
long - Size
Label
48. Must have a data type
Variable (C# requirements)
Parameter aka Argument
Textbox
Heap
49. (== or !=)
Boolean - Size
NET
Equality Operator
Relational Operator
50. A symbol that specifies an operation to be performed on one or more variables.
Namespace
Partial Method Modifier
Operator
Constructor