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. Container for one or more Visual Studio Projects.
ulong - .NET alias
Textbox
Visual Studio Solution
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
2. 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
byte - .NET alias
Assignment Operator
DateTime
3. 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.
Identifiers
Partial Class Modifier
Variable
Double (or double) - Size
4. Just-in-time compilation
Namespace
JIT
Class
Assembly
5. Syntax of a C# Method
csc.exe
char - .NET alias
returnType methodName (parameterList)
Virtual Method Modifier
6. Most common kind of reference type. They define objects. They must have at least one method and one field.
Expression
Incrementing / Decrementing Variables
Class aka Type
Parameter aka Argument
7. System.Int16
short - .NET alias
Base Class
Method
Variable (C# requirements)
8. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Float (or float) - Size
FCL
C#
Encapsulation
9. Sits behind GUI (Graphical User Interface) and provides event listeners
Visual Studio Solution
Program
ushort - .NET alias
Window.xaml.cs
10. 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)
Primitive Type
References (Visual Studio Solution
int - .NET alias
11. Only requires one operand usually a count+1 or a count++ or a count--
Operator
Class Statement
Unary Operator
Namespace
12. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
sbyte - Size
Boolean - Size
returnType methodName (parameterList)
Namespace
13. System.Int32
Incrementing / Decrementing Variables
bool - Size
Framework Class Library (FCL)
int - .NET alias
14. A Class that cannot be Inherited
Class aka Type
Partial Method Modifier
byte - .NET alias
Sealed Class
15. A Class that can only have Static Members
Just-in-time (JIT
Console Application
ulong - Size
Static Class
16. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
short - Size
Precedence
Equality Operator
Console Application
17. Used to display text that end user does not need to edit.
Label
Relational Operator
Array
Constructor
18. A symbol that specifies an operation to be performed on one or more variables.
Primitive Type
FCL
Reference Type
Operator
19. A method that is called whenever an Object is created. The method uses the same name as the Class.
Statement
Constructor
Public Keyword
Statement
20. The "Type" name of data that is stored on the Stack
C#
Conditional Operator
Value Type
Incrementing / Decrementing Variables
21. The C# directive required to bring a namespace into scope. Eliminates the need to fully qualify a Type.
byte - .NET alias
Constructor
Abstract Class Modifier
using
22. 32 bit single precision floating point data
Inheritance
Statement
Float (or float) - Size
Static Member
23. Field whose value can never change. Declared with 'const' keyword
Constant
Reference Type
Float (or float) - Size
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
24. Keyword which exposes members to other classes OR Identifier which makes program elements public
Public Keyword
Class
Syntax
Decimal (or decimal) - Size
25. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Int32 - Size
returnType methodName (parameterList)
Namespace
Statement
26. Introduces a new class. Marked by curly brackets { }
Class Statement
Assembly
using
r
27. The "Type" name of data that is stored on the Heap
Reference Type
Assembly
Sealed Class
Method
28. 16 bit - signed integer data (-32768 to 32767)
Polymorphism
short - Size
Sealed Class
Reference Type
29. 8 bit - unsigned byte (0 - 255)
byte - Size
Keyword
Partial Class Modifier
Inheritance
30. A type of statement that produces a value that might be tested or assigned to a variable.
Expression
uint - Size
Incrementing / Decrementing Variables
Variable (C# requirements)
31. Allows the definition of a Class to span multiple files (within the same Project)
Identifiers
Program
Partial Class Modifier
Abstraction
32. A Class from which other classes can inherit characteristics.
uint - .NET alias
int - .NET alias
Value Type
Base Class
33. true or false
JITer
Boolean - Size
Stack
Relational Operator
34. Symbols which transform and combine expressions
Operator
ushort - Size
Expression
JIT
35. Text as Unicode characters
Syntax
String (or string)
Public Keyword
Array
36. 64 bit integer data
ushort - Size
Identifiers
long - Size
Parameter aka Argument
37. Names reserved by the compiler that coders are not allowed to use as identifiers.
Virtual Method Modifier
ushort - Size
Keyword
ushort - .NET alias
38. Microsoft's generic software framework for application development.
short - .NET alias
Reference Type
NET
IDE
39. System.UInt64
ulong - .NET alias
Method
double - .NET alias
NET
40. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Statement
Abstraction
int - Size
Common Language Runtime (CLR)
41. Rules defining or outlining the format and construction of statements. Semantics is what statements actually DO Syntax are RULES for how to lay statements out. Example syntax rule; All statements must end in a semicolon.
Comments
String (or string)
Framework Class Library (FCL)
Syntax
42. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
Static Class
Precedence
Just-in-time (JIT
Assignment Operator
43. A Class that cannot be instantiated.
Abstraction
Static Class
Field
double - .NET alias
44. Indicates that the Method can be overridden.
Polymorphism
ushort - .NET alias
Virtual Method Modifier
ulong - Size
45. 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
Constant
sbyte - Size
decimal - .NET alias
46. The .NET run-time environment that enables code to be compiled and executed.
Parameter aka Argument
Keyword
Expression
Common Language Runtime (CLR)
47. Variables defined by a class
Field
Data structures
ushort - Size
ulong - .NET alias
48. Command Language Runtime
Value Type
JITer
CLR
Static Member
49. System.Byte
Static Class
Statement
char - .NET alias
byte - .NET alias
50. 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.
Static Class
Encapsulation
Strong Typing
Inheritance
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