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. 8 bit - signed byte (-128 - 127)
Boolean - Size
Double (or double) - Size
Common Language Runtime (CLR)
sbyte - Size
2. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
Decimal (or decimal) - Size
using
Abstract Class Modifier
Data structures
3. Windows Presentation Foundation
W.P.F
Inheritance
Assembly
Protected Internal Access Modifier
4. 8 bit - unsigned byte (0 - 255)
byte - Size
Field
Equality Operator
Base Class
5. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
Abstraction
ulong - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Strong Typing
6. Groups classes together so that they have a unique identifier
Float (or float) - Size
Namespace
ulong - Size
ushort - .NET alias
7. Just-in-time compilation
Static Member
Incrementing / Decrementing Variables
JIT
While Statement
8. System.Single
float - .NET alias
Abstract Class Modifier
NET
CLR
9. 32 bit integer data
Int32 - Size
IDE
Inheritance
Boolean Operator
10. System.Int64
Derived Class
Comments
long - .NET alias
sbyte - Size
11. Only requires one operand usually a count+1 or a count++ or a count--
Visual Studio Solution
Partial Class Modifier
Expression
Unary Operator
12. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Label
Assembly
Variable
13. Extra information within a method
short - .NET alias
uint - Size
Internal Access Modifier
Parameter aka Argument
14. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
byte - Size
Inheritance
Internal Access Modifier
Properties
15. A Class that cannot be instantiated.
Assembly
using
Static Class
Partial Class Modifier
16. Command which runs repeatedly while (some) condition is true.
Intermediate Language (IL)
Boolean Operator
While Statement
short - .NET alias
17. A Class that inherits characteristics from another Class.
Float (or float) - Size
r
Incrementing / Decrementing Variables
Derived Class
18. The process of compiling IL source into CPU-native code for execution.
short - Size
long - Size
int - .NET alias
Just-in-time (JIT
19. A method that is called whenever an Object is created. The method uses the same name as the Class.
Program
Constructor
Float (or float) - Size
CLR
20. 32 bit single precision floating point data
Virtual Method Modifier
Visual Studio Solution
Statement
Float (or float) - Size
21. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Class Statement
JIT
Polymorphism
Framework Class Library (FCL)
22. true or false
Variable
Common Language Runtime (CLR)
Primitive
Boolean - Size
23. A type of statement that produces a value that might be tested or assigned to a variable.
While Statement
Identifiers
Class Statement
Expression
24. Represents date and time data with a 100 ns resolution
Just-in-time (JIT
DateTime
float - .NET alias
Decimal (or decimal) - Size
25. Restricts access to a Member to the current Class and any Derived Class.
Protected Access Modifier
Field
ushort - .NET alias
short - Size
26. System.SByte
returnType methodName (parameterList)
sbyte - .NET alias
double - .NET alias
sbyte - Size
27. Mathematical (+ or - or / or %)
Static Member
References (Visual Studio Solution
Operator
Virtual Method Modifier
28. 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
Variable
JIT
Visual Studio Solution
Object
29. System.Int16
short - .NET alias
Decimal (or decimal) - Size
JITer
Static Class
30. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Variable
Boolean - Size
Method
If Statement
31. Access is limited to the current Assembly and Derived Types
JITer
short - .NET alias
Protected Internal Access Modifier
Partial Method Modifier
32. The "Type" name of data that is stored on the Heap
JITer
Equality Operator
ushort - .NET alias
Reference Type
33. true or false
Operator
bool - Size
r
JITer
34. Symbols which transform and combine expressions
Operator
Parameter aka Argument
Class aka Type
CLR
35. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Class Statement
Static Class
short - .NET alias
36. System.UInt16
Properties
Sealed Class
ushort - .NET alias
Inheritance
37. System.Int32
CLR
int - .NET alias
Static Member
Polymorphism
38. Indicates that the Method can be overridden.
Unary Operator
Virtual Method Modifier
Stack
ulong - Size
39. 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'.
Method
Partial Class Modifier
Decimal (or decimal) - Size
Textbox
40. (== or !=)
Comments
Equality Operator
Encapsulation
sbyte - .NET alias
41. Documentation text embedded within code which is not to be run as code. Two types single and multiple: single // multiline / insert comment here /
Dot Notation
Double (or double) - Size
Inheritance
Comments
42. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Framework Class Library (FCL)
Static Member
Inheritance
Class Statement
43. Object Oriented Programming relies on dot.notation. Dot Notation enables public methods to be fully accessible from outside an object. Member names are separated by a dot (.). Syntax is method-defined-in-class.bject-in-runtime-of-class
Dot Notation
Variable (C# requirements)
Inheritance
Relational Operator
44. System.Decimal
uint - .NET alias
decimal - .NET alias
Base Class
csc.exe
45. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Identifiers
Reference Type
Precedence
Syntax
46. Microsoft's generic software framework for application development.
NET
uint - .NET alias
Assembly
Static Class
47. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Statement
Class
Method
Precedence
48. Keyword which exposes members to other classes OR Identifier which makes program elements public
Variable (C# requirements)
sbyte - .NET alias
Public Keyword
Operator
49. The .NET run-time environment that enables code to be compiled and executed.
r
Common Language Runtime (CLR)
Textbox
Static Member
50. Command Language Runtime
Abstract Method Modifier
Internal Access Modifier
CLR
Virtual Method Modifier