this blog for general knowledge and compitition exam. it is very helpful for ssc, upsc, ibps, and others government exam.
Search This Blog
test by gkwithmath
TEST 1
function Quiz(questions) {
this.score = 0;
this.questions = questions;
this.questionIndex = 0;
}
Quiz.prototype.getQuestionIndex = function() {
return this.questions[this.questionIndex];
}
Quiz.prototype.guess = function(answer) {
if(this.getQuestionIndex().isCorrectAnswer(answer)) {
this.score++;
}
this.questionIndex++;
}
Quiz.prototype.isEnded = function() {
return this.questionIndex === this.questions.length;
}
function Question(text, choices, answer) {
this.text = text;
this.choices = choices;
this.answer = answer;
}
Question.prototype.isCorrectAnswer = function(choice) {
return this.answer === choice;
}
function populate() {
if(quiz.isEnded()) {
showScores();
}
else {
// show question
var element = document.getElementById("question");
element.innerHTML = quiz.getQuestionIndex().text;
// show options
var choices = quiz.getQuestionIndex().choices;
for(var i = 0; i < choices.length; i++) {
var element = document.getElementById("choice" + i);
element.innerHTML = choices[i];
guess("bt" + i, choices[i]);
}
showProgress();
}
};
function guess(id, guess) {
var button = document.getElementById(id);
button.onclick = function() {
quiz.guess(guess);
populate();
}
};
function showProgress() {
var currentQuestionNumber = quiz.questionIndex + 1;
var element = document.getElementById("progress");
element.innerHTML = "Question " + currentQuestionNumber + " of " + quiz.questions.length;
};
function showScores() {
var gameOverHTML = "
Result
";
gameOverHTML += "
Your scores: " + quiz.score + "
";
var element = document.getElementById("quiz");
element.innerHTML = gameOverHTML;
};
// create questions
var questions = [
new Question("What is the Capital of India?", ["New Delhi", "Mumbai","Jaipur", "Kolkata"], "New Delhi"),
new Question("National Animal of India?", ["Elephant", "Bengal Tiger","Lion", "Cow"], "Bengal Tiger"),
new Question("National River of India?", ["Yamuna", "Ganga","Brahmputra", "Sindhu"], "Ganga"),
new Question("तू कौन है ?", ["पागल ", "गधा","मेंचल", "दिमाग"], "दिमाग"),
];
var quiz = new Quiz(questions);
populate();
1. Bourgeois - Relating to middle class socity. . 2. GLIB - Speaking in a smooth, easy way that is not sincere use- Politicians need to do more than provide glib answers to difficult questions. 3. RUMINATE - To think carefully and deeply about something Synonym - cogitate, meditate, ponder, wrestle, perpend. uses - The question got us ruminating on the real value of wealth. करेंट अफेयर्स यहाँ क्लिक करें 4. DEMEANOR - A person's appearance and behavior synonym - actions, adress, conduct, bearing, comportment uses - The director of the opera company has haughty demeanor that can be irritating. 5. Gestalt - The general quality or character of someting. uses - The gestalt of human consciousness. More vocabulary click here 6.ELEEMOSYNARY - of supported by charity synonym -altruist, beneficient, charitable antonym - selfish, self centered, selfish uses - used his vast fortune for establishing and funding a host of eleemosynary institution
करंट अफेयर्स 09/01/2017 1. चुनाव चिह्न (आरक्षण और आवंटन) आदेश, 1968 राजनीतिक दलों को प्रतीकों का आवंटन करने के लिए चुनाव आयोग को अधिकार देता है। इस अधिनियम के पैरा 15 के तहत दो या दो से अधिक प्रतिद्वंदी समूह द्वारा चुनाव प्रतीक पर दावा जताने की स्थिति में चुनाव आयोग को मुद्दों पर फैसला सुनाने का अधिकार प्रदान करता है। वर्तमान परिपेक्ष्य में उत्तर प्रदेश के समाजवादी पार्टी के चुनाव प्रतीक “साइकिल” के केस पर भी चुनाव चिह्न (आरक्षण और आवंटन) आदेश, 1968 चुनाव आयोग को फैसला सुनाने का अधिकार प्रदान करता है। 2. 5 जनवरी 2017 को केंद्र सरकार को नीति आयोग द्वारा देश में एक नई परिवहन प्रणाली Hyperloop स्थापित करने का प्रस्ताव भेजा गया। यह प्रस्ताव केंद्र सरकार द्वारा प्रस्तावित स्मार्ट सिटी परियोजना के तहत 100 प्रमुख शहरों में नई परिवहन प्रणाली हेतु भेजा गया है। Hyperloop एक नई परिवहन प्रणाली है जिसमें दो शहरों को वैक्यूम ट्यूब में चलने वाली ट्रेन समान माध्यम से जोड़ा जाएगा। Hyperloop की अनुमानित गति 1,000 किलोमीटर/घंटा है। 3. एच 1 बी वीजा, गैर प्रवासी कुशल कार्मिकों को संयुक्त राज्य अमेर...
English vocab 3 1 .Sway - to move slowly back and forth, :to cause to agree with you or to shere your opinion synonym - impact, impress, move, influence antonym - impotence, powerless uses - Branches swaying in the breeze. 2. Futile - Having no result or effect : useless synonym - bareen, fruitless, unsuccesful, useless antonym - effective, deadly, virtuous, successful, profitable uses -All our efforts proved futile. 3. Superfluous - Not necessary synonym - excess, extra, redundant, surplus antonym - deficient, inadequate, insufficient, meager use - cleared off all the superfluous stuff on his desk to make room for the new computer. 4. Flimsy - easily broken synonym - frothy, gauzy, unsubstantial antonym - sturdy, substantial uses - a flimsy piece of material. 5. Cursory - Done or made quickly synonym -hasty, hurried, precipitate, rash antonym -deliberate, unhurried, unrushed use -Even the most curs...
Comments
Post a Comment