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. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.
Boolean Operator
Encapsulation
Label
Value Type
2. Extra information within a method
Parameter aka Argument
Double (or double) - Size
Expression
DateTime
3. System.Int32
Boolean Operator
Internal Access Modifier
int - .NET alias
Abstract Class Modifier
4. 16 bit - signed integer data (-32768 to 32767)
Precedence
Statement
Intermediate Language (IL)
short - Size
5. System.Byte
Encapsulation
Primitive
byte - .NET alias
Comments
6. Code which signifies a carriage return. Symbolises a new line in a text box.
Encapsulation
Sealed Class
r
Partial Class Modifier
7. (&& or || or & or |)
Conditional Operator
Operator
Statement
Comments
8. true or false
Partial Method Modifier
ulong - .NET alias
Int32 - Size
Boolean - Size
9. Something that has a different number of parameters to it's predecessor
Boolean - Size
Object
Statement
Overloaded Method
10. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Common Language Runtime (CLR)
sbyte - .NET alias
DateTime
11. The .NET run-time environment that enables code to be compiled and executed.
Variable
Boolean - Size
Common Language Runtime (CLR)
Syntax
12. 64 bit integer data
int - .NET alias
Protected Access Modifier
Int64 - Size
ulong - Size
13. A Class that cannot be instantiated.
C#
JITer
Precedence
Static Class
14. System.Double
double - .NET alias
Namespace
Expression
long - .NET alias
15. Syntax of a C# Method
Inheritance
Unary Operator
returnType methodName (parameterList)
Constructor
16. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Static Class
If Statement
Properties
NET
17. System.UInt16
Protected Access Modifier
Visual Studio Solution
ushort - .NET alias
Int32 - Size
18. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Operator
Method
Properties
Variable (C# requirements)
19. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Class
Sealed Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
20. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
String (or string)
Visual Studio Solution
Unary Operator
21. Framework Class Library
Int32 - Size
Object
Framework Class Library (FCL)
FCL
22. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Expression
sbyte - Size
Assignment Operator
23. Integrated Development Environment
byte - Size
Identifiers
IDE
Encapsulation
24. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Reference Type
Just-in-time (JIT
Parameter aka Argument
Comments
25. count = count+1 or count++ or count__. Both count variables are Unary Operators
Just-in-time (JIT
Class aka Type
Incrementing / Decrementing Variables
Data structures
26. Names reserved by the compiler that coders are not allowed to use as identifiers.
Operator
csc.exe
Keyword
Strong Typing
27. The lowest level or fundamental data types needed for representing data.
Primitive Type
int - .NET alias
byte - .NET alias
char - .NET alias
28. Box which can be typed into at runtime. Can display large amounts of scrollable text for the user. To create a scrollable one in Visual Studio set the multiline property to 'TRUE' and the Scrollbars property to 'VERTICAL'.
Namespace
Textbox
Comments
Constant
29. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
int - .NET alias
csc.exe
Partial Class Modifier
IDE
30. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Variable
Static Class
Primitive Type
Inheritance
31. An instance of a class that exists at run-time and is typically referenced via a variable name.
Expression
Namespace
double - .NET alias
Object
32. (< or > or <= or >=)
Relational Operator
Inheritance
Sealed Class
Decimal (or decimal) - Size
33. Represents date and time data with a 100 ns resolution
Internal Access Modifier
Assembly
DateTime
While Statement
34. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
uint - Size
sbyte - Size
Incrementing / Decrementing Variables
35. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Field
Properties
Virtual Method Modifier
36. System.Decimal
decimal - .NET alias
Primitive
Private Access Modifier
Static Class
37. 8 bit - unsigned byte (0 - 255)
Strong Typing
byte - Size
ulong - .NET alias
r
38. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
float - .NET alias
Incrementing / Decrementing Variables
Decimal (or decimal) - Size
Abstraction
39. 64 bit integer data
long - Size
Encapsulation
Class
Base Class
40. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
csc.exe
CLR
Polymorphism
Assignment Operator
41. Represents the encapsulation of data and behaviors into a single unit.
Common Language Runtime (CLR)
JITer
Variable (C# requirements)
Class
42. 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.
Variable
C#
Object
sbyte - Size
43. Just-in-time compilation
Relational Operator
Method
JIT
Overloaded Method
44. Access is limited to the current Assembly and Derived Types
Namespace
Method
Protected Internal Access Modifier
Dot Notation
45. The process of compiling IL source into CPU-native code for execution.
C#
Inheritance
Just-in-time (JIT
Textbox
46. 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
Conditional Operator
Static Member
Dot Notation
char - .NET alias
47. Restricts access to a Member to the current Class and any Derived Class.
Class
Identifiers
int - Size
Protected Access Modifier
48. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
byte - Size
Int64 - Size
Framework Class Library (FCL)
49. Introduces a new class. Marked by curly brackets { }
long - Size
Array
Class Statement
Relational Operator
50. 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
Variable
Polymorphism
decimal - .NET alias