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. 16 bit- unsigned word (U+0000 to U+ffff)
Operator
Object
char - Size
short - .NET alias
2. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Incrementing / Decrementing Variables
Method
Float (or float) - Size
3. Sits behind GUI (Graphical User Interface) and provides event listeners
long - .NET alias
Window.xaml.cs
Incrementing / Decrementing Variables
Variable (C# requirements)
4. true or false
Equality Operator
sbyte - Size
Decimal (or decimal) - Size
Boolean - Size
5. 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
Static Class
Dot Notation
Strong Typing
Statement
6. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Sealed Class
Polymorphism
Partial Class Modifier
short - Size
7. System.Double
Int32 - Size
Reference Type
double - .NET alias
Conditional Operator
8. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Constructor
Static Class
using
9. A Class that cannot be Inherited
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
byte - .NET alias
Sealed Class
Operator
10. Indicates that the Method can be overridden.
Label
Encapsulation
Virtual Method Modifier
Console Application
11. A Class that cannot be instantiated.
Static Class
ushort - Size
Object
Dot Notation
12. System.Int16
Abstract Class Modifier
short - .NET alias
Int64 - Size
Assembly
13. 64 bit integer data
long - Size
short - .NET alias
Statement
Base Class
14. 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)
returnType methodName (parameterList)
ulong - Size
ushort - .NET alias
Boolean Operator
15. true or false
Operator
Dot Notation
bool - Size
long - .NET alias
16. Allows the definition of a Class to span multiple files (within the same Project)
Inheritance
Partial Class Modifier
Object
Just-in-time (JIT
17. 32 bit - unsigned integer data
Operator
Framework Class Library (FCL)
Abstract Method Modifier
uint - Size
18. Framework Class Library
sbyte - .NET alias
byte - .NET alias
Abstraction
FCL
19. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
DateTime
csc.exe
String (or string)
short - Size
20. 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
Heap
float - .NET alias
Inheritance
21. System.Byte
byte - .NET alias
Operator
Parameter aka Argument
short - Size
22. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Abstract Method Modifier
Program
Method
Protected Internal Access Modifier
23. 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.
If Statement
char - Size
Derived Class
Abstract Method Modifier
24. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
FCL
byte - .NET alias
Overloaded Method
JITer
25. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Partial Method Modifier
Variable (C# requirements)
Array
Class aka Type
26. Names reserved by the compiler that coders are not allowed to use as identifiers.
Object
Public Keyword
Keyword
Partial Method Modifier
27. Variables defined by a class
double - .NET alias
Class aka Type
int - Size
Field
28. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Keyword
Parameter aka Argument
Base Class
29. Must have a data type
Class Statement
Variable (C# requirements)
Just-in-time (JIT
float - .NET alias
30. Used to display text that end user does not need to edit.
Encapsulation
Array
long - .NET alias
Label
31. System.SByte
Variable
Method
byte - Size
sbyte - .NET alias
32. The member type of a Class that performs an action.
Method
Abstract Method Modifier
IDE
ushort - Size
33. A Class that inherits characteristics from another Class.
Textbox
Base Class
Expression
Derived Class
34. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
uint - Size
Properties
Assignment Operator
ulong - .NET alias
35. System.Int64
Float (or float) - Size
Overloaded Method
long - .NET alias
Partial Class Modifier
36. Windows Presentation Foundation
Polymorphism
W.P.F
Operator
Expression
37. Text as Unicode characters
Common Language Runtime (CLR)
Keyword
String (or string)
While Statement
38. 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.
Syntax
Abstract Class Modifier
Sealed Class
using
39. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
C#
uint - Size
Boolean Operator
Expression
40. System.UInt16
byte - Size
Abstraction
Equality Operator
ushort - .NET alias
41. Integrated Development Environment
Variable
IDE
char - Size
Namespace
42. 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.
Object
long - Size
Encapsulation
Variable
43. (< or > or <= or >=)
uint - Size
Console Application
Relational Operator
Assignment Operator
44. Keyword which exposes members to other classes OR Identifier which makes program elements public
CLR
Public Keyword
Polymorphism
int - .NET alias
45. A Member that cannot be accessed/invoked through an Object Instance.
ushort - .NET alias
Class
Boolean - Size
Static Member
46. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
char - Size
char - .NET alias
Value Type
C#
47. 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.
Int32 - Size
JIT
Constant
Partial Method Modifier
48. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Framework Class Library (FCL)
JIT
Constant
49. Access is limited to the current Assembly and Derived Types
Assignment Operator
sbyte - Size
Identifiers
Protected Internal Access Modifier
50. System.UInt64
returnType methodName (parameterList)
Array
ulong - .NET alias
Base Class