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. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
If Statement
Boolean - Size
Identifiers
Private Access Modifier
2. Container for one or more Visual Studio Projects.
Reference Type
C#
Visual Studio Solution
Inheritance
3. Mathematical (+ or - or / or %)
Operator
Expression
Visual Studio Solution
Comments
4. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
While Statement
ulong - Size
Reference Type
Strong Typing
5. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Strong Typing
bool - Size
Intermediate Language (IL)
ulong - Size
6. Keyword which exposes members to other classes OR Identifier which makes program elements public
Properties
Program
Public Keyword
Internal Access Modifier
7. An instance of a class that exists at run-time and is typically referenced via a variable name.
ulong - Size
Public Keyword
IDE
Object
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.
Value Type
Textbox
returnType methodName (parameterList)
Abstract Method Modifier
9. count = count+1 or count++ or count__. Both count variables are Unary Operators
Class Statement
Incrementing / Decrementing Variables
JITer
Public Keyword
10. 128 bit fixed precision (financial)
Common Language Runtime (CLR)
While Statement
If Statement
Decimal (or decimal) - Size
11. 64 bit integer data
Operator
FCL
Field
long - Size
12. Code which implements GUI (graphical User Interface).
Virtual Method Modifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
long - .NET alias
Unary Operator
13. The "Type" name of data that is stored on the Heap
Unary Operator
Expression
Derived Class
Reference Type
14. Windows Presentation Foundation
uint - Size
Just-in-time (JIT
Private Access Modifier
W.P.F
15. A Class that cannot be instantiated.
r
C#
Static Class
Partial Method Modifier
16. The process of hiding and restricting access to the implementation details of a data structure.
Partial Class Modifier
float - .NET alias
Object
Encapsulation
17. Variables defined by a class
Array
Virtual Method Modifier
Visual Studio Solution
Field
18. System.Double
Primitive
short - .NET alias
int - .NET alias
double - .NET alias
19. 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
Heap
Inheritance
Assembly
Private Access Modifier
20. Used to display text that end user does not need to edit.
Expression
Label
Console Application
References (Visual Studio Solution
21. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
char - Size
Properties
Internal Access Modifier
Equality Operator
22. true or false
Variable
Boolean - Size
csc.exe
byte - Size
23. Series of instructions which tell a computer what to do.
Framework Class Library (FCL)
Assembly
Program
Private Access Modifier
24. 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.
String (or string)
Variable
using
Field
25. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Conditional Operator
Framework Class Library (FCL)
Operator
26. System.Char
Int64 - Size
Value Type
Dot Notation
char - .NET alias
27. 32 bit single precision floating point data
IDE
Comments
JIT
Float (or float) - Size
28. A type of statement that produces a value that might be tested or assigned to a variable.
Namespace
Namespace
Method
Expression
29. 16 bit - signed integer data (-32768 to 32767)
Label
IDE
short - Size
References (Visual Studio Solution
30. A Class from which other classes can inherit characteristics.
Float (or float) - Size
Program
Base Class
IDE
31. A Member that cannot be accessed/invoked through an Object Instance.
Keyword
Boolean - Size
float - .NET alias
Static Member
32. The "Type" name of data that is stored on the Stack
Assembly
Base Class
Value Type
Float (or float) - Size
33. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.
NET
Value Type
Partial Method Modifier
CLR
34. 32 bit - unsigned integer data
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
uint - Size
IDE
Static Class
35. The .NET run-time environment that enables code to be compiled and executed.
Value Type
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Constructor
Common Language Runtime (CLR)
36. Represents date and time data with a 100 ns resolution
Statement
DateTime
Abstraction
Operator
37. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Inheritance
ulong - .NET alias
CLR
Decimal (or decimal) - Size
38. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
Conditional Operator
short - Size
JITer
Constructor
39. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Primitive Type
Operator
W.P.F
40. The process of compiling IL source into CPU-native code for execution.
Heap
Just-in-time (JIT
Precedence
Int32 - Size
41. System.UInt32
uint - .NET alias
Value Type
ulong - .NET alias
Stack
42. When a sub class passes down all the behaviours of the original parent class
Inheritance
short - .NET alias
FCL
Statement
43. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Class aka Type
NET
Data structures
Constant
44. Something that has a different number of parameters to it's predecessor
Overloaded Method
ulong - .NET alias
Data structures
Inheritance
45. Allow access to types that exist in outside assemblies.
Assembly
Protected Internal Access Modifier
References (Visual Studio Solution
Int32 - Size
46. 64 bit integer data
Int64 - Size
Inheritance
Abstraction
sbyte - .NET alias
47. Groups classes together so that they have a unique identifier
Private Access Modifier
Expression
C#
Namespace
48. Most common kind of reference type. They define objects. They must have at least one method and one field.
Polymorphism
Double (or double) - Size
Class aka Type
Virtual Method Modifier
49. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
int - .NET alias
Abstract Method Modifier
Comments
Incrementing / Decrementing Variables
50. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Dot Notation
Sealed Class
Assembly
Operator