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. (< or > or <= or >=)
char - .NET alias
Relational Operator
DateTime
int - Size
2. A Class from which other classes can inherit characteristics.
Operator
Primitive
Class
Base Class
3. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Abstraction
Class
Encapsulation
Properties
4. 64 bit integer data
long - Size
byte - .NET alias
Int64 - Size
Statement
5. A Class that cannot be Inherited
Equality Operator
Sealed Class
Operator
Incrementing / Decrementing Variables
6. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
bool - Size
ushort - Size
Sealed Class
7. Access is limited to the current Assembly
Internal Access Modifier
char - Size
Dot Notation
csc.exe
8. 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.
Window.xaml.cs
Float (or float) - Size
String (or string)
Abstract Method Modifier
9. The "Type" name of data that is stored on the Heap
uint - Size
Derived Class
bool - Size
Reference Type
10. Represents date and time data with a 100 ns resolution
Decimal (or decimal) - Size
Operator
DateTime
Intermediate Language (IL)
11. An instance of a class that exists at run-time and is typically referenced via a variable name.
Just-in-time (JIT
sbyte - .NET alias
returnType methodName (parameterList)
Object
12. System.Int16
Framework Class Library (FCL)
short - .NET alias
Assembly
Assembly
13. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Partial Class Modifier
char - .NET alias
double - .NET alias
14. System.UInt16
ushort - .NET alias
Assembly
byte - .NET alias
short - Size
15. A representation of an area in the computer memory in which a value of a particular data type can be stored.
csc.exe
Variable
Assignment Operator
Float (or float) - Size
16. Container for one or more Visual Studio Projects.
IDE
Statement
Visual Studio Solution
Operator
17. System.UInt64
Namespace
Static Class
ulong - .NET alias
Method
18. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.
C#
Partial Method Modifier
DateTime
Boolean - Size
19. Syntax of a C# Method
Visual Studio Solution
Assignment Operator
Inheritance
returnType methodName (parameterList)
20. System.UInt32
Method
uint - .NET alias
Variable
Float (or float) - Size
21. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Sealed Class
Dot Notation
Keyword
Precedence
22. 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
Abstract Class Modifier
Assignment Operator
Partial Method Modifier
23. 32 bit integer data
Int32 - Size
String (or string)
Label
Method
24. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
long - .NET alias
Operator
References (Visual Studio Solution
25. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Namespace
ulong - Size
Inheritance
Class
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.
Abstraction
short - Size
Class Statement
Parameter aka Argument
27. Series of instructions which tell a computer what to do.
Decimal (or decimal) - Size
Object
Program
r
28. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Parameter aka Argument
Object
uint - Size
29. Command which runs repeatedly while (some) condition is true.
While Statement
Int64 - Size
Static Class
W.P.F
30. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Virtual Method Modifier
Operator
long - Size
If Statement
31. The "Type" name of data that is stored on the Stack
Value Type
Comments
using
Derived Class
32. Restricts access to a Member to the current Class and any Derived Class.
While Statement
Protected Access Modifier
JIT
Conditional Operator
33. Must have a data type
Window.xaml.cs
DateTime
r
Variable (C# requirements)
34. Integrated Development Environment
Decimal (or decimal) - Size
IDE
Private Access Modifier
uint - .NET alias
35. Something that has a different number of parameters to it's predecessor
Inheritance
Overloaded Method
Assembly
Partial Class Modifier
36. Indicates that the Method can be overridden.
Decimal (or decimal) - Size
Statement
Method
Virtual Method Modifier
37. 64 bit integer data
long - Size
Expression
IDE
r
38. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
IDE
Encapsulation
Encapsulation
39. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Dot Notation
ulong - .NET alias
r
Intermediate Language (IL)
40. A Class that inherits characteristics from another Class.
Class Statement
Assignment Operator
Derived Class
Base Class
41. 32 bit single precision floating point data
Precedence
using
Float (or float) - Size
JITer
42. The member type of a Class that performs an action.
short - .NET alias
uint - .NET alias
Method
Field
43. 64 bit - unsigned integer data
If Statement
W.P.F
ulong - Size
IDE
44. 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.
returnType methodName (parameterList)
Abstraction
Syntax
Assembly
45. System.Byte
Operator
uint - .NET alias
byte - .NET alias
Textbox
46. Text as Unicode characters
String (or string)
Program
ushort - .NET alias
Identifiers
47. 16 bit - signed integer data (-32768 to 32767)
Comments
Identifiers
Strong Typing
short - Size
48. The .NET run-time environment that enables code to be compiled and executed.
Constructor
Common Language Runtime (CLR)
Just-in-time (JIT
Console Application
49. System.Single
float - .NET alias
r
Abstraction
bool - Size
50. A Member that cannot be accessed/invoked through an Object Instance.
Namespace
Variable
Inheritance
Static Member