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
Assembly
Just-in-time (JIT
Primitive Type
If Statement
2. System.UInt64
ulong - .NET alias
Inheritance
double - .NET alias
References (Visual Studio Solution
3. The process of compiling IL source into CPU-native code for execution.
Just-in-time (JIT
Protected Access Modifier
W.P.F
Overloaded Method
4. Just-in-time compilation
JIT
Inheritance
long - .NET alias
uint - Size
5. A Class that cannot be instantiated.
Static Class
Protected Internal Access Modifier
DateTime
C#
6. Framework Class Library
FCL
returnType methodName (parameterList)
Just-in-time (JIT
Assembly
7. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Expression
ulong - .NET alias
Method
C#
8. A Class that can only have Static Members
Static Class
ulong - .NET alias
Assignment Operator
char - .NET alias
9. Only requires one operand usually a count+1 or a count++ or a count--
Parameter aka Argument
byte - Size
Partial Class Modifier
Unary Operator
10. Extra information within a method
Float (or float) - Size
Parameter aka Argument
ulong - Size
Boolean Operator
11. Keyword which exposes members to other classes OR Identifier which makes program elements public
ushort - .NET alias
short - .NET alias
Protected Internal Access Modifier
Public Keyword
12. 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
While Statement
bool - Size
Heap
Conditional Operator
13. Must have a data type
Internal Access Modifier
Class
uint - Size
Variable (C# requirements)
14. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Array
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Statement
References (Visual Studio Solution
15. System.Int32
Primitive Type
Int32 - Size
int - .NET alias
float - .NET alias
16. Instance of a type created when a program runs. Can be visible or invisible. Has properties and events and methods. Properties- determine appearance. Events - trigger a response. Methods - something the object does
Encapsulation
JIT
using
Object
17. Access is limited to the current Assembly and Derived Types
Assembly
Partial Class Modifier
Dot Notation
Protected Internal Access Modifier
18. 32 bit - unsigned integer data
char - .NET alias
sbyte - Size
uint - Size
Stack
19. 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.
While Statement
Encapsulation
Abstract Method Modifier
Inheritance
20. A Class from which other classes can inherit characteristics.
Syntax
Base Class
Console Application
Expression
21. 16 bit- unsigned word (U+0000 to U+ffff)
Textbox
Stack
char - Size
Conditional Operator
22. 64 bit - unsigned integer data
Textbox
Method
ulong - Size
Conditional Operator
23. An instance of a class that exists at run-time and is typically referenced via a variable name.
ulong - Size
ushort - .NET alias
Derived Class
Object
24. 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)
Static Member
Boolean Operator
Label
Expression
25. Groups classes together so that they have a unique identifier
Window.xaml.cs
Internal Access Modifier
Namespace
JIT
26. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
using
JITer
char - .NET alias
Incrementing / Decrementing Variables
27. Allow access to types that exist in outside assemblies.
Textbox
References (Visual Studio Solution
Keyword
Class
28. System.SByte
Overloaded Method
JITer
sbyte - .NET alias
Common Language Runtime (CLR)
29. 8 bit - signed byte (-128 - 127)
Operator
Framework Class Library (FCL)
Expression
sbyte - Size
30. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
Inheritance
JIT
Class Statement
31. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Overloaded Method
Heap
Common Language Runtime (CLR)
32. 16 bit - unsigned integer data (0 to 65535)
using
ushort - Size
Namespace
ulong - .NET alias
33. Code which signifies a carriage return. Symbolises a new line in a text box.
Partial Class Modifier
ulong - Size
r
Strong Typing
34. (== or !=)
JIT
While Statement
Equality Operator
Derived Class
35. Sits behind GUI (Graphical User Interface) and provides event listeners
char - Size
Window.xaml.cs
ushort - Size
Static Member
36. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Program
Encapsulation
Static Member
37. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Private Access Modifier
Relational Operator
Inheritance
Data structures
38. Code which implements GUI (graphical User Interface).
Common Language Runtime (CLR)
char - Size
Data structures
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
39. Variables defined by a class
Inheritance
Field
Unary Operator
ushort - .NET alias
40. 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.
short - .NET alias
Identifiers
Method
Encapsulation
41. 16 bit - signed integer data (-32768 to 32767)
Abstract Class Modifier
Abstract Method Modifier
Virtual Method Modifier
short - Size
42. Allows the definition of a Class to span multiple files (within the same Project)
Partial Method Modifier
Identifiers
Variable (C# requirements)
Partial Class Modifier
43. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Virtual Method Modifier
Operator
Constant
44. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Method
Variable (C# requirements)
double - .NET alias
Console Application
45. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
C#
Precedence
Public Keyword
Strong Typing
46. The member type of a Class that performs an action.
Identifiers
csc.exe
Method
Abstraction
47. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Virtual Method Modifier
Precedence
Primitive
Method
48. 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
Equality Operator
long - .NET alias
49. Field whose value can never change. Declared with 'const' keyword
Constant
Inheritance
Decimal (or decimal) - Size
Expression
50. System.Decimal
Sealed Class
decimal - .NET alias
Comments
Variable