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. The "Type" name of data that is stored on the Heap
Unary Operator
Reference Type
Constructor
Protected Internal Access Modifier
2. 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.
Encapsulation
Variable
ushort - .NET alias
Assembly
3. System.Single
Syntax
Method
float - .NET alias
ulong - .NET alias
4. 16 bit- unsigned word (U+0000 to U+ffff)
Visual Studio Solution
char - Size
Assembly
Private Access Modifier
5. System.UInt16
ushort - .NET alias
Reference Type
Encapsulation
Relational Operator
6. A Member that cannot be accessed/invoked through an Object Instance.
Object
int - Size
Static Member
JIT
7. 16 bit - unsigned integer data (0 to 65535)
Polymorphism
Float (or float) - Size
ushort - Size
Object
8. System.Decimal
Strong Typing
Namespace
decimal - .NET alias
Operator
9. Names reserved by the compiler that coders are not allowed to use as identifiers.
Abstraction
Keyword
Unary Operator
Assignment Operator
10. Most common kind of reference type. They define objects. They must have at least one method and one field.
Namespace
Decimal (or decimal) - Size
Class aka Type
Dot Notation
11. 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
Primitive Type
Object
double - .NET alias
long - .NET alias
12. Code which signifies a carriage return. Symbolises a new line in a text box.
If Statement
Dot Notation
r
Program
13. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
FCL
Intermediate Language (IL)
Int64 - Size
Inheritance
14. Contains the class definitions that allow access to the functionality provided by .NET.
short - Size
Framework Class Library (FCL)
Parameter aka Argument
Label
15. Groups classes together so that they have a unique identifier
Namespace
Relational Operator
Operator
Encapsulation
16. 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'.
double - .NET alias
Virtual Method Modifier
Textbox
IDE
17. 32 bit integer data
Keyword
Window.xaml.cs
int - Size
decimal - .NET alias
18. 64 bit integer data
Reference Type
Encapsulation
uint - .NET alias
long - Size
19. System.Char
csc.exe
Variable (C# requirements)
char - .NET alias
Expression
20. Syntax of a C# Method
String (or string)
decimal - .NET alias
returnType methodName (parameterList)
DateTime
21. Code which implements GUI (graphical User Interface).
Boolean - Size
csc.exe
Protected Internal Access Modifier
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
22. true or false
long - Size
Base Class
Textbox
Boolean - Size
23. Allows the definition of a Class to span multiple files (within the same Project)
Assembly
Partial Class Modifier
Textbox
Virtual Method Modifier
24. A symbol that specifies an operation to be performed on one or more variables.
Heap
Operator
Boolean - Size
FCL
25. Access is limited to the current Assembly
Protected Internal Access Modifier
sbyte - .NET alias
uint - Size
Internal Access Modifier
26. Sits behind GUI (Graphical User Interface) and provides event listeners
Inheritance
Reference Type
Polymorphism
Window.xaml.cs
27. Symbols which transform and combine expressions
Operator
long - .NET alias
uint - .NET alias
ushort - Size
28. Calculation whose result is either true or false but cannot be both E.g. == Equal to. != Not Equal too. < Less than. <= Less than of equal to. > Greater than. >= Greaten than or equal to. && AND (Conditional) ->|| OR (Conditional)
csc.exe
Boolean Operator
uint - .NET alias
Partial Class Modifier
29. The process of hiding and restricting access to the implementation details of a data structure.
Encapsulation
Heap
Public Keyword
Intermediate Language (IL)
30. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
ushort - Size
Double (or double) - Size
JITer
Overloaded Method
31. System.UInt64
Label
Value Type
ulong - .NET alias
Framework Class Library (FCL)
32. (= or += or -= or = or /=)
Precedence
Inheritance
Heap
Assignment Operator
33. A Class from which other classes can inherit characteristics.
Base Class
uint - Size
JITer
Abstract Method Modifier
34. Just-in-time compilation
Protected Access Modifier
Expression
JIT
Virtual Method Modifier
35. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Float (or float) - Size
Statement
long - .NET alias
36. Integrated Development Environment
returnType methodName (parameterList)
Assignment Operator
IDE
FCL
37. Field whose value can never change. Declared with 'const' keyword
NET
Parameter aka Argument
If Statement
Constant
38. Used to display text that end user does not need to edit.
sbyte - .NET alias
Label
JITer
References (Visual Studio Solution
39. Only requires one operand usually a count+1 or a count++ or a count--
Boolean Operator
Expression
Encapsulation
Unary Operator
40. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Polymorphism
DateTime
Data structures
Private Access Modifier
41. 64 bit double precision floating point data
Parameter aka Argument
Double (or double) - Size
Assignment Operator
Program
42. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
References (Visual Studio Solution
Assembly
Data structures
sbyte - Size
43. An instance of a class that exists at run-time and is typically referenced via a variable name.
Value Type
ushort - Size
int - .NET alias
Object
44. (< or > or <= or >=)
Relational Operator
Incrementing / Decrementing Variables
Static Class
long - .NET alias
45. Represents the encapsulation of data and behaviors into a single unit.
Class
char - Size
Static Class
Properties
46. 32 bit single precision floating point data
Strong Typing
Inheritance
Float (or float) - Size
Primitive
47. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Class aka Type
long - Size
Inheritance
Abstract Class Modifier
48. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Strong Typing
Object
Statement
Variable (C# requirements)
49. When a sub class passes down all the behaviours of the original parent class
Inheritance
Conditional Operator
Properties
Dot Notation
50. Mathematical (+ or - or / or %)
using
Int64 - Size
Field
Operator