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. The .NET run-time environment that enables code to be compiled and executed.
Relational Operator
Abstract Method Modifier
While Statement
Common Language Runtime (CLR)
2. System.Char
Conditional Operator
char - .NET alias
Double (or double) - Size
uint - .NET alias
3. 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
sbyte - .NET alias
Heap
Constructor
Inheritance
4. A type of statement that produces a value that might be tested or assigned to a variable.
Overloaded Method
Assignment Operator
returnType methodName (parameterList)
Expression
5. Access is limited to the current Assembly and Derived Types
Protected Internal Access Modifier
Sealed Class
Double (or double) - Size
Abstract Class Modifier
6. true or false
Class Statement
Encapsulation
Precedence
Boolean - Size
7. Introduces a new class. Marked by curly brackets { }
Stack
Reference Type
Inheritance
Class Statement
8. count = count+1 or count++ or count__. Both count variables are Unary Operators
Incrementing / Decrementing Variables
Class
Public Keyword
short - .NET alias
9. Variables defined by a class
C#
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
decimal - .NET alias
Field
10. Implies that the programming language places severe restrictions on the intermixing that is permitted to occur - between objects or data of different types.
JIT
Strong Typing
Stack
Array
11. Keyword which exposes members to other classes OR Identifier which makes program elements public
If Statement
Syntax
Properties
Public Keyword
12. (= or += or -= or = or /=)
Assignment Operator
using
Operator
While Statement
13. 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.
Encapsulation
Virtual Method Modifier
char - Size
Expression
14. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Properties
Data structures
Class
Inheritance
15. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
sbyte - .NET alias
Object
Method
16. System.Single
Syntax
Console Application
float - .NET alias
Method
17. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
decimal - .NET alias
Assembly
JITer
Int32 - Size
18. A method that is called whenever an Object is created. The method uses the same name as the Class.
Expression
short - .NET alias
Constructor
Framework Class Library (FCL)
19. Restricts access to a Member to the current Class.
double - .NET alias
Abstract Class Modifier
Private Access Modifier
Primitive Type
20. 32 bit single precision floating point data
sbyte - Size
Protected Access Modifier
If Statement
Float (or float) - Size
21. The "Type" name of data that is stored on the Stack
Base Class
Value Type
Assembly
Incrementing / Decrementing Variables
22. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
Expression
Label
Namespace
Internal Access Modifier
23. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Assembly
ulong - Size
ushort - .NET alias
Primitive
24. 128 bit fixed precision (financial)
Decimal (or decimal) - Size
Syntax
Relational Operator
Double (or double) - Size
25. Restricts access to a Member to the current Class and any Derived Class.
int - Size
Protected Access Modifier
Properties
While Statement
26. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
FCL
Partial Method Modifier
sbyte - .NET alias
27. System.Double
Static Member
Operator
double - .NET alias
Namespace
28. Just-in-time compilation
JIT
Dot Notation
Console Application
Polymorphism
29. Syntax of a C# Method
returnType methodName (parameterList)
Unary Operator
Intermediate Language (IL)
FCL
30. When a sub class passes down all the behaviours of the original parent class
Assembly
Inheritance
Identifiers
ulong - .NET alias
31. A symbol that specifies an operation to be performed on one or more variables.
Abstract Class Modifier
CLR
uint - Size
Operator
32. A Class from which other classes can inherit characteristics.
Base Class
Intermediate Language (IL)
Boolean - Size
Partial Method Modifier
33. The concept of defining subclasses of data objects that share some or all of the parent's class characteristics - enabling the reuse of code.
Expression
String (or string)
Inheritance
Array
34. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
FCL
Method
Protected Access Modifier
Statement
35. Framework Class Library
Keyword
Partial Method Modifier
FCL
Internal Access Modifier
36. (< or > or <= or >=)
Primitive Type
Relational Operator
Unary Operator
Protected Access Modifier
37. (== or !=)
sbyte - Size
Equality Operator
Identifiers
Console Application
38. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Class Statement
Method
Keyword
Statement
39. Code which signifies a carriage return. Symbolises a new line in a text box.
Relational Operator
r
bool - Size
JIT
40. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Polymorphism
Comments
Relational Operator
using
41. Text as Unicode characters
ulong - .NET alias
Array
String (or string)
Namespace
42. 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.
Constructor
While Statement
Object
Partial Method Modifier
43. System.Byte
sbyte - .NET alias
Window.xaml.cs
byte - .NET alias
returnType methodName (parameterList)
44. Integrated Development Environment
Method
Sealed Class
IDE
Class
45. Command Language Runtime
CLR
Console Application
String (or string)
Field
46. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Decimal (or decimal) - Size
csc.exe
Int32 - Size
Namespace
47. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Operator
Int32 - Size
Inheritance
C#
48. Code which implements GUI (graphical User Interface).
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Class Statement
Just-in-time (JIT
Constructor
49. 16 bit- unsigned word (U+0000 to U+ffff)
long - .NET alias
Abstract Method Modifier
String (or string)
char - Size
50. Extra information within a method
Constant
Equality Operator
Int64 - Size
Parameter aka Argument
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