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. If (boolean expression) //true -> statement 1 statement1; else //false -> statement2 statement; //else statement2 optional
Framework Class Library (FCL)
IDE
If Statement
Intermediate Language (IL)
2. true or false
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
using
Relational Operator
Boolean - Size
3. 64 bit integer data
W.P.F
long - Size
Visual Studio Solution
using
4. Code which implements GUI (graphical User Interface).
long - Size
Visual Studio Solution
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
DateTime
5. Specifies that the Method includes no implementation and must be overridden in a deriving class - where it will get its definition. Can only be part of an Abstract Class.
returnType methodName (parameterList)
Abstract Method Modifier
JIT
Value Type
6. Access is limited to the current Assembly
Static Class
Int32 - Size
Constructor
Internal Access Modifier
7. Sits behind GUI (Graphical User Interface) and provides event listeners
Window.xaml.cs
Inheritance
Abstract Method Modifier
Expression
8. The member type of a Class that performs an action.
float - .NET alias
Protected Access Modifier
Method
int - .NET alias
9. A combination of language identifiers and data and operators and expressions that constitute a single line of syntactically correct & executable code.
Field
Virtual Method Modifier
Statement
Partial Method Modifier
10. 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
Object
Data structures
Identifiers
Variable
11. 64 bit - unsigned integer data
ulong - Size
using
Identifiers
Sealed Class
12. 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.
Internal Access Modifier
long - Size
Identifiers
char - .NET alias
13. Syntax of a C# Method
Object
returnType methodName (parameterList)
Overloaded Method
Statement
14. System.Decimal
decimal - .NET alias
ushort - .NET alias
byte - Size
Protected Access Modifier
15. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
Namespace
Method
ulong - .NET alias
Framework Class Library (FCL)
16. A Class that inherits characteristics from another Class.
NET
Class Statement
Derived Class
Expression
17. Microsoft's generic software framework for application development.
NET
Array
Incrementing / Decrementing Variables
JIT
18. 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
Keyword
Intermediate Language (IL)
long - .NET alias
19. Introduces a new class. Marked by curly brackets { }
Window.xaml.cs
Class Statement
int - .NET alias
Visual Studio Solution
20. Allows the definition of a Class to span multiple files (within the same Project)
Label
short - .NET alias
Partial Class Modifier
Visual Studio Solution
21. Statements are instructions describing how to run a programme. Statements declare the name of a variable. Statements are combined to create methods.
Method
Statement
Namespace
Window.xaml.cs
22. Code which signifies a carriage return. Symbolises a new line in a text box.
Static Class
Class
r
Reference Type
23. A Class from which other classes can inherit characteristics.
Base Class
Relational Operator
String (or string)
NET
24. Variables defined by a class
Primitive Type
short - .NET alias
FCL
Field
25. The output produced by the C# Compiler - typically a .dll or .exe. Produced by a Project in Visual Studio
JIT
Expression
Assembly
Method
26. Symbols which transform and combine expressions
C#
Internal Access Modifier
Operator
float - .NET alias
27. When a sub class passes down all the behaviours of the original parent class
Static Member
Array
Inheritance
using
28. The "Type" name of data that is stored on the Stack
Strong Typing
Label
Assembly
Value Type
29. Thing which gives something a value. E.g. Assignment Expression uses the '=' operator to assign a variable value such as x = y * 5
Expression
Constructor
Visual Studio Solution
IDE
30. Field whose value can never change. Declared with 'const' keyword
Constant
Precedence
r
Method
31. Characteristics of an object. Something an object has. Provides a specific access point to data within a field
While Statement
double - .NET alias
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Properties
32. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Equality Operator
Int32 - Size
Assembly
Primitive
33. System.Single
Heap
float - .NET alias
Strong Typing
Stack
34. (== or !=)
float - .NET alias
Equality Operator
Primitive Type
Variable
35. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
Relational Operator
C#
Variable
Partial Class Modifier
36. Restricts access to a Member to the current Class and any Derived Class.
Encapsulation
Protected Access Modifier
Partial Class Modifier
If Statement
37. Must have a data type
Variable (C# requirements)
Abstract Class Modifier
Strong Typing
r
38. System.Double
double - .NET alias
Overloaded Method
Method
sbyte - .NET alias
39. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
Assembly
Boolean - Size
csc.exe
Abstract Class Modifier
40. Represents date and time data with a 100 ns resolution
DateTime
Boolean - Size
char - Size
Expression
41. Used to display text that end user does not need to edit.
Label
Int32 - Size
Derived Class
Properties
42. 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'.
Assembly
long - .NET alias
int - Size
Textbox
43. A type of statement that produces a value that might be tested or assigned to a variable.
Class
r
FCL
Expression
44. An abstract container used to hold a logically related group of data and functionality (e.g. System.* or System.Lynq or System.Windows etc.).
JITer
Namespace
Class Statement
Textbox
45. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
JIT
long - Size
Precedence
Int64 - Size
46. Series of instructions which tell a computer what to do.
Program
Data structures
Private Access Modifier
Abstraction
47. Allow access to types that exist in outside assemblies.
Precedence
References (Visual Studio Solution
Primitive Type
Encapsulation
48. 32 bit integer data
uint - .NET alias
short - Size
Inheritance
Int32 - Size
49. A Class that cannot be instantiated.
Static Class
Int32 - Size
Expression
CLR
50. 16 bit- unsigned word (U+0000 to U+ffff)
char - .NET alias
char - Size
Expression
Console Application
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