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. Only requires one operand usually a count+1 or a count++ or a count--
Unary Operator
int - Size
Keyword
String (or string)
2. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
char - Size
Intermediate Language (IL)
double - .NET alias
Visual Studio Solution
3. Container for one or more Visual Studio Projects.
Visual Studio Solution
Relational Operator
Protected Access Modifier
Keyword
4. Code which signifies a carriage return. Symbolises a new line in a text box.
Sealed Class
Static Class
Keyword
r
5. Allow access to types that exist in outside assemblies.
Protected Access Modifier
Textbox
References (Visual Studio Solution
Class
6. A method that is called whenever an Object is created. The method uses the same name as the Class.
Assembly
Constructor
int - Size
Base Class
7. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Overloaded Method
Primitive Type
Abstract Class Modifier
csc.exe
8. Names reserved by the compiler that coders are not allowed to use as identifiers.
Polymorphism
Boolean - Size
CLR
Keyword
9. Represents date and time data with a 100 ns resolution
Static Class
Partial Method Modifier
Double (or double) - Size
DateTime
10. System.Single
If Statement
Sealed Class
Virtual Method Modifier
float - .NET alias
11. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Primitive Type
int - Size
byte - .NET alias
12. Restricts access to a Member to the current Class and any Derived Class.
Static Class
Assembly
Protected Access Modifier
CLR
13. The process of compiling IL source into CPU-native code for execution.
Variable (C# requirements)
Precedence
Strong Typing
Just-in-time (JIT
14. Series of instructions which tell a computer what to do.
Program
Just-in-time (JIT
Float (or float) - Size
Protected Internal Access Modifier
15. 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.
Protected Access Modifier
Identifiers
Encapsulation
Variable
16. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Assignment Operator
Namespace
Statement
Encapsulation
17. System.SByte
long - .NET alias
sbyte - .NET alias
Boolean - Size
Console Application
18. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
csc.exe
Variable
Common Language Runtime (CLR)
using
19. true or false
csc.exe
Boolean - Size
short - Size
Boolean Operator
20. System.Int64
Abstraction
uint - Size
Overloaded Method
long - .NET alias
21. Restricts access to a Member to the current Class.
returnType methodName (parameterList)
Method
Boolean Operator
Private Access Modifier
22. A Class that can only have Static Members
Sealed Class
Static Class
Primitive Type
Dot Notation
23. Compilation of classes. In C# Usually ends in .dll or .exe
Derived Class
Assembly
short - .NET alias
Double (or double) - Size
24. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Visual Studio Solution
sbyte - Size
Protected Access Modifier
If Statement
25. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Operator
Abstraction
sbyte - Size
Field
26. 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
ulong - Size
Assignment Operator
decimal - .NET alias
27. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Heap
Int64 - Size
Operator
28. 16 bit- unsigned word (U+0000 to U+ffff)
Encapsulation
char - Size
returnType methodName (parameterList)
While Statement
29. A Class that cannot be instantiated.
Inheritance
long - .NET alias
Static Class
Namespace
30. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
long - Size
Float (or float) - Size
int - Size
31. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
Relational Operator
Common Language Runtime (CLR)
Virtual Method Modifier
32. An instance of a class that exists at run-time and is typically referenced via a variable name.
ushort - Size
Keyword
Common Language Runtime (CLR)
Object
33. The process of hiding and restricting access to the implementation details of a data structure.
Base Class
Encapsulation
Operator
JIT
34. System.Int32
int - .NET alias
Parameter aka Argument
Method
Console Application
35. Must have a data type
sbyte - .NET alias
Int64 - Size
double - .NET alias
Variable (C# requirements)
36. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Variable
Heap
Operator
37. 16 bit - signed integer data (-32768 to 32767)
Class
short - Size
If Statement
Operator
38. Symbols which transform and combine expressions
Operator
ulong - .NET alias
uint - .NET alias
ushort - .NET alias
39. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
returnType methodName (parameterList)
String (or string)
Encapsulation
Strong Typing
40. System.Byte
Operator
Framework Class Library (FCL)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
byte - .NET alias
41. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Float (or float) - Size
short - Size
Variable (C# requirements)
42. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Static Member
Heap
Expression
Variable (C# requirements)
43. (== or !=)
Equality Operator
Intermediate Language (IL)
Program
Namespace
44. A Member that cannot be accessed/invoked through an Object Instance.
Constant
Namespace
Static Member
Encapsulation
45. 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.
short - Size
Partial Method Modifier
Operator
Class
46. (&& or || or & or |)
Conditional Operator
Inheritance
Framework Class Library (FCL)
ushort - .NET alias
47. System.Double
long - Size
Statement
Derived Class
double - .NET alias
48. Microsoft's generic software framework for application development.
long - .NET alias
While Statement
char - Size
NET
49. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
double - .NET alias
Label
Expression
50. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
W.P.F
long - Size
JIT