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. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Abstraction
Comments
Assignment Operator
Overloaded Method
2. Code which implements GUI (graphical User Interface).
Double (or double) - Size
Inheritance
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Equality Operator
3. Keyword which exposes members to other classes OR Identifier which makes program elements public
Object
Conditional Operator
Public Keyword
Derived Class
4. Integrated Development Environment
Strong Typing
IDE
sbyte - .NET alias
FCL
5. Syntax of a C# Method
Operator
Primitive Type
Console Application
returnType methodName (parameterList)
6. Represents the encapsulation of data and behaviors into a single unit.
Class
Inheritance
Variable
Internal Access Modifier
7. (== or !=)
uint - .NET alias
Equality Operator
Unary Operator
Derived Class
8. A Class that cannot be instantiated.
Keyword
Class aka Type
Static Class
Constructor
9. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
ulong - .NET alias
byte - .NET alias
Static Member
10. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Int32 - Size
Conditional Operator
Array
11. A Class that cannot be Inherited
Object
Sealed Class
sbyte - .NET alias
Framework Class Library (FCL)
12. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Operator
Strong Typing
csc.exe
13. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Sealed Class
Expression
Properties
14. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
JITer
C#
bool - Size
15. The "Type" name of data that is stored on the Heap
returnType methodName (parameterList)
Console Application
Reference Type
While Statement
16. Indicates that the Method can be overridden.
Console Application
Statement
Virtual Method Modifier
Incrementing / Decrementing Variables
17. A Class that inherits characteristics from another Class.
Object
short - .NET alias
Derived Class
Encapsulation
18. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
JIT
Static Class
Strong Typing
Method
19. Restricts access to a Member to the current Class and any Derived Class.
short - Size
Protected Access Modifier
Data structures
Assembly
20. A Class that can only have Static Members
ushort - Size
double - .NET alias
Array
Static Class
21. 128 bit fixed precision (financial)
Partial Method Modifier
Dot Notation
Decimal (or decimal) - Size
Object
22. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Expression
Assembly
JITer
Equality Operator
23. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Value Type
Identifiers
int - Size
Abstract Class Modifier
24. 64 bit double precision floating point data
Primitive
Double (or double) - Size
Framework Class Library (FCL)
Strong Typing
25. System.UInt16
ushort - .NET alias
Just-in-time (JIT
Class Statement
Statement
26. 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.
short - .NET alias
C#
Console Application
Syntax
27. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
returnType methodName (parameterList)
int - .NET alias
Data structures
JITer
28. The "Type" name of data that is stored on the Stack
Value Type
Assembly
byte - Size
Array
29. System.Double
Comments
Properties
Field
double - .NET alias
30. 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)
short - Size
char - .NET alias
Boolean Operator
Internal Access Modifier
31. System.Int64
Static Class
Partial Method Modifier
long - .NET alias
Boolean - Size
32. System.SByte
Static Class
Static Member
sbyte - .NET alias
int - Size
33. Compilation of classes. In C# Usually ends in .dll or .exe
String (or string)
If Statement
NET
Assembly
34. Introduces a new class. Marked by curly brackets { }
Assignment Operator
Assembly
Class Statement
Overloaded Method
35. Most common kind of reference type. They define objects. They must have at least one method and one field.
using
Internal Access Modifier
Class aka Type
Abstraction
36. 32 bit integer data
Inheritance
Int32 - Size
int - Size
Overloaded Method
37. Text as Unicode characters
String (or string)
Dot Notation
Syntax
Constructor
38. true or false
Boolean - Size
Variable
Sealed Class
Identifiers
39. System.Int32
Polymorphism
Object
int - .NET alias
Encapsulation
40. Container for one or more Visual Studio Projects.
Object
Sealed Class
Visual Studio Solution
Dot Notation
41. 32 bit single precision floating point data
Float (or float) - Size
sbyte - Size
double - .NET alias
Keyword
42. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Console Application
Relational Operator
Boolean - Size
Static Class
43. Only requires one operand usually a count+1 or a count++ or a count--
Base Class
Unary Operator
Encapsulation
Inheritance
44. Allow access to types that exist in outside assemblies.
byte - Size
r
Inheritance
References (Visual Studio Solution
45. A symbol that specifies an operation to be performed on one or more variables.
Operator
Just-in-time (JIT
Decimal (or decimal) - Size
char - Size
46. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Window.xaml.cs
Dot Notation
Method
byte - .NET alias
47. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Partial Class Modifier
Framework Class Library (FCL)
Operator
Array
48. System.Byte
Heap
byte - .NET alias
uint - .NET alias
Int64 - Size
49. 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.
Statement
Abstract Method Modifier
Static Class
Parameter aka Argument
50. The .NET run-time environment that enables code to be compiled and executed.
double - .NET alias
Float (or float) - Size
Common Language Runtime (CLR)
Data structures