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. System.Decimal
Private Access Modifier
Statement
decimal - .NET alias
Derived Class
2. 32 bit single precision floating point data
Float (or float) - Size
Operator
Comments
FCL
3. 64 bit - unsigned integer data
IDE
Namespace
Expression
ulong - Size
4. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Protected Access Modifier
ulong - Size
Console Application
Reference Type
5. The lowest level or fundamental data types needed for representing data.
Encapsulation
char - .NET alias
Method
Primitive Type
6. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Private Access Modifier
Static Class
References (Visual Studio Solution
Polymorphism
7. Code which signifies a carriage return. Symbolises a new line in a text box.
Just-in-time (JIT
Protected Internal Access Modifier
r
References (Visual Studio Solution
8. System.Double
Parameter aka Argument
double - .NET alias
Dot Notation
Method
9. Microsoft's generic software framework for application development.
Incrementing / Decrementing Variables
ulong - .NET alias
Variable
NET
10. (= or += or -= or = or /=)
Incrementing / Decrementing Variables
Method
Data structures
Assignment Operator
11. Compilation of classes. In C# Usually ends in .dll or .exe
Assembly
Polymorphism
Class
Expression
12. Groups classes together so that they have a unique identifier
Namespace
Int64 - Size
CLR
short - Size
13. Extra information within a method
Program
Parameter aka Argument
uint - Size
r
14. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
If Statement
Conditional Operator
byte - Size
15. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Primitive
JIT
Precedence
uint - Size
16. (< or > or <= or >=)
Label
Visual Studio Solution
byte - .NET alias
Relational Operator
17. 8 bit - unsigned byte (0 - 255)
byte - Size
char - .NET alias
short - .NET alias
Partial Method Modifier
18. A type of statement that produces a value that might be tested or assigned to a variable.
Operator
Keyword
Expression
Precedence
19. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Console Application
Variable
IDE
20. 32 bit integer data
While Statement
int - Size
Intermediate Language (IL)
bool - Size
21. Contains the class definitions that allow access to the functionality provided by .NET.
Primitive Type
Framework Class Library (FCL)
long - .NET alias
Assembly
22. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
String (or string)
csc.exe
Encapsulation
NET
23. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
C#
ulong - Size
Boolean Operator
24. Something that has a different number of parameters to it's predecessor
Conditional Operator
Overloaded Method
Variable (C# requirements)
int - Size
25. Only requires one operand usually a count+1 or a count++ or a count--
If Statement
JITer
Unary Operator
ulong - .NET alias
26. System.UInt16
Inheritance
r
ushort - .NET alias
Syntax
27. The "Type" name of data that is stored on the Heap
Reference Type
byte - Size
Primitive
Unary Operator
28. Introduces a new class. Marked by curly brackets { }
char - .NET alias
CLR
Class Statement
csc.exe
29. The .NET run-time environment that enables code to be compiled and executed.
Boolean - Size
int - .NET alias
Inheritance
Common Language Runtime (CLR)
30. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Data structures
Visual Studio Solution
Properties
31. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Expression
Float (or float) - Size
Intermediate Language (IL)
32. Command which runs repeatedly while (some) condition is true.
Encapsulation
ushort - Size
Strong Typing
While Statement
33. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
CLR
Expression
Primitive
JITer
34. Container for one or more Visual Studio Projects.
Heap
Intermediate Language (IL)
Visual Studio Solution
Conditional Operator
35. Most common kind of reference type. They define objects. They must have at least one method and one field.
Virtual Method Modifier
Method
Class aka Type
Statement
36. System.Single
float - .NET alias
Public Keyword
ushort - .NET alias
Class aka Type
37. System.Char
Boolean - Size
char - .NET alias
int - .NET alias
Primitive
38. Keyword which exposes members to other classes OR Identifier which makes program elements public
Window.xaml.cs
Static Class
Properties
Public Keyword
39. Just-in-time compilation
Sealed Class
JIT
Encapsulation
Assembly
40. Represents date and time data with a 100 ns resolution
Object
Assignment Operator
DateTime
Static Class
41. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
uint - .NET alias
Static Class
Public Keyword
Expression
42. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
float - .NET alias
Private Access Modifier
Parameter aka Argument
Assembly
43. System.Int32
Properties
Static Class
int - .NET alias
Namespace
44. 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.
Stack
Identifiers
Conditional Operator
Double (or double) - Size
45. A Class that can only have Static Members
Parameter aka Argument
Variable
While Statement
Static Class
46. Series of instructions which tell a computer what to do.
uint - Size
Derived Class
NET
Program
47. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Conditional Operator
char - Size
Overloaded Method
Data structures
48. Variables defined by a class
Field
NET
Static Class
References (Visual Studio Solution
49. Access is limited to the current Assembly
r
Internal Access Modifier
Textbox
Double (or double) - Size
50. 16 bit - unsigned integer data (0 to 65535)
Polymorphism
Statement
ushort - Size
Keyword