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. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Static Class
Keyword
Namespace
2. Represents the encapsulation of data and behaviors into a single unit.
decimal - .NET alias
Static Member
Identifiers
Class
3. Just-in-time compilation
Protected Internal Access Modifier
JIT
Abstract Method Modifier
DateTime
4. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Window.xaml.cs
Assignment Operator
Primitive Type
5. Groups classes together so that they have a unique identifier
CLR
long - .NET alias
Namespace
csc.exe
6. 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.
FCL
Assembly
Encapsulation
Variable
7. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Class
using
Variable
int - .NET alias
8. (&& or || or & or |)
Encapsulation
Conditional Operator
Sealed Class
Class Statement
9. Framework Class Library
Encapsulation
Static Class
FCL
Value Type
10. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
char - .NET alias
ulong - .NET alias
Assembly
If Statement
11. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Program
int - Size
Primitive
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
12. Allow access to types that exist in outside assemblies.
Common Language Runtime (CLR)
Derived Class
Expression
References (Visual Studio Solution
13. Series of instructions which tell a computer what to do.
Comments
Internal Access Modifier
Program
Double (or double) - Size
14. 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.
Abstract Method Modifier
Boolean - Size
Inheritance
Constructor
15. Command which runs repeatedly while (some) condition is true.
Object
Float (or float) - Size
While Statement
Identifiers
16. When a sub class passes down all the behaviours of the original parent class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Inheritance
Boolean - Size
Private Access Modifier
17. A Class that inherits characteristics from another Class.
Relational Operator
Polymorphism
Derived Class
Parameter aka Argument
18. A Class that cannot be Inherited
Sealed Class
char - .NET alias
byte - .NET alias
Just-in-time (JIT
19. Variables defined by a class
Internal Access Modifier
Field
Inheritance
Primitive Type
20. Sits behind GUI (Graphical User Interface) and provides event listeners
Class Statement
r
Assembly
Window.xaml.cs
21. A representation of an area in the computer memory in which a value of a particular data type can be stored.
Variable
short - .NET alias
Heap
NET
22. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Internal Access Modifier
long - Size
Expression
DateTime
23. 32 bit integer data
int - Size
csc.exe
Common Language Runtime (CLR)
Reference Type
24. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
byte - Size
Data structures
Stack
C#
25. A Member that cannot be accessed/invoked through an Object Instance.
Primitive
Statement
ulong - .NET alias
Static Member
26. 16 bit - unsigned integer data (0 to 65535)
Variable
ushort - Size
Console Application
Conditional Operator
27. 32 bit integer data
Int32 - Size
long - .NET alias
Conditional Operator
FCL
28. true or false
Boolean - Size
Operator
Keyword
Constant
29. The "Type" name of data that is stored on the Stack
Expression
ulong - Size
Value Type
Heap
30. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
NET
Namespace
Abstraction
byte - Size
31. 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'.
Textbox
Common Language Runtime (CLR)
long - Size
Relational Operator
32. System.Byte
byte - .NET alias
Statement
Framework Class Library (FCL)
Incrementing / Decrementing Variables
33. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Operator
Base Class
Method
34. Keyword which exposes members to other classes OR Identifier which makes program elements public
Statement
char - Size
Int64 - Size
Public Keyword
35. (== or !=)
Variable
Equality Operator
Intermediate Language (IL)
long - .NET alias
36. 16 bit - signed integer data (-32768 to 32767)
Decimal (or decimal) - Size
short - Size
Statement
Field
37. Mathematical (+ or - or / or %)
Unary Operator
Statement
Properties
Operator
38. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Visual Studio Solution
Console Application
Heap
Constructor
39. Syntax of a C# Method
Namespace
returnType methodName (parameterList)
Static Member
ushort - .NET alias
40. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
Constructor
long - .NET alias
ulong - .NET alias
Properties
41. System.Char
char - .NET alias
Partial Method Modifier
Derived Class
short - .NET alias
42. System.UInt64
Assembly
Derived Class
byte - .NET alias
ulong - .NET alias
43. Compilation of classes. In C# Usually ends in .dll or .exe
Inheritance
Assembly
Double (or double) - Size
Stack
44. A Class that can only have Static Members
Static Class
Double (or double) - Size
byte - .NET alias
W.P.F
45. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Field
C#
Static Class
uint - Size
46. 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.
ushort - Size
Identifiers
Intermediate Language (IL)
Internal Access Modifier
47. Used to display text that end user does not need to edit.
Assignment Operator
Stack
Label
Reference Type
48. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Private Access Modifier
Object
Data structures
Keyword
49. The member type of a Class that performs an action.
sbyte - Size
Method
Public Keyword
byte - .NET alias
50. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Derived Class
char - .NET alias
NET
Inheritance