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 "Type" name of data that is stored on the Stack
Common Language Runtime (CLR)
Value Type
Virtual Method Modifier
Data structures
2. Field whose value can never change. Declared with 'const' keyword
References (Visual Studio Solution
Reference Type
Array
Constant
3. Allows a class to define multiple implementations of a method based on the number and types of arguments passed (Overloading).
Derived Class
Float (or float) - Size
byte - Size
Polymorphism
4. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
IDE
Variable
C#
Data structures
5. Syntax of a C# Method
short - Size
Value Type
References (Visual Studio Solution
returnType methodName (parameterList)
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.
Identifiers
Constant
Operator
Framework Class Library (FCL)
7. Variables defined by a class
Assignment Operator
long - .NET alias
Field
While Statement
8. Restricts access to a Member to the current Class.
NET
double - .NET alias
CLR
Private Access Modifier
9. (&& or || or & or |)
Program
Object
uint - .NET alias
Conditional Operator
10. System.Int16
short - .NET alias
ulong - .NET alias
Relational Operator
sbyte - Size
11. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
Abstract Class Modifier
Unary Operator
IDE
12. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Stack
Value Type
csc.exe
Abstract Class Modifier
13. System.SByte
byte - Size
sbyte - .NET alias
Stack
JITer
14. Block of memory for storing local variables and parameters. Automatically grows and shrinks as function is entered and excited.
Stack
long - .NET alias
Visual Studio Solution
Properties
15. Names reserved by the compiler that coders are not allowed to use as identifiers.
char - Size
Keyword
Object
Encapsulation
16. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Primitive
Abstract Method Modifier
byte - .NET alias
17. 64 bit integer data
Statement
CLR
Int64 - Size
Field
18. Keyword which exposes members to other classes OR Identifier which makes program elements public
byte - Size
short - .NET alias
Statement
Public Keyword
19. 64 bit - unsigned integer data
ulong - Size
Protected Access Modifier
W.P.F
Int64 - Size
20. Container for one or more Visual Studio Projects.
Statement
Visual Studio Solution
ulong - .NET alias
Array
21. Extra information within a method
Parameter aka Argument
sbyte - .NET alias
Equality Operator
Visual Studio Solution
22. Something that has a different number of parameters to it's predecessor
DateTime
byte - .NET alias
Overloaded Method
C#
23. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
char - Size
Label
Float (or float) - Size
using
24. System.UInt32
Label
Protected Internal Access Modifier
ulong - .NET alias
uint - .NET alias
25. System.Char
Keyword
char - .NET alias
Method
Protected Internal Access Modifier
26. The process of hiding and restricting access to the implementation details of a data structure.
Data structures
Float (or float) - Size
Encapsulation
Comments
27. (< or > or <= or >=)
JIT
Float (or float) - Size
Relational Operator
Constant
28. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Sealed Class
decimal - .NET alias
Program
Statement
29. Access is limited to the current Assembly and Derived Types
Relational Operator
Protected Internal Access Modifier
Namespace
Conditional Operator
30. Contains the class definitions that allow access to the functionality provided by .NET.
Class
Framework Class Library (FCL)
Constant
Static Class
31. Command which runs repeatedly while (some) condition is true.
Precedence
Assignment Operator
Internal Access Modifier
While Statement
32. 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.
Object
Variable
Reference Type
Framework Class Library (FCL)
33. System.UInt16
Boolean - Size
ushort - .NET alias
Partial Class Modifier
Encapsulation
34. 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.
DateTime
FCL
Protected Internal Access Modifier
Encapsulation
35. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Primitive
Assembly
Boolean - Size
Comments
36. The member type of a Class that performs an action.
Expression
Abstract Method Modifier
Int32 - Size
Method
37. 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)
Stack
Assembly
using
38. count = count+1 or count++ or count__. Both count variables are Unary Operators
Program
r
Incrementing / Decrementing Variables
C#
39. The lowest level or fundamental data types needed for representing data.
Encapsulation
Primitive Type
Equality Operator
Window.xaml.cs
40. Series of instructions which tell a computer what to do.
Protected Access Modifier
Data structures
Program
Equality Operator
41. 16 bit - signed integer data (-32768 to 32767)
Static Class
short - Size
Public Keyword
int - Size
42. Just-in-time compilation
JIT
float - .NET alias
Reference Type
Array
43. 16 bit- unsigned word (U+0000 to U+ffff)
Static Class
char - Size
bool - Size
Partial Method Modifier
44. 64 bit integer data
Constant
Reference Type
Console Application
long - Size
45. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Reference Type
Statement
Int64 - Size
Properties
46. A Class that inherits characteristics from another Class.
Visual Studio Solution
Operator
Variable
Derived Class
47. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Method
Constructor
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Inheritance
48. A Class that cannot be Inherited
Sealed Class
int - .NET alias
Textbox
While Statement
49. A symbol that specifies an operation to be performed on one or more variables.
Operator
Class
Expression
Just-in-time (JIT
50. 32 bit single precision floating point data
Abstract Class Modifier
Assembly
Float (or float) - Size
Incrementing / Decrementing Variables
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