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. 32 bit integer data
Intermediate Language (IL)
using
Int32 - Size
Strong Typing
2. Represents the encapsulation of data and behaviors into a single unit.
Keyword
Abstract Class Modifier
Class
Boolean Operator
3. Command which runs repeatedly while (some) condition is true.
csc.exe
Encapsulation
Reference Type
While Statement
4. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Console Application
Method
int - Size
Window.xaml.cs
5. Series of instructions which tell a computer what to do.
Visual Studio Solution
bool - Size
Program
Just-in-time (JIT
6. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Variable
Abstraction
csc.exe
int - .NET alias
7. An instance of a class that exists at run-time and is typically referenced via a variable name.
Static Class
Object
long - Size
String (or string)
8. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Inheritance
Parameter aka Argument
Polymorphism
Operator
9. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Method
Encapsulation
W.P.F
10. Specifies that a Class cannot be instantiated but can only be used as the Base Class from which other Classes are derived.
Partial Class Modifier
Abstract Method Modifier
Abstract Class Modifier
Polymorphism
11. A Class that cannot be instantiated.
String (or string)
Double (or double) - Size
ulong - Size
Static Class
12. The act of generalizing or thinking about an object in general terms. The act of identifying the data members and behavior of a Class.
Expression
Assignment Operator
Abstract Class Modifier
Abstraction
13. 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.
ulong - .NET alias
Object
Identifiers
Static Class
14. true or false
short - Size
bool - Size
Operator
Statement
15. System.Byte
Reference Type
Internal Access Modifier
byte - .NET alias
Class
16. Used to display text that end user does not need to edit.
Class Statement
Boolean Operator
Label
Conditional Operator
17. System.Double
FCL
Protected Internal Access Modifier
double - .NET alias
String (or string)
18. A type of statement that produces a value that might be tested or assigned to a variable.
DateTime
JITer
Expression
Inheritance
19. A Class that cannot be Inherited
Operator
ushort - Size
Sealed Class
Inheritance
20. The lowest level or fundamental data types needed for representing data.
Sealed Class
Polymorphism
Primitive Type
Heap
21. The .NET run-time environment that enables code to be compiled and executed.
Decimal (or decimal) - Size
Common Language Runtime (CLR)
uint - Size
Namespace
22. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Operator
Console Application
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
23. Command Language Runtime
Strong Typing
IDE
CLR
Internal Access Modifier
24. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
Strong Typing
Assembly
Value Type
Operator
25. 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
Visual Studio Solution
Static Class
bool - Size
Heap
26. Only requires one operand usually a count+1 or a count++ or a count--
Variable (C# requirements)
Assembly
Unary Operator
Dot Notation
27. Introduces a new class. Marked by curly brackets { }
Class Statement
Dot Notation
Constructor
Statement
28. Represents date and time data with a 100 ns resolution
Internal Access Modifier
DateTime
Variable
returnType methodName (parameterList)
29. The CLR tool used for just-in-time compilation which converts IL code to CPU specific code.
JITer
Public Keyword
double - .NET alias
Equality Operator
30. Container for one or more Visual Studio Projects.
Variable
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Visual Studio Solution
Window.xaml.cs
31. When a sub class passes down all the behaviours of the original parent class
Incrementing / Decrementing Variables
Encapsulation
long - .NET alias
Inheritance
32. 64 bit double precision floating point data
Double (or double) - Size
Field
char - Size
Boolean Operator
33. System.UInt16
Heap
Statement
Variable (C# requirements)
ushort - .NET alias
34. 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.
Virtual Method Modifier
Partial Method Modifier
Just-in-time (JIT
Statement
35. 128 bit fixed precision (financial)
Encapsulation
Array
sbyte - Size
Decimal (or decimal) - Size
36. 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
CLR
Class aka Type
Method
37. Contains the class definitions that allow access to the functionality provided by .NET.
Framework Class Library (FCL)
Method
using
Object
38. Must have a data type
Equality Operator
Double (or double) - Size
Expression
Variable (C# requirements)
39. 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.
Inheritance
Variable
Method
Protected Internal Access Modifier
40. Field whose value can never change. Declared with 'const' keyword
int - .NET alias
Constant
Abstract Class Modifier
Keyword
41. Indicates that the Method can be overridden.
Virtual Method Modifier
Class aka Type
double - .NET alias
Partial Method Modifier
42. Compilation of classes. In C# Usually ends in .dll or .exe
Method
Assembly
Framework Class Library (FCL)
Relational Operator
43. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Equality Operator
Abstraction
long - Size
If Statement
44. 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
Int64 - Size
long - .NET alias
Internal Access Modifier
Object
45. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Inheritance
Data structures
r
Properties
46. Just-in-time compilation
short - Size
JITer
DateTime
JIT
47. 8 bit - signed byte (-128 - 127)
Unary Operator
Operator
NET
sbyte - Size
48. Access is limited to the current Assembly and Derived Types
sbyte - Size
C#
Protected Internal Access Modifier
NET
49. 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
Statement
r
C#
Dot Notation
50. Syntax of a C# Method
Properties
uint - .NET alias
returnType methodName (parameterList)
ulong - .NET alias
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