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. Something that has a different number of parameters to it's predecessor
JITer
Console Application
byte - Size
Overloaded Method
2. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Array
Incrementing / Decrementing Variables
Syntax
3. The "Type" name of data that is stored on the Heap
Reference Type
Abstract Class Modifier
Int64 - Size
String (or string)
4. Indicates that the Method can be overridden.
Partial Class Modifier
Virtual Method Modifier
Conditional Operator
Boolean Operator
5. When a sub class passes down all the behaviours of the original parent class
Operator
Expression
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Inheritance
6. (== or !=)
Static Class
NET
Equality Operator
Derived Class
7. Allows the definition of a Class to span multiple files (within the same Project)
Common Language Runtime (CLR)
CLR
decimal - .NET alias
Partial Class Modifier
8. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Field
sbyte - .NET alias
Namespace
Heap
9. System.Byte
byte - .NET alias
int - .NET alias
Abstract Class Modifier
Field
10. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Internal Access Modifier
Stack
sbyte - .NET alias
csc.exe
11. Groups classes together so that they have a unique identifier
Method
Visual Studio Solution
Namespace
float - .NET alias
12. Command Language Runtime
CLR
int - .NET alias
Unary Operator
W.P.F
13. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
C#
Polymorphism
Protected Internal Access Modifier
Expression
14. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
Expression
float - .NET alias
Variable
15. 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
Encapsulation
Reference Type
While Statement
16. Command which runs repeatedly while (some) condition is true.
While Statement
Conditional Operator
Protected Access Modifier
Derived Class
17. System.Double
Primitive Type
Method
Variable
double - .NET alias
18. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Just-in-time (JIT
Variable
Statement
Internal Access Modifier
19. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Decimal (or decimal) - Size
csc.exe
Encapsulation
Strong Typing
20. Most common kind of reference type. They define objects. They must have at least one method and one field.
Method
Class aka Type
Relational Operator
Data structures
21. 8 bit - unsigned byte (0 - 255)
byte - Size
short - .NET alias
Reference Type
Constant
22. Represents date and time data with a 100 ns resolution
DateTime
Partial Method Modifier
String (or string)
char - Size
23. (&& or || or & or |)
Namespace
Conditional Operator
Data structures
Equality Operator
24. A Class that cannot be instantiated.
Static Class
Assignment Operator
Internal Access Modifier
Variable
25. Allow access to types that exist in outside assemblies.
Framework Class Library (FCL)
References (Visual Studio Solution
Encapsulation
Inheritance
26. Compilation of classes. In C# Usually ends in .dll or .exe
char - .NET alias
Assembly
byte - Size
decimal - .NET alias
27. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Variable
Operator
Intermediate Language (IL)
28. 32 bit integer data
ulong - Size
Int32 - Size
FCL
Derived Class
29. 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.
Static Class
Label
Encapsulation
FCL
30. Access is limited to the current Assembly and Derived Types
Dot Notation
Protected Internal Access Modifier
Constant
Console Application
31. 32 bit integer data
Intermediate Language (IL)
Assembly
JIT
int - Size
32. Must have a data type
DateTime
Intermediate Language (IL)
Variable (C# requirements)
Constant
33. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Static Class
Parameter aka Argument
Constant
Inheritance
34. 16 bit - signed integer data (-32768 to 32767)
Float (or float) - Size
JIT
CLR
short - Size
35. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Precedence
Abstract Class Modifier
Base Class
Primitive
36. A Member that cannot be accessed/invoked through an Object Instance.
Float (or float) - Size
Static Member
Boolean - Size
String (or string)
37. Introduces a new class. Marked by curly brackets { }
Protected Internal Access Modifier
JIT
Static Class
Class Statement
38. System.UInt16
Encapsulation
ushort - .NET alias
Abstract Method Modifier
Incrementing / Decrementing Variables
39. System.Int16
Equality Operator
IDE
short - .NET alias
byte - .NET alias
40. 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)
Boolean Operator
Encapsulation
ushort - .NET alias
W.P.F
41. System.Single
Abstract Class Modifier
Virtual Method Modifier
float - .NET alias
IDE
42. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
ulong - Size
Polymorphism
String (or string)
43. The "Type" name of data that is stored on the Stack
Value Type
Parameter aka Argument
Static Class
Dot Notation
44. 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.
ushort - Size
Method
Variable
Expression
45. System.Int32
int - .NET alias
String (or string)
Label
Namespace
46. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Double (or double) - Size
Object
Operator
47. true or false
bool - Size
Class
JITer
Namespace
48. (< or > or <= or >=)
Private Access Modifier
byte - Size
Relational Operator
Namespace
49. Series of instructions which tell a computer what to do.
Partial Class Modifier
Encapsulation
Program
Reference Type
50. Framework Class Library
Class aka Type
FCL
long - Size
Inheritance