-
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 % - /
int[] Marks = new int[] { 59, 24, 40, 100, 35, 75, 90 };
You need to get all the marks that are greater than 60. Which code snippet should you use?
Correct Answers :
[B, D]
Explanation :
Correct Answers :
[C]
Explanation :
Correct Answers :
[A]
Explanation :
Correct Answers :
[C]
Explanation :
Correct Answers :
[A]
Explanation :
Correct Answers :
[C]
Explanation :
01. static void PrintAsterisk(CancellationToken token)
02. {
03. while(!token.IsCancellationRequested)
04. {
05. Thread.Sleep(100);
06. Console.Write(" *");
07. }
08.
09. }
10. private static void Main()
11. {
12. var tokenSource = new CancellationTokenSource();
13. var task = Task.Run(() => PrintAsterisk(tokenSource.Token));
14. Console.WriteLine("Press [Enter] to stop printing Asterisk");
15. Console.ReadLine();
16.
17. task.Wait();
18. }
You need to ensure that the application stop printing the Asterisk on screen when the user presses the Enter key. Which code segment should you insert at line 16?
Correct Answers :
[B]
Explanation :
Correct Answers :
[B]
Explanation :
Correct Answers :
[A]
Explanation :
The first field after the preamble and Start Frame Delimiter (SFD) is the destination MAC address. The destination MAC address is always first because switches need to make forwarding decisions upon reading the destination MAC address.
01. private void MultipleTasks()
02. {
03. Task[] tasks = new Task[]
04. {
05. Task.Run(()=>Thread.Sleep(2000)),
06. Task.Run(()=>Thread.Sleep(3000)),
07. Task.Run(()=>Thread.Sleep(1000)),
08. };
09.
10. ...
11. }
Correct Answers :
[D]
Explanation :
Correct Answers :
[A]
Explanation :
Correct Answers :
[A, B]
Explanation :
Correct Answers :
[B]
Explanation :
It does not make changes to the "sample" file.
It must allow other processes to access the "sample" file.
It must not throw an exception if the "sample" file does not exist.
Which code snippet should you choose to take care of said points about sample.txt?:
Correct Answers :
[B]
Explanation :
serializer.Deserialize<Person>(json);
Which code segment should you use before this function?
Correct Answers :
[C]
Explanation :
Correct Answers :
[D]
Explanation :
Correct Answers :
[C]
Explanation :
Correct Answers :
[C]
Explanation :
Correct Answers :
[A]
Explanation :
Correct Answers :
[A, D]
Explanation :
|
|
||||||||||||||||||||||||||||