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. 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'.
Parameter aka Argument
Incrementing / Decrementing Variables
Boolean - Size
Textbox
2. 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.
Syntax
Inheritance
Private Access Modifier
Statement
3. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Data structures
Label
double - .NET alias
String (or string)
4. Code which implements GUI (graphical User Interface).
long - Size
Inheritance
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
W.P.F
5. true or false
bool - Size
Object
Static Class
Unary Operator
6. (< or > or <= or >=)
Int64 - Size
bool - Size
W.P.F
Relational Operator
7. Restricts access to a Member to the current Class and any Derived Class.
Dot Notation
Constructor
Protected Access Modifier
Statement
8. Introduces a new class. Marked by curly brackets { }
Textbox
Decimal (or decimal) - Size
long - .NET alias
Class Statement
9. A representation of an area in the computer memory in which a value of a particular data type can be stored.
sbyte - Size
Variable
ulong - Size
Constructor
10. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
returnType methodName (parameterList)
char - .NET alias
ulong - .NET alias
11. Represents the encapsulation of data and behaviors into a single unit.
Boolean Operator
Window.xaml.cs
Class
FCL
12. The lowest level or fundamental data types needed for representing data.
Relational Operator
FCL
Primitive Type
Framework Class Library (FCL)
13. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
Intermediate Language (IL)
Assembly
Expression
JITer
14. Text as Unicode characters
Identifiers
Inheritance
String (or string)
Array
15. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Private Access Modifier
Static Class
Expression
Class
16. Allow access to types that exist in outside assemblies.
Protected Internal Access Modifier
While Statement
Statement
References (Visual Studio Solution
17. System.Byte
Public Keyword
byte - .NET alias
Program
int - Size
18. When a sub class passes down all the behaviours of the original parent class
short - Size
Variable
Inheritance
Properties
19. System.Int16
short - .NET alias
Equality Operator
Comments
Visual Studio Solution
20. An instance of a class that exists at run-time and is typically referenced via a variable name.
While Statement
Object
Static Member
byte - Size
21. (= or += or -= or = or /=)
Field
Assignment Operator
char - .NET alias
using
22. Variables defined by a class
FCL
Array
Stack
Field
23. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Namespace
Assembly
Intermediate Language (IL)
JITer
24. 64 bit - unsigned integer data
Textbox
Virtual Method Modifier
ulong - Size
Variable (C# requirements)
25. The process of hiding and restricting access to the implementation details of a data structure.
Relational Operator
Encapsulation
Boolean Operator
Operator
26. Something that has a different number of parameters to it's predecessor
Overloaded Method
uint - Size
Primitive
CLR
27. Encapsulation is the process of providing access to an object only through it's messages while keeping the details private. Encapsulation controls the use of a class.
Inheritance
decimal - .NET alias
Encapsulation
ulong - .NET alias
28. The "Type" name of data that is stored on the Stack
Value Type
Constructor
Comments
Visual Studio Solution
29. The .NET run-time environment that enables code to be compiled and executed.
Incrementing / Decrementing Variables
Boolean Operator
ushort - .NET alias
Common Language Runtime (CLR)
30. A type of statement that produces a value that might be tested or assigned to a variable.
r
Static Class
Expression
DateTime
31. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Virtual Method Modifier
Strong Typing
Framework Class Library (FCL)
32. Command Language Runtime
Variable (C# requirements)
CLR
References (Visual Studio Solution
ushort - Size
33. System.Double
r
Boolean Operator
double - .NET alias
Variable (C# requirements)
34. 32 bit integer data
int - Size
sbyte - Size
ulong - Size
Namespace
35. 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
Stack
Operator
CLR
36. Extra information within a method
Class Statement
Textbox
Parameter aka Argument
Framework Class Library (FCL)
37. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
int - Size
Array
bool - Size
long - Size
38. A Class that cannot be instantiated.
Visual Studio Solution
Dot Notation
Static Class
References (Visual Studio Solution
39. System.UInt64
long - Size
Assembly
Syntax
ulong - .NET alias
40. A Class from which other classes can inherit characteristics.
NET
Constructor
Base Class
Abstract Method Modifier
41. Indicates that the Method can be overridden.
byte - Size
Method
Virtual Method Modifier
Primitive
42. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
ushort - Size
Statement
If Statement
Operator
43. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
FCL
Primitive
Console Application
References (Visual Studio Solution
44. 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.
Assembly
NET
Relational Operator
Identifiers
45. The process of compiling IL source into CPU-native code for execution.
Incrementing / Decrementing Variables
Just-in-time (JIT
Virtual Method Modifier
Expression
46. A Class that inherits characteristics from another Class.
Derived Class
JIT
decimal - .NET alias
Common Language Runtime (CLR)
47. Syntax of a C# Method
Field
Int32 - Size
returnType methodName (parameterList)
Static Class
48. Allows the definition of a Class to span multiple files (within the same Project)
char - .NET alias
Incrementing / Decrementing Variables
Just-in-time (JIT
Partial Class Modifier
49. A method that is called whenever an Object is created. The method uses the same name as the Class.
Virtual Method Modifier
Constructor
bool - Size
Variable
50. Integrated Development Environment
IDE
bool - Size
Program
Just-in-time (JIT