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. 64 bit double precision floating point data
Double (or double) - Size
Intermediate Language (IL)
Int32 - Size
Incrementing / Decrementing Variables
2. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
JIT
String (or string)
Statement
ushort - .NET alias
3. (&& or || or & or |)
byte - .NET alias
W.P.F
Conditional Operator
ushort - .NET alias
4. 32 bit integer data
int - Size
long - Size
short - .NET alias
double - .NET alias
5. System.Byte
byte - .NET alias
Class aka Type
Class Statement
Partial Class Modifier
6. true or false
bool - Size
Static Class
Partial Class Modifier
uint - Size
7. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Program
Incrementing / Decrementing Variables
Boolean - Size
8. Access is limited to the current Assembly and Derived Types
Expression
Protected Internal Access Modifier
short - .NET alias
While Statement
9. The "Type" name of data that is stored on the Heap
Array
Class aka Type
r
Reference Type
10. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
W.P.F
Encapsulation
Statement
11. (< or > or <= or >=)
Abstract Method Modifier
Relational Operator
Method
If Statement
12. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
bool - Size
Reference Type
Abstract Class Modifier
13. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Inheritance
long - Size
C#
Static Class
14. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Operator
IDE
Int32 - Size
15. System.Double
Expression
Field
CLR
double - .NET alias
16. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
returnType methodName (parameterList)
Virtual Method Modifier
Int32 - Size
Precedence
17. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Int64 - Size
Reference Type
Label
Intermediate Language (IL)
18. The "Type" name of data that is stored on the Stack
Console Application
Value Type
Encapsulation
Framework Class Library (FCL)
19. 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
using
Framework Class Library (FCL)
Conditional Operator
20. Command Language Runtime
Dot Notation
Class
Derived Class
CLR
21. System.Single
float - .NET alias
DateTime
References (Visual Studio Solution
Conditional Operator
22. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
If Statement
Inheritance
Abstract Method Modifier
Properties
23. Groups classes together so that they have a unique identifier
Overloaded Method
Namespace
Just-in-time (JIT
Base Class
24. Field whose value can never change. Declared with 'const' keyword
Visual Studio Solution
Constant
Just-in-time (JIT
int - .NET alias
25. Code which signifies a carriage return. Symbolises a new line in a text box.
Label
r
Properties
using
26. Windows Presentation Foundation
Boolean Operator
Method
Encapsulation
W.P.F
27. 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
int - .NET alias
ulong - .NET alias
Properties
28. System.UInt64
ulong - Size
ulong - .NET alias
Statement
Decimal (or decimal) - Size
29. The process of hiding and restricting access to the implementation details of a data structure.
ulong - .NET alias
byte - .NET alias
Incrementing / Decrementing Variables
Encapsulation
30. Syntax of a C# Method
returnType methodName (parameterList)
Overloaded Method
Console Application
Reference Type
31. A Class from which other classes can inherit characteristics.
Textbox
Base Class
Constructor
Equality Operator
32. A Class that can only have Static Members
Operator
Int32 - Size
Assignment Operator
Static Class
33. The member type of a Class that performs an action.
Method
Inheritance
Int32 - Size
Assignment Operator
34. System.Char
char - Size
char - .NET alias
FCL
Reference Type
35. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Private Access Modifier
short - Size
csc.exe
Abstract Method Modifier
36. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Method
W.P.F
Variable
Common Language Runtime (CLR)
37. 64 bit integer data
Intermediate Language (IL)
JITer
Just-in-time (JIT
long - Size
38. Allows the definition of a Class to span multiple files (within the same Project)
Textbox
Partial Class Modifier
Heap
Conditional Operator
39. System.UInt32
Common Language Runtime (CLR)
JIT
uint - .NET alias
Data structures
40. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Variable
Array
Inheritance
Encapsulation
41. 8 bit - unsigned byte (0 - 255)
byte - Size
DateTime
Window.xaml.cs
Relational Operator
42. true or false
Label
Expression
float - .NET alias
Boolean - Size
43. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Window.xaml.cs
decimal - .NET alias
Incrementing / Decrementing Variables
44. 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.
Method
Precedence
Abstract Method Modifier
Object
45. Something that has a different number of parameters to it's predecessor
float - .NET alias
Operator
using
Overloaded Method
46. Used to display text that end user does not need to edit.
NET
Operator
Label
byte - .NET alias
47. 32 bit single precision floating point data
Method
Float (or float) - Size
Textbox
sbyte - Size
48. Keyword which exposes members to other classes OR Identifier which makes program elements public
Dot Notation
ulong - .NET alias
Public Keyword
Encapsulation
49. 8 bit - signed byte (-128 - 127)
uint - .NET alias
sbyte - Size
ulong - Size
Statement
50. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Unary Operator
int - .NET alias
Namespace
CLR