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. Contains the class definitions that allow access to the functionality provided by .NET.
Variable (C# requirements)
long - Size
Framework Class Library (FCL)
Static Class
2. 64 bit - unsigned integer data
Syntax
Precedence
Expression
ulong - Size
3. (&& or || or & or |)
Just-in-time (JIT
Variable
Conditional Operator
Class Statement
4. Windows Presentation Foundation
Operator
Precedence
Program
W.P.F
5. System.UInt16
ushort - .NET alias
ushort - Size
Precedence
Class Statement
6. System.Char
Class aka Type
Abstract Class Modifier
char - .NET alias
Incrementing / Decrementing Variables
7. A standardized (ECMA) language for creating Windows .NET applications and services and libraries - with a syntax similar to Java and C++.
C#
Object
int - .NET alias
Keyword
8. Always runs left to right on all arithmetic operators. Parenthesis (or brackets () ) override precedence flow.
double - .NET alias
Object
Precedence
Properties
9. Four things common to all software development: _______ - Flow of Control - Identifiers & Arguments - Testing / Debugging
Double (or double) - Size
Data structures
Statement
short - Size
10. A Class that can only have Static Members
Static Class
Encapsulation
Label
Common Language Runtime (CLR)
11. System.Byte
byte - .NET alias
Primitive Type
Parameter aka Argument
Constructor
12. Integrated Development Environment
IDE
Int32 - Size
Inheritance
bool - Size
13. (= or += or -= or = or /=)
Just-in-time (JIT
Assignment Operator
Syntax
Operator
14. Something an object can do. A named sequence of events. Should always have a meaningful name eg calculateIncomeTax.
CLR
Method
ushort - .NET alias
Syntax
15. 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.
sbyte - Size
Syntax
Statement
While Statement
16. true or false
bool - Size
Internal Access Modifier
Reference Type
Double (or double) - Size
17. The four major concepts of Object Oriented Programming: Abstraction - Encapsulation - ___________ - Polymorphism
Class aka Type
Inheritance
ulong - Size
Keyword
18. Field whose value can never change. Declared with 'const' keyword
char - Size
NET
Constant
References (Visual Studio Solution
19. 64 bit integer data
long - Size
Unary Operator
uint - Size
Stack
20. System.Single
float - .NET alias
Assembly
Inheritance
Namespace
21. Allows the definition of a Class to span multiple files (within the same Project)
Partial Class Modifier
References (Visual Studio Solution
csc.exe
Expression
22. Code which signifies a carriage return. Symbolises a new line in a text box.
r
Syntax
Statement
sbyte - Size
23. 16 bit - unsigned integer data (0 to 65535)
ushort - Size
Common Language Runtime (CLR)
uint - .NET alias
Encapsulation
24. 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.
Decimal (or decimal) - Size
Heap
Partial Method Modifier
Keyword
25. A symbol that specifies an operation to be performed on one or more variables.
Operator
Equality Operator
double - .NET alias
Data structures
26. 32 bit single precision floating point data
Float (or float) - Size
Visual Studio Solution
Method
Operator
27. Variables defined by a class
Int32 - Size
Sealed Class
Field
Expression
28. Most common kind of reference type. They define objects. They must have at least one method and one field.
Class aka Type
Encapsulation
char - Size
Abstract Class Modifier
29. System.UInt32
Field
Method
uint - .NET alias
char - .NET alias
30. Runs in a command prompt window rather than a GUI (graphical User Interface) one.
Base Class
Syntax
Console Application
returnType methodName (parameterList)
31. System.Int16
short - .NET alias
CLR
byte - .NET alias
int - .NET alias
32. Command Language Runtime
Primitive
Keyword
Just-in-time (JIT
CLR
33. Access is limited to the current Assembly and Derived Types
Constant
csc.exe
Keyword
Protected Internal Access Modifier
34. 8 bit - signed byte (-128 - 127)
Conditional Operator
sbyte - Size
Properties
Program
35. 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
References (Visual Studio Solution
Operator
String (or string)
36. An instance of a class that exists at run-time and is typically referenced via a variable name.
FCL
using
Heap
Object
37. The C# command line compiler which transforms C# code into IL code and produces an assembly (.dll or .exe)
JIT
long - .NET alias
Static Class
csc.exe
38. 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.
Assembly
Precedence
long - Size
Variable
39. Must have a data type
long - Size
Variable (C# requirements)
using
Visual Studio Solution
40. Series of instructions which tell a computer what to do.
byte - .NET alias
Incrementing / Decrementing Variables
r
Program
41. 8 bit - unsigned byte (0 - 255)
byte - Size
Label
W.P.F
Visual Studio Solution
42. (== or !=)
ulong - Size
Public Keyword
Protected Access Modifier
Equality Operator
43. Text as Unicode characters
Textbox
csc.exe
String (or string)
Strong Typing
44. A method that is called whenever an Object is created. The method uses the same name as the Class.
Constructor
Operator
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
sbyte - .NET alias
45. Data Type Built into C#. Built into the XML Schema. Most common are: Int - Long - Float - Double - Decimal - String - Char and Bool.
Console Application
Operator
Object
Primitive
46. Code which implements GUI (graphical User Interface).
uint - .NET alias
Static Class
C# mark Up Language X.A.M.L(Extensible Application Markup Language)
Operator
47. The result of successful compilation of source code written in any .NET targeted language - e.g. C# or Visual Basic or C++.
short - Size
Intermediate Language (IL)
W.P.F
Just-in-time (JIT
48. count = count+1 or count++ or count__. Both count variables are Unary Operators
Internal Access Modifier
Int32 - Size
Incrementing / Decrementing Variables
sbyte - Size
49. Indicates that the Method can be overridden.
Dot Notation
Class aka Type
csc.exe
Virtual Method Modifier
50. Container for one or more Visual Studio Projects.
Variable
JIT
Visual Studio Solution
Abstract Method Modifier