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. Block of memory where objects live. Whenever a new object is created it is allowed onto the heap. Old objects are regularly deallocate from the heap to save available memory
Constant
Heap
FCL
Comments
2. Restricts access to a Member to the current Class.
Private Access Modifier
Encapsulation
uint - .NET alias
uint - Size
3. 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'.
JIT
Assignment Operator
Textbox
Operator
4. When a sub class passes down all the behaviours of the original parent class
Assignment Operator
Namespace
short - .NET alias
Inheritance
5. Code which implements GUI (graphical User Interface).
Overloaded Method
Primitive
Constant
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
6. Names reserved by the compiler that coders are not allowed to use as identifiers.
Comments
Keyword
Base Class
Textbox
7. 32 bit single precision floating point data
double - .NET alias
Protected Internal Access Modifier
Keyword
Float (or float) - Size
8. Field whose value can never change. Declared with 'const' keyword
Constant
Protected Internal Access Modifier
r
Variable (C# requirements)
9. Syntax of a C# Method
Int32 - Size
Comments
returnType methodName (parameterList)
ulong - Size
10. 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.
Stack
NET
Console Application
Identifiers
11. Text as Unicode characters
Parameter aka Argument
Private Access Modifier
String (or string)
Method
12. (< or > or <= or >=)
Abstract Class Modifier
Relational Operator
Class aka Type
Textbox
13. System.Int32
Public Keyword
ulong - .NET alias
int - .NET alias
Variable
14. 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.
Inheritance
Variable
Object
C#
15. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
ulong - Size
char - .NET alias
Polymorphism
Abstraction
16. Framework Class Library
Sealed Class
Syntax
FCL
Namespace
17. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Comments
Namespace
Inheritance
Primitive Type
18. The member type of a Class that performs an action.
Method
String (or string)
W.P.F
Identifiers
19. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Assembly
Heap
While Statement
20. Access is limited to the current Assembly
char - .NET alias
Properties
Program
Internal Access Modifier
21. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
While Statement
bool - Size
Dot Notation
using
22. Represents date and time data with a 100 ns resolution
Unary Operator
Textbox
DateTime
Boolean Operator
23. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
csc.exe
JIT
Partial Class Modifier
Polymorphism
24. 64 bit - unsigned integer data
Assembly
byte - .NET alias
Static Member
ulong - Size
25. Just-in-time compilation
JIT
Expression
Stack
Int64 - Size
26. Introduces a new class. Marked by curly brackets { }
Operator
Properties
Class Statement
Private Access Modifier
27. System.Single
float - .NET alias
Boolean - Size
Partial Method Modifier
Sealed Class
28. 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
Object
Precedence
Partial Method Modifier
FCL
29. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Value Type
Strong Typing
Namespace
ushort - Size
30. A Class that inherits characteristics from another Class.
Statement
int - .NET alias
If Statement
Derived Class
31. count = count+1 or count++ or count__. Both count variables are Unary Operators
Object
Static Member
ushort - Size
Incrementing / Decrementing Variables
32. A Class that cannot be instantiated.
Private Access Modifier
Static Class
DateTime
Float (or float) - Size
33. Keyword which exposes members to other classes OR Identifier which makes program elements public
Partial Method Modifier
Method
Array
Public Keyword
34. System.Int64
Program
Object
Static Member
long - .NET alias
35. System.SByte
Float (or float) - Size
Base Class
sbyte - .NET alias
double - .NET alias
36. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Base Class
Abstract Method Modifier
IDE
Primitive
37. Allow access to types that exist in outside assemblies.
DateTime
byte - Size
Encapsulation
References (Visual Studio Solution
38. Most common kind of reference type. They define objects. They must have at least one method and one field.
ushort - Size
ushort - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Class aka Type
39. 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.
Namespace
Heap
Partial Method Modifier
short - .NET alias
40. The "Type" name of data that is stored on the Heap
C#
Reference Type
int - .NET alias
Object
41. (&& or || or & or |)
using
Conditional Operator
Encapsulation
IDE
42. 64 bit integer data
Abstract Method Modifier
Int64 - Size
bool - Size
Variable
43. A Class from which other classes can inherit characteristics.
Private Access Modifier
Program
Base Class
IDE
44. The "Type" name of data that is stored on the Stack
Partial Class Modifier
Method
Value Type
Label
45. Command which runs repeatedly while (some) condition is true.
Protected Access Modifier
ushort - .NET alias
short - Size
While Statement
46. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Encapsulation
Static Class
Comments
Common Language Runtime (CLR)
47. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Field
C#
Label
Unary Operator
48. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
NET
String (or string)
ushort - Size
49. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Object
Decimal (or decimal) - Size
CLR
50. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Dot Notation
Public Keyword
sbyte - Size