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. Code which signifies a carriage return. Symbolises a new line in a text box.
Namespace
r
While Statement
ulong - Size
2. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Comments
W.P.F
Internal Access Modifier
Boolean - Size
3. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Private Access Modifier
Relational Operator
Console Application
4. count = count+1 or count++ or count__. Both count variables are Unary Operators
Boolean Operator
Intermediate Language (IL)
Properties
Incrementing / Decrementing Variables
5. 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
Framework Class Library (FCL)
ushort - Size
Protected Internal Access Modifier
6. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
Expression
Array
Namespace
Heap
7. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Virtual Method Modifier
References (Visual Studio Solution
int - .NET alias
Stack
8. 32 bit - unsigned integer data
Partial Class Modifier
Object
uint - Size
ushort - .NET alias
9. 8 bit - signed byte (-128 - 127)
Strong Typing
W.P.F
Variable
sbyte - Size
10. 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
int - Size
Static Member
short - Size
11. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Precedence
Properties
long - Size
Incrementing / Decrementing Variables
12. When a sub class passes down all the behaviours of the original parent class
Just-in-time (JIT
Float (or float) - Size
Inheritance
JITer
13. 64 bit double precision floating point data
Double (or double) - Size
Class
Overloaded Method
Stack
14. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Keyword
Inheritance
Console Application
returnType methodName (parameterList)
15. 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.
String (or string)
Conditional Operator
Identifiers
Sealed Class
16. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Inheritance
Label
Unary Operator
r
17. 16 bit - unsigned integer data (0 to 65535)
Window.xaml.cs
Float (or float) - Size
ushort - Size
Class
18. System.Int64
sbyte - .NET alias
Variable (C# requirements)
Window.xaml.cs
long - .NET alias
19. System.UInt16
FCL
Just-in-time (JIT
Partial Method Modifier
ushort - .NET alias
20. A Member that cannot be accessed/invoked through an Object Instance.
ushort - Size
Variable
Static Member
FCL
21. The lowest level or fundamental data types needed for representing data.
Statement
Constructor
Operator
Primitive Type
22. true or false
bool - Size
Statement
Virtual Method Modifier
Properties
23. The member type of a Class that performs an action.
Variable (C# requirements)
Method
Variable
uint - .NET alias
24. 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)
Statement
While Statement
Protected Access Modifier
Boolean Operator
25. Windows Presentation Foundation
IDE
Operator
bool - Size
W.P.F
26. Text as Unicode characters
ulong - Size
String (or string)
Array
ushort - .NET alias
27. Contains the class definitions that allow access to the functionality provided by .NET.
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
W.P.F
ushort - Size
Framework Class Library (FCL)
28. System.Byte
byte - .NET alias
Syntax
Int32 - Size
String (or string)
29. Command which runs repeatedly while (some) condition is true.
W.P.F
IDE
short - .NET alias
While Statement
30. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
NET
short - .NET alias
Assembly
Equality Operator
31. Used to display text that end user does not need to edit.
char - Size
Object
Label
int - .NET alias
32. Sits behind GUI (Graphical User Interface) and provides event listeners
Keyword
JITer
csc.exe
Window.xaml.cs
33. Most common kind of reference type. They define objects. They must have at least one method and one field.
Polymorphism
Strong Typing
Class aka Type
Object
34. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Class Statement
char - Size
Abstract Class Modifier
byte - .NET alias
35. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
If Statement
Variable
C#
int - Size
36. 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.
Primitive
Variable
Class
bool - Size
37. System.Char
char - .NET alias
Strong Typing
Constant
uint - Size
38. Indicates that the Method can be overridden.
Double (or double) - Size
sbyte - Size
Virtual Method Modifier
Textbox
39. Mathematical (+ or - or / or %)
Expression
Operator
char - .NET alias
long - Size
40. System.Int32
int - .NET alias
IDE
Assignment Operator
Object
41. A Class that cannot be Inherited
Boolean Operator
Protected Access Modifier
float - .NET alias
Sealed Class
42. An instance of a class that exists at run-time and is typically referenced via a variable name.
Object
Comments
ulong - Size
Statement
43. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
r
char - Size
Polymorphism
returnType methodName (parameterList)
44. Compilation of classes. In C# Usually ends in .dll or .exe
int - Size
Assembly
Array
Abstract Method Modifier
45. A type of statement that produces a value that might be tested or assigned to a variable.
String (or string)
bool - Size
Primitive Type
Expression
46. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Array
Variable (C# requirements)
Intermediate Language (IL)
Just-in-time (JIT
47. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Constant
using
Partial Method Modifier
48. Series of instructions which tell a computer what to do.
Program
Inheritance
int - Size
Statement
49. Groups classes together so that they have a unique identifier
Operator
Namespace
Value Type
Internal Access Modifier
50. Framework Class Library
sbyte - Size
byte - Size
Polymorphism
FCL