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. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Abstract Class Modifier
Inheritance
Method
Base Class
2. 64 bit double precision floating point data
long - Size
Double (or double) - Size
Identifiers
Relational Operator
3. A method that is called whenever an Object is created. The method uses the same name as the Class.
Method
r
Expression
Constructor
4. Symbols which transform and combine expressions
Operator
Relational Operator
Decimal (or decimal) - Size
Variable
5. 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)
Boolean Operator
returnType methodName (parameterList)
Namespace
JITer
6. 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.
Stack
Variable
Identifiers
If Statement
7. A type of statement that produces a value that might be tested or assigned to a variable.
Variable
float - .NET alias
Assembly
Expression
8. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Incrementing / Decrementing Variables
Inheritance
Abstract Class Modifier
9. Allows a Method to be defined in a separate file (within the same Project). If no definition is found the compiler excludes the Method as an optimization.
Partial Method Modifier
float - .NET alias
Derived Class
Static Member
10. A Class that cannot be Inherited
Assembly
Variable
Static Class
Sealed Class
11. (< or > or <= or >=)
Relational Operator
Boolean Operator
Class aka Type
sbyte - .NET alias
12. Restricts access to a Member to the current Class and any Derived Class.
Sealed Class
ulong - .NET alias
Encapsulation
Protected Access Modifier
13. A Class from which other classes can inherit characteristics.
Just-in-time (JIT
long - .NET alias
Framework Class Library (FCL)
Base Class
14. System.UInt64
double - .NET alias
Overloaded Method
ulong - .NET alias
Private Access Modifier
15. 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'.
Boolean Operator
Textbox
Relational Operator
ushort - .NET alias
16. (&& or || or & or |)
Conditional Operator
Encapsulation
Float (or float) - Size
Constant
17. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Boolean Operator
decimal - .NET alias
Abstraction
18. An instance of a class that exists at run-time and is typically referenced via a variable name.
Array
Constant
Object
byte - Size
19. Keyword which exposes members to other classes OR Identifier which makes program elements public
sbyte - .NET alias
While Statement
Public Keyword
decimal - .NET alias
20. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
FCL
Intermediate Language (IL)
csc.exe
Assembly
21. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Strong Typing
Encapsulation
Relational Operator
22. A representation of an area in the computer memory in which a value of a particular data type can be stored.
r
Protected Internal Access Modifier
Variable
Incrementing / Decrementing Variables
23. System.Int32
int - .NET alias
Window.xaml.cs
IDE
Comments
24. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Just-in-time (JIT
Polymorphism
Float (or float) - Size
Public Keyword
25. Introduces a new class. Marked by curly brackets { }
ushort - .NET alias
Operator
Class Statement
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
26. Names reserved by the compiler that coders are not allowed to use as identifiers.
Internal Access Modifier
Keyword
Inheritance
Boolean Operator
27. A Member that cannot be accessed/invoked through an Object Instance.
Static Member
While Statement
Derived Class
Operator
28. 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
Protected Internal Access Modifier
Reference Type
Incrementing / Decrementing Variables
29. A Class that cannot be instantiated.
Syntax
Reference Type
Static Class
Dot Notation
30. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Partial Method Modifier
Statement
Identifiers
Abstraction
31. System.Double
double - .NET alias
Method
Object
ulong - .NET alias
32. Container for one or more Visual Studio Projects.
double - .NET alias
Int32 - Size
Visual Studio Solution
Inheritance
33. A Class that inherits characteristics from another Class.
bool - Size
Derived Class
Variable
Identifiers
34. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Variable
Expression
Properties
35. Field whose value can never change. Declared with 'const' keyword
Constant
int - Size
Boolean - Size
char - Size
36. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
Variable
Common Language Runtime (CLR)
sbyte - .NET alias
37. The "Type" name of data that is stored on the Heap
Reference Type
Decimal (or decimal) - Size
NET
DateTime
38. Series of instructions which tell a computer what to do.
byte - Size
Program
Label
Encapsulation
39. Represents the encapsulation of data and behaviors into a single unit.
Object
Namespace
Class
Keyword
40. 8 bit - signed byte (-128 - 127)
sbyte - Size
Class aka Type
Sealed Class
Static Class
41. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
float - .NET alias
If Statement
Sealed Class
JIT
42. A Class that can only have Static Members
Variable
Strong Typing
Static Class
ushort - Size
43. Must have a data type
Int64 - Size
Variable (C# requirements)
short - Size
Boolean - Size
44. 32 bit integer data
Partial Class Modifier
Object
int - Size
DateTime
45. Un-orderd sequence of elements of the same type. Stores a fixed number of static elements of a particular type.
using
Operator
JIT
Array
46. The .NET run-time environment that enables code to be compiled and executed.
Common Language Runtime (CLR)
Int32 - Size
Console Application
Operator
47. The "Type" name of data that is stored on the Stack
JIT
Value Type
String (or string)
ushort - .NET alias
48. 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
Properties
C#
Sealed Class
49. System.Single
Array
float - .NET alias
ushort - Size
Operator
50. 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
Incrementing / Decrementing Variables
FCL
bool - Size
Dot Notation
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests