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. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Boolean Operator
Abstract Method Modifier
Method
Comments
2. System.Byte
Properties
CLR
Parameter aka Argument
byte - .NET alias
3. Command which runs repeatedly while (some) condition is true.
While Statement
NET
IDE
Identifiers
4. Variables defined by a class
sbyte - .NET alias
Operator
Precedence
Field
5. Must have a data type
Variable (C# requirements)
Abstraction
Operator
Overloaded Method
6. Text as Unicode characters
Object
String (or string)
Polymorphism
Overloaded Method
7. System.Decimal
Operator
decimal - .NET alias
Just-in-time (JIT
Heap
8. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Properties
JITer
Polymorphism
Private Access Modifier
9. (< or > or <= or >=)
Assembly
Static Class
Relational Operator
Boolean - Size
10. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
bool - Size
Sealed Class
Statement
11. A Class that cannot be instantiated.
Static Class
Operator
decimal - .NET alias
returnType methodName (parameterList)
12. The process of compiling IL source into CPU-native code for execution.
Int32 - Size
Method
Internal Access Modifier
Just-in-time (JIT
13. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Syntax
Abstract Method Modifier
returnType methodName (parameterList)
Inheritance
14. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Statement
If Statement
int - .NET alias
Abstraction
15. Framework Class Library
Float (or float) - Size
long - .NET alias
Parameter aka Argument
FCL
16. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
double - .NET alias
Array
String (or string)
Variable
17. 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
Object
Decimal (or decimal) - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Dot Notation
18. 32 bit single precision floating point data
long - Size
Strong Typing
Float (or float) - Size
Data structures
19. Introduces a new class. Marked by curly brackets { }
Reference Type
Parameter aka Argument
Double (or double) - Size
Class Statement
20. A symbol that specifies an operation to be performed on one or more variables.
Class aka Type
Double (or double) - Size
Operator
Class Statement
21. Restricts access to a Member to the current Class and any Derived Class.
Properties
int - Size
char - Size
Protected Access Modifier
22. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Operator
Data structures
Equality Operator
short - .NET alias
23. Compilation of classes. In C# Usually ends in .dll or .exe
Private Access Modifier
Assembly
Primitive Type
Array
24. 32 bit - unsigned integer data
Variable (C# requirements)
uint - Size
References (Visual Studio Solution
Namespace
25. 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.
Int32 - Size
Private Access Modifier
Partial Method Modifier
Namespace
26. 16 bit - signed integer data (-32768 to 32767)
Dot Notation
Sealed Class
Program
short - Size
27. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Namespace
returnType methodName (parameterList)
Decimal (or decimal) - Size
Abstract Class Modifier
28. 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.
Encapsulation
Constructor
NET
Equality Operator
29. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class
sbyte - .NET alias
Class aka Type
Double (or double) - Size
30. A Class that cannot be Inherited
Stack
CLR
Sealed Class
ulong - Size
31. Command Language Runtime
short - .NET alias
Conditional Operator
CLR
Parameter aka Argument
32. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
CLR
ushort - Size
String (or string)
Assembly
33. (&& or || or & or |)
Conditional Operator
ulong - Size
Statement
Framework Class Library (FCL)
34. 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
using
Assembly
Static Class
Heap
35. Only requires one operand usually a count+1 or a count++ or a count--
short - Size
bool - Size
Unary Operator
Encapsulation
36. A method that is called whenever an Object is created. The method uses the same name as the Class.
double - .NET alias
Encapsulation
Constructor
decimal - .NET alias
37. (= or += or -= or = or /=)
String (or string)
Variable (C# requirements)
Field
Assignment Operator
38. true or false
sbyte - .NET alias
Field
Console Application
bool - Size
39. Integrated Development Environment
Partial Class Modifier
Heap
IDE
short - Size
40. System.SByte
ulong - .NET alias
sbyte - .NET alias
long - .NET alias
Assignment Operator
41. 64 bit - unsigned integer data
Float (or float) - Size
Data structures
Syntax
ulong - Size
42. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Boolean - Size
Expression
Encapsulation
43. true or false
Boolean Operator
If Statement
Textbox
Boolean - Size
44. 64 bit double precision floating point data
Relational Operator
Variable (C# requirements)
Double (or double) - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
45. System.Double
Polymorphism
double - .NET alias
Object
Inheritance
46. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Conditional Operator
Class
Abstract Class Modifier
Inheritance
47. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Unary Operator
Base Class
Variable
Inheritance
48. Indicates that the Method can be overridden.
Incrementing / Decrementing Variables
Intermediate Language (IL)
uint - Size
Virtual Method Modifier
49. An instance of a class that exists at run-time and is typically referenced via a variable name.
Constant
Object
sbyte - Size
Strong Typing
50. 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
Precedence
Dot Notation
Common Language Runtime (CLR)
ulong - Size