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. The .NET run-time environment that enables code to be compiled and executed.
ushort - .NET alias
Just-in-time (JIT
Variable (C# requirements)
Common Language Runtime (CLR)
2. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Decimal (or decimal) - Size
Statement
byte - .NET alias
long - .NET alias
3. 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
Expression
long - .NET alias
Heap
csc.exe
4. Used to display text that end user does not need to edit.
double - .NET alias
JIT
Label
Overloaded Method
5. true or false
Intermediate Language (IL)
Boolean - Size
NET
Parameter aka Argument
6. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Comments
Operator
csc.exe
Expression
7. The member type of a Class that performs an action.
Precedence
Array
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Method
8. 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.
Assembly
Abstract Method Modifier
Data structures
int - .NET alias
9. Field whose value can never change. Declared with 'const' keyword
Assembly
Constant
Abstract Method Modifier
Base Class
10. Restricts access to a Member to the current Class.
Boolean - Size
JIT
Float (or float) - Size
Private Access Modifier
11. 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
CLR
Expression
12. 64 bit integer data
Protected Access Modifier
bool - Size
String (or string)
Int64 - Size
13. Extra information within a method
Partial Method Modifier
Encapsulation
Encapsulation
Parameter aka Argument
14. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Textbox
Identifiers
uint - .NET alias
15. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
using
double - .NET alias
float - .NET alias
Constructor
16. System.UInt16
ushort - .NET alias
Sealed Class
Stack
short - Size
17. Microsoft's generic software framework for application development.
Overloaded Method
DateTime
NET
Constructor
18. 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.
Static Class
Method
Identifiers
Value Type
19. 128 bit fixed precision (financial)
Array
Class
Syntax
Decimal (or decimal) - Size
20. 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.
char - .NET alias
Constructor
Boolean - Size
Variable
21. Command which runs repeatedly while (some) condition is true.
Label
Just-in-time (JIT
While Statement
Method
22. 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'.
Class Statement
Abstraction
Expression
Textbox
23. Indicates that the Method can be overridden.
Inheritance
Virtual Method Modifier
Abstract Class Modifier
Parameter aka Argument
24. System.UInt64
Primitive Type
ulong - .NET alias
ushort - Size
Inheritance
25. Restricts access to a Member to the current Class and any Derived Class.
Strong Typing
Stack
Just-in-time (JIT
Protected Access Modifier
26. 64 bit double precision floating point data
Heap
Encapsulation
Precedence
Double (or double) - Size
27. Windows Presentation Foundation
If Statement
uint - Size
Program
W.P.F
28. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Namespace
Virtual Method Modifier
Int32 - Size
Intermediate Language (IL)
29. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
int - Size
DateTime
Window.xaml.cs
30. Variables defined by a class
Field
Incrementing / Decrementing Variables
JIT
Assembly
31. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
CLR
Constructor
Precedence
C#
32. 64 bit - unsigned integer data
DateTime
Stack
ulong - Size
JIT
33. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
CLR
Encapsulation
uint - .NET alias
Polymorphism
34. The process of hiding and restricting access to the implementation details of a data structure.
sbyte - .NET alias
int - .NET alias
Encapsulation
short - Size
35. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Assignment Operator
Dot Notation
ulong - .NET alias
36. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
Label
sbyte - .NET alias
CLR
37. 16 bit - signed integer data (-32768 to 32767)
CLR
Statement
short - Size
uint - Size
38. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Constant
Console Application
Derived Class
Abstract Class Modifier
39. 32 bit integer data
Int32 - Size
Base Class
Program
long - .NET alias
40. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Assembly
csc.exe
If Statement
Decimal (or decimal) - Size
41. Text as Unicode characters
Precedence
Framework Class Library (FCL)
String (or string)
Abstraction
42. 32 bit - unsigned integer data
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
uint - Size
Protected Access Modifier
Boolean - Size
43. System.Int64
C#
long - .NET alias
JITer
Statement
44. Code which implements GUI (graphical User Interface).
Derived Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Float (or float) - Size
Value Type
45. A type of statement that produces a value that might be tested or assigned to a variable.
Dot Notation
Assembly
Decimal (or decimal) - Size
Expression
46. Just-in-time compilation
JIT
Textbox
uint - Size
byte - Size
47. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Operator
Abstraction
Abstract Method Modifier
csc.exe
48. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Visual Studio Solution
double - .NET alias
Boolean - Size
Strong Typing
49. System.SByte
sbyte - .NET alias
Window.xaml.cs
Comments
int - .NET alias
50. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
DateTime
Data structures
Heap
ulong - Size