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. 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.
bool - Size
Identifiers
Incrementing / Decrementing Variables
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
2. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Inheritance
Primitive
If Statement
3. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Array
Properties
Abstract Class Modifier
Label
4. 16 bit- unsigned word (U+0000 to U+ffff)
char - Size
Primitive Type
FCL
Keyword
5. (&& or || or & or |)
Float (or float) - Size
Conditional Operator
Inheritance
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
6. Extra information within a method
Parameter aka Argument
Polymorphism
Encapsulation
byte - .NET alias
7. System.UInt64
IDE
ulong - .NET alias
Console Application
returnType methodName (parameterList)
8. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
Operator
If Statement
float - .NET alias
9. Microsoft's generic software framework for application development.
While Statement
FCL
NET
short - Size
10. 64 bit integer data
Int64 - Size
Sealed Class
Stack
Common Language Runtime (CLR)
11. 8 bit - signed byte (-128 - 127)
Inheritance
IDE
sbyte - Size
Namespace
12. Only requires one operand usually a count+1 or a count++ or a count--
Parameter aka Argument
Syntax
Unary Operator
decimal - .NET alias
13. A Class that inherits characteristics from another Class.
DateTime
Assignment Operator
Derived Class
Partial Class Modifier
14. 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
Assignment Operator
uint - .NET alias
int - Size
15. System.Byte
byte - .NET alias
sbyte - Size
Base Class
Partial Method Modifier
16. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
sbyte - Size
int - Size
Reference Type
17. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Keyword
JITer
Primitive
C#
18. A Class that can only have Static Members
Statement
Static Class
Public Keyword
double - .NET alias
19. 128 bit fixed precision (financial)
Base Class
Label
Public Keyword
Decimal (or decimal) - Size
20. A Class that cannot be Inherited
short - Size
If Statement
Sealed Class
Assembly
21. true or false
ulong - .NET alias
Intermediate Language (IL)
Boolean - Size
Operator
22. Command Language Runtime
Encapsulation
Assignment Operator
CLR
Variable
23. 32 bit integer data
Method
float - .NET alias
int - Size
Inheritance
24. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
Abstract Method Modifier
char - Size
csc.exe
25. Compilation of classes. In C# Usually ends in .dll or .exe
Static Class
csc.exe
Assembly
Decimal (or decimal) - Size
26. System.UInt16
ushort - .NET alias
Strong Typing
Object
JIT
27. System.Char
Abstract Method Modifier
String (or string)
char - .NET alias
decimal - .NET alias
28. Framework Class Library
Syntax
FCL
Incrementing / Decrementing Variables
Program
29. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Variable (C# requirements)
Int32 - Size
Precedence
C#
30. 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.
Visual Studio Solution
Object
Variable
Class Statement
31. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
uint - Size
Assembly
Double (or double) - Size
32. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Just-in-time (JIT
float - .NET alias
Private Access Modifier
Intermediate Language (IL)
33. Something that has a different number of parameters to it's predecessor
FCL
Overloaded Method
Reference Type
Internal Access Modifier
34. The process of hiding and restricting access to the implementation details of a data structure.
Public Keyword
Encapsulation
Stack
Derived Class
35. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Precedence
Just-in-time (JIT
Abstraction
Reference Type
36. Represents date and time data with a 100 ns resolution
returnType methodName (parameterList)
DateTime
Partial Method Modifier
Object
37. When a sub class passes down all the behaviours of the original parent class
Abstract Class Modifier
Class Statement
Inheritance
Value Type
38. The "Type" name of data that is stored on the Heap
FCL
Reference Type
Boolean - Size
Window.xaml.cs
39. Groups classes together so that they have a unique identifier
Namespace
Operator
double - .NET alias
Boolean Operator
40. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
W.P.F
References (Visual Studio Solution
Comments
Int64 - Size
41. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
float - .NET alias
byte - .NET alias
Stack
Class
42. Access is limited to the current Assembly
Keyword
Internal Access Modifier
Encapsulation
using
43. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Method
Object
Namespace
Equality Operator
44. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
short - Size
Value Type
Class
45. Code which signifies a carriage return. Symbolises a new line in a text box.
Protected Internal Access Modifier
r
Operator
Partial Method Modifier
46. The member type of a Class that performs an action.
float - .NET alias
Int32 - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Method
47. Allows the definition of a Class to span multiple files (within the same Project)
Program
Base Class
Just-in-time (JIT
Partial Class Modifier
48. Text as Unicode characters
Object
Operator
int - Size
String (or string)
49. true or false
bool - Size
References (Visual Studio Solution
Sealed Class
short - Size
50. 32 bit integer data
Window.xaml.cs
Field
Int32 - Size
byte - .NET alias