INDIA
Home
Books
Videos
Test Skills
Buy Now
Company
Other Links
Contact Us
Featured Video
Featured Book
Test Module :
To know about what level you should start from, here’s an online test that lets you determine your current C# awareness levels.
After we receive the Test answers from you, we will recommend you suitable books and videos to prime up your knowledge.
Question : 1
What is the starting point for a C# application?
Answer :
The Main class
The Main method
The main class
The main method
Question : 2
Write() and WriteLine() are methods of what class?
Answer :
System
Console
IO
Question : 3
What keyword is good at handling complex conditions that would normally require nested if statements?
Answer :
break
while
goto
switch
do
Question : 4
How many times will the loop in the follow code iterate? for (int i = 1; i <= 10; i++){Console.WriteLine("Pass {0} in the loop", i);}
Answer :
0
1
9
10
infinite
Question : 5
What type of loop runs at least once even if the condition is initially false?
Answer :
for loop
do loop
while loop
Question : 6
How do you comment out a single line in C#?
Answer :
/
//
--
/* … */
Question : 7
If the index of the final element in your array is [7] then what is the length of your array?
Answer :
6
7
8
Question : 8
You have the following code. string myString = "This is a test"; You can convert any lower case letter ‘t’ to an uppercase ‘T’. When done, your string should look like this: "This is a TesT". Which code will achieve this result?
Answer :
myString = myString.Replace("t", "T");
myString = myString.SubString(11,14);
myString[11] = 'T'; myString[14] = 'T';
Question : 9
Take a look at this code fragment: int I1 = 101; byte B1; How can you assign I1 into B1?
Answer :
B1 = I1;
I1 = B1;
B1 = (int)I1;
B1 = (byte)I1;
I1 = (byte)B1;
Question : 10
You don’t want your method to have a return value. What keyword do you use?
Answer :
Empty
None
void
int
bool
Enter Your Email:
Which city are you from ?
Any remarks ?
Home
|
Site Map
|
Privacy Policy
|
Disclaimer
|
Contact Us
Copyright © 2011 Joes2Pros.com. All rights reserved.
Website Designed and Marketed by
Blue Digital
Online Shopping