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. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
ushort - .NET alias
bool - Size
Properties
Primitive
2. 64 bit - unsigned integer data
Field
ulong - Size
Derived Class
Heap
3. (= or += or -= or = or /=)
Window.xaml.cs
CLR
Assignment Operator
Primitive
4. System.Single
Data structures
float - .NET alias
Polymorphism
Variable
5. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Primitive Type
Assembly
Precedence
Variable
6. 16 bit - signed integer data (-32768 to 32767)
Assignment Operator
Heap
csc.exe
short - Size
7. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
DateTime
Inheritance
Int32 - Size
Visual Studio Solution
8. System.Double
short - .NET alias
Float (or float) - Size
Statement
double - .NET alias
9. 8 bit - signed byte (-128 - 127)
float - .NET alias
Framework Class Library (FCL)
Method
sbyte - Size
10. Indicates that the Method can be overridden.
Strong Typing
Dot Notation
Abstract Class Modifier
Virtual Method Modifier
11. System.Decimal
Inheritance
Framework Class Library (FCL)
decimal - .NET alias
Reference Type
12. A Class that inherits characteristics from another Class.
Protected Access Modifier
Derived Class
Static Member
using
13. The .NET run-time environment that enables code to be compiled and executed.
Base Class
Derived Class
Class Statement
Common Language Runtime (CLR)
14. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Just-in-time (JIT
r
Int64 - Size
15. 32 bit integer data
uint - .NET alias
uint - Size
Object
Int32 - Size
16. 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
short - Size
Object
double - .NET alias
Console Application
17. 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
Virtual Method Modifier
Dot Notation
String (or string)
FCL
18. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Sealed Class
C#
Protected Access Modifier
csc.exe
19. (&& or || or & or |)
C#
Conditional Operator
short - Size
Primitive Type
20. System.Char
String (or string)
char - .NET alias
Partial Method Modifier
Method
21. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
References (Visual Studio Solution
using
Reference Type
22. Access is limited to the current Assembly
Inheritance
Internal Access Modifier
Value Type
Data structures
23. The process of hiding and restricting access to the implementation details of a data structure.
returnType methodName (parameterList)
Encapsulation
Object
int - Size
24. System.UInt16
ushort - .NET alias
Assignment Operator
Unary Operator
Inheritance
25. Container for one or more Visual Studio Projects.
Primitive
long - Size
Program
Visual Studio Solution
26. 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.
float - .NET alias
int - .NET alias
Partial Method Modifier
Primitive Type
27. A type of statement that produces a value that might be tested or assigned to a variable.
Precedence
float - .NET alias
uint - Size
Expression
28. 16 bit - unsigned integer data (0 to 65535)
Decimal (or decimal) - Size
ushort - Size
String (or string)
Class
29. (== or !=)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
returnType methodName (parameterList)
JITer
Equality Operator
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.
Program
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Internal Access Modifier
Identifiers
31. Introduces a new class. Marked by curly brackets { }
Class Statement
Field
Method
Static Class
32. The member type of a Class that performs an action.
long - .NET alias
Syntax
Public Keyword
Method
33. Just-in-time compilation
Public Keyword
Abstract Method Modifier
Unary Operator
JIT
34. 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)
ushort - Size
Boolean Operator
Virtual Method Modifier
Visual Studio Solution
35. count = count+1 or count++ or count__. Both count variables are Unary Operators
Label
Abstract Method Modifier
float - .NET alias
Incrementing / Decrementing Variables
36. Windows Presentation Foundation
byte - Size
W.P.F
uint - .NET alias
If Statement
37. 32 bit integer data
Constant
Int32 - Size
Derived Class
int - Size
38. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Variable
Inheritance
Properties
Statement
39. Command Language Runtime
Variable
Statement
Stack
CLR
40. Framework Class Library
FCL
Partial Class Modifier
long - .NET alias
Assignment Operator
41. Mathematical (+ or - or / or %)
char - .NET alias
Static Class
Operator
Partial Method Modifier
42. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Int64 - Size
csc.exe
Dot Notation
43. 32 bit single precision floating point data
Float (or float) - Size
char - .NET alias
Expression
Protected Access Modifier
44. A representation of an area in the computer memory in which a value of a particular data type can be stored.
short - .NET alias
Variable
DateTime
returnType methodName (parameterList)
45. 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)
Array
int - .NET alias
Syntax
46. 32 bit - unsigned integer data
uint - Size
Overloaded Method
If Statement
r
47. Represents date and time data with a 100 ns resolution
DateTime
Abstract Method Modifier
double - .NET alias
csc.exe
48. Allows the definition of a Class to span multiple files (within the same Project)
Abstract Method Modifier
Partial Class Modifier
Textbox
r
49. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Framework Class Library (FCL)
csc.exe
Expression
Console Application
50. System.Int64
JITer
long - .NET alias
Namespace
Expression