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. Groups classes together so that they have a unique identifier
Method
Namespace
ulong - .NET alias
Static Class
2. 32 bit integer data
Abstract Class Modifier
Operator
int - Size
Encapsulation
3. The .NET run-time environment that enables code to be compiled and executed.
Abstract Class Modifier
Common Language Runtime (CLR)
byte - Size
Identifiers
4. Compilation of classes. In C# Usually ends in .dll or .exe
Window.xaml.cs
Stack
Int32 - Size
Assembly
5. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.
Int32 - Size
Internal Access Modifier
While Statement
Syntax
6. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Abstract Method Modifier
IDE
Statement
While Statement
7. Series of instructions which tell a computer what to do.
Program
Object
returnType methodName (parameterList)
float - .NET alias
8. An instance of a class that exists at run-time and is typically referenced via a variable name.
long - .NET alias
Object
Inheritance
String (or string)
9. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
JITer
Primitive Type
Intermediate Language (IL)
Assembly
10. 16 bit- unsigned word (U+0000 to U+ffff)
Protected Access Modifier
char - Size
Program
Abstract Class Modifier
11. Microsoft's generic software framework for application development.
NET
If Statement
Internal Access Modifier
uint - .NET alias
12. The lowest level or fundamental data types needed for representing data.
Primitive Type
Incrementing / Decrementing Variables
Statement
Static Class
13. 64 bit - unsigned integer data
Label
Reference Type
Base Class
ulong - Size
14. 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
Method
Internal Access Modifier
IDE
15. Access is limited to the current Assembly and Derived Types
Public Keyword
Virtual Method Modifier
Protected Internal Access Modifier
Object
16. (< or > or <= or >=)
Relational Operator
Data structures
float - .NET alias
Decimal (or decimal) - Size
17. The member type of a Class that performs an action.
int - Size
Identifiers
Method
Constant
18. System.Int64
Inheritance
long - .NET alias
Private Access Modifier
Statement
19. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Textbox
NET
String (or string)
20. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Sealed Class
If Statement
Just-in-time (JIT
Polymorphism
21. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Assignment Operator
byte - .NET alias
Boolean - Size
Intermediate Language (IL)
22. 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
Equality Operator
References (Visual Studio Solution
Array
23. System.Decimal
Derived Class
Sealed Class
decimal - .NET alias
double - .NET alias
24. Indicates that the Method can be overridden.
Virtual Method Modifier
Namespace
Static Class
returnType methodName (parameterList)
25. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Base Class
Class
Properties
Partial Class Modifier
26. Names reserved by the compiler that coders are not allowed to use as identifiers.
Keyword
Label
Statement
char - .NET alias
27. Represents the encapsulation of data and behaviors into a single unit.
Variable
short - Size
Derived Class
Class
28. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Operator
Namespace
byte - Size
Console Application
29. 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
Keyword
Boolean - Size
30. A Class that inherits characteristics from another Class.
Reference Type
Incrementing / Decrementing Variables
Derived Class
Partial Class Modifier
31. true or false
Boolean - Size
If Statement
char - .NET alias
Constant
32. System.UInt32
Common Language Runtime (CLR)
Protected Access Modifier
uint - .NET alias
Field
33. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
Overloaded Method
Protected Internal Access Modifier
Stack
34. 32 bit - unsigned integer data
uint - Size
Expression
Textbox
Program
35. Command Language Runtime
Program
CLR
Intermediate Language (IL)
char - Size
36. Allow access to types that exist in outside assemblies.
References (Visual Studio Solution
Incrementing / Decrementing Variables
returnType methodName (parameterList)
Framework Class Library (FCL)
37. Used to display text that end user does not need to edit.
JIT
returnType methodName (parameterList)
Label
ulong - Size
38. 16 bit - unsigned integer data (0 to 65535)
Overloaded Method
Just-in-time (JIT
Intermediate Language (IL)
ushort - Size
39. 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
Assembly
Object
Abstract Class Modifier
byte - .NET alias
40. 32 bit single precision floating point data
Syntax
Statement
Float (or float) - Size
Data structures
41. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
returnType methodName (parameterList)
Operator
Primitive
Inheritance
42. Integrated Development Environment
IDE
char - .NET alias
bool - Size
Static Member
43. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
returnType methodName (parameterList)
double - .NET alias
Array
Sealed Class
44. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Virtual Method Modifier
Conditional Operator
using
Stack
45. 8 bit - signed byte (-128 - 127)
Abstract Method Modifier
Statement
sbyte - Size
Assignment Operator
46. A Class from which other classes can inherit characteristics.
Value Type
Partial Method Modifier
Base Class
Expression
47. A Class that cannot be instantiated.
Unary Operator
Strong Typing
Static Class
Expression
48. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Encapsulation
Base Class
Syntax
Method
49. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Public Keyword
Data structures
ushort - Size
Operator
50. 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.
JITer
Abstract Method Modifier
Class aka Type
Internal Access Modifier