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. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Int32 - Size
Precedence
Visual Studio Solution
Boolean Operator
2. Names reserved by the compiler that coders are not allowed to use as identifiers.
Data structures
byte - .NET alias
String (or string)
Keyword
3. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Static Member
using
Internal Access Modifier
int - Size
4. (< or > or <= or >=)
ulong - .NET alias
W.P.F
Relational Operator
byte - .NET alias
5. (= or += or -= or = or /=)
Assignment Operator
Console Application
Framework Class Library (FCL)
Unary Operator
6. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Parameter aka Argument
Namespace
C#
Array
7. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Identifiers
Syntax
Strong Typing
NET
8. Command Language Runtime
Precedence
CLR
Internal Access Modifier
Method
9. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Object
Value Type
Int32 - Size
10. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
char - .NET alias
Derived Class
JIT
11. Something that has a different number of parameters to it's predecessor
Data structures
Static Class
Assignment Operator
Overloaded Method
12. Command which runs repeatedly while (some) condition is true.
While Statement
String (or string)
Inheritance
ushort - .NET alias
13. Used to display text that end user does not need to edit.
Keyword
Static Class
long - Size
Label
14. System.Int64
long - .NET alias
Method
decimal - .NET alias
byte - .NET alias
15. Allows the definition of a Class to span multiple files (within the same Project)
Constructor
Partial Class Modifier
Framework Class Library (FCL)
Relational Operator
16. Access is limited to the current Assembly and Derived Types
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Syntax
Protected Internal Access Modifier
Precedence
17. true or false
bool - Size
IDE
Expression
If Statement
18. 32 bit integer data
Precedence
int - Size
String (or string)
Namespace
19. The lowest level or fundamental data types needed for representing data.
char - Size
Base Class
Primitive Type
float - .NET alias
20. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
bool - Size
Stack
Assignment Operator
Intermediate Language (IL)
21. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Unary Operator
ulong - .NET alias
byte - .NET alias
22. Keyword which exposes members to other classes OR Identifier which makes program elements public
C#
Decimal (or decimal) - Size
Public Keyword
Parameter aka Argument
23. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Keyword
C#
returnType methodName (parameterList)
24. Represents date and time data with a 100 ns resolution
Stack
Console Application
DateTime
Abstraction
25. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Inheritance
Static Class
Parameter aka Argument
26. Symbols which transform and combine expressions
Object
Derived Class
Operator
Relational Operator
27. System.Double
byte - Size
Static Class
Operator
double - .NET alias
28. Series of instructions which tell a computer what to do.
Expression
sbyte - .NET alias
Program
Double (or double) - Size
29. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
FCL
Incrementing / Decrementing Variables
Polymorphism
30. Variables defined by a class
Field
Variable
Float (or float) - Size
Conditional Operator
31. System.Single
Just-in-time (JIT
byte - .NET alias
float - .NET alias
If Statement
32. 16 bit - signed integer data (-32768 to 32767)
Method
Decimal (or decimal) - Size
Encapsulation
short - Size
33. When a sub class passes down all the behaviours of the original parent class
Int64 - Size
JITer
Inheritance
DateTime
34. Sits behind GUI (Graphical User Interface) and provides event listeners
Partial Method Modifier
Expression
Textbox
Window.xaml.cs
35. 64 bit - unsigned integer data
ulong - Size
CLR
Operator
Variable
36. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Strong Typing
char - .NET alias
Boolean - Size
37. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
char - Size
Label
uint - Size
38. The .NET run-time environment that enables code to be compiled and executed.
Parameter aka Argument
Assembly
Array
Common Language Runtime (CLR)
39. (&& or || or & or |)
If Statement
Conditional Operator
Keyword
Abstract Class Modifier
40. Only requires one operand usually a count+1 or a count++ or a count--
Abstract Class Modifier
Unary Operator
Protected Internal Access Modifier
long - .NET alias
41. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Operator
Method
Inheritance
Unary Operator
42. A Class that inherits characteristics from another Class.
using
Int32 - Size
Derived Class
Object
43. 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.
While Statement
Virtual Method Modifier
JIT
Variable
44. The "Type" name of data that is stored on the Heap
Partial Class Modifier
Expression
ushort - .NET alias
Reference Type
45. Allow access to types that exist in outside assemblies.
C#
Constant
Program
References (Visual Studio Solution
46. System.Byte
Abstract Method Modifier
byte - .NET alias
FCL
Float (or float) - Size
47. true or false
using
Reference Type
Boolean - Size
Static Class
48. 32 bit - unsigned integer data
Private Access Modifier
Comments
uint - Size
Sealed Class
49. 64 bit integer data
r
Properties
int - .NET alias
Int64 - Size
50. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
IDE
uint - .NET alias
If Statement
Variable