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. Text as Unicode characters
Primitive Type
String (or string)
using
IDE
2. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
bool - Size
Constructor
Inheritance
Abstract Class Modifier
3. 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.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Precedence
Variable
FCL
4. Introduces a new class. Marked by curly brackets { }
Class Statement
Operator
bool - Size
Window.xaml.cs
5. Sits behind GUI (Graphical User Interface) and provides event listeners
Comments
Window.xaml.cs
Primitive Type
Primitive
6. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Derived Class
Internal Access Modifier
If Statement
JIT
7. A Member that cannot be accessed/invoked through an Object Instance.
Precedence
FCL
Object
Static Member
8. Mathematical (+ or - or / or %)
Just-in-time (JIT
sbyte - .NET alias
Abstraction
Operator
9. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
long - .NET alias
CLR
IDE
10. Container for one or more Visual Studio Projects.
Visual Studio Solution
ushort - .NET alias
Int32 - Size
Statement
11. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Private Access Modifier
Variable
Abstract Method Modifier
sbyte - .NET alias
12. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Variable
Strong Typing
Statement
13. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Common Language Runtime (CLR)
Int64 - Size
Assembly
14. 32 bit integer data
Assembly
Relational Operator
Equality Operator
int - Size
15. Windows Presentation Foundation
float - .NET alias
W.P.F
Strong Typing
ulong - .NET alias
16. The lowest level or fundamental data types needed for representing data.
Abstract Method Modifier
Object
Primitive Type
Statement
17. Series of instructions which tell a computer what to do.
Data structures
Program
Value Type
Abstraction
18. Symbols which transform and combine expressions
Operator
uint - Size
Sealed Class
Identifiers
19. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Identifiers
bool - Size
Encapsulation
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.
Abstraction
Int32 - Size
Keyword
Class
21. Represents the encapsulation of data and behaviors into a single unit.
Textbox
Expression
Public Keyword
Class
22. System.Int64
Method
Object
long - .NET alias
Operator
23. Integrated Development Environment
W.P.F
IDE
Properties
long - Size
24. When a sub class passes down all the behaviours of the original parent class
Static Class
Internal Access Modifier
Stack
Inheritance
25. Field whose value can never change. Declared with 'const' keyword
Constant
r
Operator
Textbox
26. true or false
Encapsulation
Unary Operator
Statement
Boolean - Size
27. 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
Reference Type
Assignment Operator
Static Class
28. System.UInt16
Operator
ushort - .NET alias
Stack
Overloaded Method
29. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
ushort - Size
Primitive
Statement
JITer
30. Framework Class Library
FCL
IDE
Boolean - Size
Partial Method Modifier
31. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
byte - .NET alias
r
bool - Size
Inheritance
32. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
char - .NET alias
Data structures
Static Class
Array
33. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Namespace
Strong Typing
Properties
Abstract Class Modifier
34. Access is limited to the current Assembly and Derived Types
char - Size
Protected Internal Access Modifier
ulong - .NET alias
char - .NET alias
35. 8 bit - unsigned byte (0 - 255)
Visual Studio Solution
Parameter aka Argument
Statement
byte - Size
36. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
char - Size
Relational Operator
r
Primitive
37. System.UInt32
ushort - Size
Program
uint - .NET alias
References (Visual Studio Solution
38. 128 bit fixed precision (financial)
Textbox
Window.xaml.cs
Decimal (or decimal) - Size
long - .NET alias
39. Most common kind of reference type. They define objects. They must have at least one method and one field.
Decimal (or decimal) - Size
Class aka Type
Encapsulation
Reference Type
40. Groups classes together so that they have a unique identifier
Inheritance
Namespace
Float (or float) - Size
Value Type
41. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
Derived Class
Reference Type
Intermediate Language (IL)
42. An instance of a class that exists at run-time and is typically referenced via a variable name.
short - Size
Precedence
Protected Internal Access Modifier
Object
43. count = count+1 or count++ or count__. Both count variables are Unary Operators
Statement
Syntax
Public Keyword
Incrementing / Decrementing Variables
44. A Class from which other classes can inherit characteristics.
C#
Base Class
Operator
JITer
45. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Private Access Modifier
C#
Namespace
Assignment Operator
46. A type of statement that produces a value that might be tested or assigned to a variable.
Statement
Expression
Variable
Protected Access Modifier
47. The member type of a Class that performs an action.
Keyword
CLR
Method
Static Class
48. 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.
Operator
Identifiers
JIT
Operator
49. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
returnType methodName (parameterList)
Class Statement
csc.exe
Abstraction
50. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Method
Method
Namespace
Variable