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.Double
Object
Static Class
Constant
double - .NET alias
2. Field whose value can never change. Declared with 'const' keyword
ushort - .NET alias
Operator
Constant
Operator
3. A Class that cannot be Inherited
Sealed Class
Namespace
Reference Type
Incrementing / Decrementing Variables
4. A symbol that specifies an operation to be performed on one or more variables.
Operator
Comments
Constructor
Virtual Method Modifier
5. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Operator
Object
float - .NET alias
Abstraction
6. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Comments
Array
Console Application
Precedence
7. 128 bit fixed precision (financial)
Inheritance
Abstract Method Modifier
Decimal (or decimal) - Size
bool - Size
8. Code which signifies a carriage return. Symbolises a new line in a text box.
r
Class
Inheritance
sbyte - Size
9. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Operator
C#
Syntax
Inheritance
10. Represents the encapsulation of data and behaviors into a single unit.
Method
int - .NET alias
Class
Inheritance
11. 64 bit - unsigned integer data
Stack
ulong - Size
ushort - .NET alias
Inheritance
12. Access is limited to the current Assembly and Derived Types
Field
Statement
sbyte - Size
Protected Internal Access Modifier
13. Allows the definition of a Class to span multiple files (within the same Project)
Textbox
Data structures
Value Type
Partial Class Modifier
14. Used to display text that end user does not need to edit.
Just-in-time (JIT
char - Size
Constant
Label
15. true or false
Boolean - Size
Namespace
sbyte - Size
Common Language Runtime (CLR)
16. Symbols which transform and combine expressions
Intermediate Language (IL)
Operator
Overloaded Method
Int64 - Size
17. The .NET run-time environment that enables code to be compiled and executed.
If Statement
C#
Common Language Runtime (CLR)
Decimal (or decimal) - Size
18. Keyword which exposes members to other classes OR Identifier which makes program elements public
Boolean - Size
Conditional Operator
Public Keyword
Inheritance
19. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
Assignment Operator
Encapsulation
Keyword
20. 64 bit integer data
long - Size
ulong - Size
bool - Size
short - .NET alias
21. Sits behind GUI (Graphical User Interface) and provides event listeners
Value Type
Window.xaml.cs
DateTime
Class aka Type
22. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Program
Precedence
Field
23. The lowest level or fundamental data types needed for representing data.
Class Statement
CLR
int - .NET alias
Primitive Type
24. Introduces a new class. Marked by curly brackets { }
Class Statement
Operator
Inheritance
Assembly
25. Command Language Runtime
Textbox
CLR
Constant
Constructor
26. 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'.
Derived Class
Parameter aka Argument
Virtual Method Modifier
Textbox
27. A Class that cannot be instantiated.
Assembly
Static Class
Abstract Class Modifier
Stack
28. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Inheritance
Assignment Operator
Object
29. 64 bit integer data
Int64 - Size
String (or string)
int - Size
Expression
30. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
char - Size
Assembly
Data structures
Class aka Type
31. Extra information within a method
Parameter aka Argument
ushort - Size
Abstraction
Dot Notation
32. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Visual Studio Solution
Abstract Class Modifier
Dot Notation
String (or string)
33. Indicates that the Method can be overridden.
short - .NET alias
DateTime
Virtual Method Modifier
char - .NET alias
34. 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 (or decimal) - Size
byte - .NET alias
Object
Assignment Operator
35. Mathematical (+ or - or / or %)
Int32 - Size
Identifiers
Operator
Just-in-time (JIT
36. count = count+1 or count++ or count__. Both count variables are Unary Operators
Statement
Int64 - Size
Partial Class Modifier
Incrementing / Decrementing Variables
37. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Constant
While Statement
using
38. Groups classes together so that they have a unique identifier
sbyte - Size
JITer
Float (or float) - Size
Namespace
39. 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
Dot Notation
Derived Class
Field
Primitive Type
40. (== or !=)
Equality Operator
Virtual Method Modifier
Assembly
Static Class
41. A method that is called whenever an Object is created. The method uses the same name as the Class.
Keyword
Method
Constructor
Value Type
42. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Strong Typing
IDE
JITer
Intermediate Language (IL)
43. Restricts access to a Member to the current Class.
Derived Class
Private Access Modifier
Equality Operator
Object
44. A type of statement that produces a value that might be tested or assigned to a variable.
Static Class
byte - Size
Window.xaml.cs
Expression
45. 32 bit integer data
Incrementing / Decrementing Variables
Int32 - Size
char - .NET alias
Inheritance
46. 8 bit - signed byte (-128 - 127)
Static Class
sbyte - Size
Just-in-time (JIT
Float (or float) - Size
47. A Class that can only have Static Members
Statement
Inheritance
Operator
Static Class
48. Represents date and time data with a 100 ns resolution
Public Keyword
DateTime
Abstract Method Modifier
Expression
49. Allow access to types that exist in outside assemblies.
Stack
References (Visual Studio Solution
Static Class
Common Language Runtime (CLR)
50. System.Single
float - .NET alias
Constructor
C#
double - .NET alias