-
General Knowledge
-
General Topics
- Abbreviations
- Books and Authors
- Famous Academies and Institutes
- First in India (Man)
- First in India (Women)
- Important Dates
- Famous Personalities
- Public Administration Science
- Astronomy
- Biology
- Botany
- Chemistry
- Physics
- Zoology
- Inventions and Scientists Geography
- Geographical Epithets India
- Geographical Epithets World
- Places Associated with Industries in India
- National Parks and Sanctuaries
- Towns on River Banks History
- Indian History and Culture
- Indian National Movement
- Indian Polity and Constitution
- Ancient Period in Indian History
- World History
- Governor General of India Culture
- Languages
- Indian Dance and Music
- Classical Dances of India
- Folk Dances in India and Tribal Dances in India
- Famous Dancers, Instrumentalists, Vocalists in India World
- First in the World
- Parliament Names
- United Nation Organizations (UNO)
- World's Famous News Agencies
- World Industries
- National Emblems
- Countries and Alternative Names
- Countries and Capitals
- View More topics...
- General Aptitude
- Problems on Ages
- Alligation and Mixture
- Area
- Arithmetic Progression
- Average
- Banker's Discount
- Boats and Streams
- Calendar
- Chain Rule
- Clock
- Compound Interest
- Decimal Fraction
- Height and Distance
- Logarithms
- Mensurations
- Numbers
- Odd Man Out and Series
- Partnership and Share
- Percentage
- Permutation and Combination
- Pipes and Cisterns
- Probability
- Problems on H.C.F and L.C.M
- Problems on Numbers
- Problems on Trains
- Profit and Loss
- Races and Games
- Ratio and Proportion
- Simple Interest
- Simplification
- Stocks and Shares
- Surds and Indices
- Time and Distance
- Time and Work
- True Discount
- Volume & Surface Areas
- General English
- Antonyms
- Synonyms
- Vocabulary Test
- One Word Substitution
- Sentence Completion
- Sentence Improvement
- Idioms & Phrases
- Homonyms
- Word Formation
- Active & Passive Voice
- Direct and Indirect Speech
- Spotting Errors
- Double Synonyms
- Choose the Appropriate Filter
- Spelling Test
- Transformation
- Reconstruction of Sentence
- Chooose the Correct or Incorrect Sentence
- Networking
- Interview Questions
-
Programming
- .NET
- Java
- ASP.NET
- C++
- Perl
- Python
- Ruby and Rails
- Struts
- Core Java
- Hibernate Database
- DB2
- MS SQL Server
- MySQL
- Oracle
- SQL
- DBMS
- Data Warehousing
- Data structures and Algorithms Cisco
- CCNA
- CCNP Routing
- CCNP Switching
- Internetworking
- Border Gateway Protocol Windows
- MCSE
- Exchange Server
- Windows Server 2008
- DNS & Active Directory
- Firewall Questions Linux
- Unix
- Linux Server Administrator
- Linux System Administrator
- Linux File Manipulation
- Database
- Home
- Programming
- MCSA Web Applications
Instructions
- Total Questions 20
- Each question carry 1 mark
- Must answer all the questions (otherwise report card will not be generated)
- If you dont want to take a test, simply click the check answers button and view all the answers with explanations
- Do Not Refresh the Page
- No Time Limit
- Good Luck :)
You Scored % - /
Correct Answers :
[A, C]
Explanation :
Correct Answers :
[B]
Explanation :
Correct Answers :
[B]
Explanation :
Correct Answers :
[A]
Explanation :
Correct Answers :
[B]
Explanation :
int age = 22;
You’re asked to select the right code snippet for defining the extension method for age.
Correct Answers :
[C]
Explanation :
Correct Answers :
[B]
Explanation :
Correct Answers :
[B]
Explanation :
Correct Answers :
[C]
Explanation :
Correct Answers :
[B]
Explanation :
interface ICricket
{
void Play();
}
interface IFootball
{
void Play();
}
You need to implement both Play() methods in a derived class named Player that uses the Play() method of each interface.
Which two code segments should you use?
Correct Answers :
[A, B]
Explanation :
The Player class must meet the following requirements:
1. It must inherit from the Person class.
2. It must not be inheritable by other classes in the application.
Which code segment should you use?
Correct Answers :
[A]
Explanation :
01. class Player
02. {
03. public int HitSpeed
04. {
05. get;
06. set;
07. }
08. }
The HitSpeed property must meet the following requirements:
1. The value must be accessed by code within the Player class.
2. The value must be accessed to derived classes of Player.
3. The value must be modified only by code within the Player class.
You need to ensure that the implementation of the EmployeeType property meets the requirements.
Which code segment you should replace at line 05. And 06.?
Correct Answers :
[B]
Explanation :
class Person
{
public void Display()
{
//
}
public int Display()
{
//
}
}
Correct Answers :
[B]
Explanation :
Correct Answers :
[A]
Explanation :
01 public string FormatCoins(string name, int coins)
02 {
03
04 }
The method must meet the following requirements:
• Return a string that includes the player name and the number of coins.
• Display the number of coins without leading zeros if the number is 1 or greater.
• Display the number of coins as a single 0 if the number is 0.
You need to ensure that the method meets the requirements. Which code segment should you insert at line 03?
Correct Answers :
[D]
Explanation :
double d = 34.5;
object o = d;
You’re asked to cast "object o" into "int "".
Correct Answers :
[C]
Explanation :
Correct Answers :
[C]
Explanation :
Correct Answers :
[B]
Explanation :
Public event EventHandler Die;
You need to create an event handler for the Die event by using a lambda expression.
Correct Answers :
[C]
Explanation :
|
|
||||||||||||||||||||||||||||