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. Sits behind GUI (Graphical User Interface) and provides event listeners
If Statement
sbyte - Size
Window.xaml.cs
C#
2. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
CLR
JITer
Double (or double) - Size
Assembly
3. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Class
JITer
Polymorphism
4. Groups classes together so that they have a unique identifier
Conditional Operator
byte - .NET alias
Common Language Runtime (CLR)
Namespace
5. (< or > or <= or >=)
Relational Operator
Sealed Class
Properties
uint - .NET alias
6. System.UInt64
DateTime
short - Size
If Statement
ulong - .NET alias
7. Field whose value can never change. Declared with 'const' keyword
Assembly
Framework Class Library (FCL)
Intermediate Language (IL)
Constant
8. System.Decimal
Stack
decimal - .NET alias
Primitive
Comments
9. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Derived Class
ulong - .NET alias
using
Namespace
10. Series of instructions which tell a computer what to do.
Method
Abstract Method Modifier
Program
Strong Typing
11. A Class that inherits characteristics from another Class.
Derived Class
Label
Heap
Array
12. System.Double
Float (or float) - Size
double - .NET alias
Constructor
Relational Operator
13. Framework Class Library
Statement
Dot Notation
FCL
Value Type
14. A Class from which other classes can inherit characteristics.
Abstract Method Modifier
Base Class
Program
Constant
15. System.Int16
short - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
ulong - .NET alias
Abstract Class Modifier
16. 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
Statement
Base Class
Precedence
17. 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
ulong - .NET alias
short - .NET alias
Heap
long - .NET alias
18. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Textbox
Sealed Class
Expression
19. System.Single
Sealed Class
Class
float - .NET alias
Static Class
20. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Dot Notation
Sealed Class
Double (or double) - Size
Abstraction
21. A method that is called whenever an Object is created. The method uses the same name as the Class.
r
sbyte - Size
Namespace
Constructor
22. 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
Dot Notation
Abstract Method Modifier
String (or string)
Encapsulation
23. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
W.P.F
Value Type
CLR
24. 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.
JITer
Encapsulation
Overloaded Method
sbyte - .NET alias
25. Must have a data type
Variable (C# requirements)
Label
Protected Internal Access Modifier
Variable
26. 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
Properties
char - .NET alias
Window.xaml.cs
27. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Encapsulation
Double (or double) - Size
Data structures
Visual Studio Solution
28. A Class that can only have Static Members
C#
Static Class
FCL
Assembly
29. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
char - Size
Abstract Class Modifier
JITer
Data structures
30. The "Type" name of data that is stored on the Stack
Value Type
uint - Size
Namespace
Operator
31. Indicates that the Method can be overridden.
Virtual Method Modifier
String (or string)
Precedence
Unary Operator
32. 32 bit single precision floating point data
Syntax
Namespace
Float (or float) - Size
int - Size
33. 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'.
Constructor
Textbox
Overloaded Method
Equality Operator
34. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Static Member
Assembly
Variable
Intermediate Language (IL)
35. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Console Application
Variable
returnType methodName (parameterList)
Private Access Modifier
36. Something that has a different number of parameters to it's predecessor
int - Size
Overloaded Method
Dot Notation
byte - .NET alias
37. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Properties
long - .NET alias
Relational Operator
38. 32 bit integer data
long - .NET alias
Int32 - Size
Int64 - Size
double - .NET alias
39. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Method
uint - .NET alias
Parameter aka Argument
40. 64 bit double precision floating point data
Double (or double) - Size
Expression
Operator
ushort - .NET alias
41. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
JIT
Derived Class
Decimal (or decimal) - Size
42. System.Int64
Private Access Modifier
long - .NET alias
Inheritance
ushort - Size
43. 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
Protected Internal Access Modifier
Class Statement
Operator
44. 32 bit - unsigned integer data
Properties
Field
char - Size
uint - Size
45. 64 bit integer data
Static Class
Statement
ulong - .NET alias
long - Size
46. true or false
bool - Size
Intermediate Language (IL)
byte - .NET alias
FCL
47. Introduces a new class. Marked by curly brackets { }
Namespace
Class Statement
Stack
Primitive
48. The "Type" name of data that is stored on the Heap
Class aka Type
Reference Type
uint - .NET alias
Properties
49. Mathematical (+ or - or / or %)
ushort - .NET alias
decimal - .NET alias
Operator
JIT
50. 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
char - Size
JIT
Object
Data structures