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. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Properties
C#
Int32 - Size
Object
2. 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.
Stack
Relational Operator
Encapsulation
long - .NET alias
3. Represents the encapsulation of data and behaviors into a single unit.
byte - Size
If Statement
Class
Operator
4. System.Decimal
Textbox
decimal - .NET alias
Int32 - Size
Operator
5. 32 bit integer data
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
C#
short - .NET alias
int - Size
6. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Just-in-time (JIT
using
ushort - .NET alias
Precedence
7. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
short - Size
byte - Size
Operator
Polymorphism
8. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Array
Console Application
ulong - .NET alias
Variable
9. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
While Statement
uint - .NET alias
Parameter aka Argument
Assembly
10. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Base Class
Common Language Runtime (CLR)
Statement
Expression
11. System.Single
Textbox
While Statement
float - .NET alias
Static Class
12. Microsoft's generic software framework for application development.
Dot Notation
NET
Visual Studio Solution
Assembly
13. The process of compiling IL source into CPU-native code for execution.
Double (or double) - Size
uint - .NET alias
Namespace
Just-in-time (JIT
14. Access is limited to the current Assembly and Derived Types
JITer
Data structures
Protected Internal Access Modifier
Protected Access Modifier
15. 64 bit double precision floating point data
Double (or double) - Size
Partial Class Modifier
Static Class
Heap
16. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
CLR
Protected Access Modifier
Field
17. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
short - .NET alias
Stack
returnType methodName (parameterList)
Abstraction
18. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
byte - Size
Just-in-time (JIT
Static Member
Statement
19. 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.
Partial Method Modifier
Relational Operator
returnType methodName (parameterList)
W.P.F
20. A Class that inherits characteristics from another Class.
W.P.F
Derived Class
uint - Size
Comments
21. Syntax of a C# Method
Inheritance
ulong - Size
returnType methodName (parameterList)
While Statement
22. A Member that cannot be accessed/invoked through an Object Instance.
Common Language Runtime (CLR)
Static Member
short - Size
Strong Typing
23. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
ulong - Size
Just-in-time (JIT
Inheritance
If Statement
24. (&& or || or & or |)
Class
Conditional Operator
Decimal (or decimal) - Size
Comments
25. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Variable
Visual Studio Solution
long - Size
26. count = count+1 or count++ or count__. Both count variables are Unary Operators
Operator
Decimal (or decimal) - Size
Constructor
Incrementing / Decrementing Variables
27. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Label
Encapsulation
Field
28. 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.
Abstract Method Modifier
Common Language Runtime (CLR)
Method
Overloaded Method
29. Text as Unicode characters
Equality Operator
String (or string)
Dot Notation
Data structures
30. 16 bit - signed integer data (-32768 to 32767)
Virtual Method Modifier
int - Size
short - Size
Constant
31. 128 bit fixed precision (financial)
Strong Typing
Decimal (or decimal) - Size
Operator
Abstraction
32. The "Type" name of data that is stored on the Stack
Internal Access Modifier
Static Member
double - .NET alias
Value Type
33. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Console Application
r
Inheritance
uint - Size
34. System.Int16
Protected Access Modifier
Abstraction
short - .NET alias
Constructor
35. System.Double
ulong - Size
Static Class
Keyword
double - .NET alias
36. 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
Inheritance
Stack
Relational Operator
Object
37. Something that has a different number of parameters to it's predecessor
String (or string)
Overloaded Method
Private Access Modifier
Framework Class Library (FCL)
38. Keyword which exposes members to other classes OR Identifier which makes program elements public
ushort - .NET alias
Public Keyword
short - .NET alias
ulong - Size
39. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
Primitive
sbyte - .NET alias
Variable
40. 16 bit - unsigned integer data (0 to 65535)
Primitive Type
Abstraction
ushort - Size
Reference Type
41. 8 bit - unsigned byte (0 - 255)
Primitive Type
returnType methodName (parameterList)
Operator
byte - Size
42. A Class that cannot be Inherited
Overloaded Method
Int64 - Size
Sealed Class
Abstract Method Modifier
43. Series of instructions which tell a computer what to do.
Precedence
long - Size
Program
sbyte - Size
44. 64 bit - unsigned integer data
Abstraction
ulong - Size
Partial Class Modifier
Variable
45. Only requires one operand usually a count+1 or a count++ or a count--
Operator
long - .NET alias
Sealed Class
Unary Operator
46. When a sub class passes down all the behaviours of the original parent class
Program
Inheritance
short - Size
Public Keyword
47. A Class from which other classes can inherit characteristics.
r
ulong - Size
Field
Base Class
48. 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'.
NET
Textbox
Operator
Internal Access Modifier
49. 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.
Sealed Class
Syntax
ulong - .NET alias
char - Size
50. The lowest level or fundamental data types needed for representing data.
Framework Class Library (FCL)
Primitive Type
Abstract Class Modifier
Textbox