let text = `Modern Indian History & Freedom Struggle Questions (MCQ - GKToday Hello Guest ! Register or Login | 0.00 Home Current Affairs Current Affairs Quiz GK Questions General Knowledge E-Books Printed Books Download App Hindi Modern Indian History & Freedom Struggle Questions (MCQs) Multiple choice questions on Modern Indian History & Freedom Struggle for General Studies and GK preparation of SSC, NDA, CDS, UPSC, UPPSC and State PSC Examinations.These questions are part of GKTodays 35000+ MCQs Bank Course in GKToday Android App 1. Who among the following has written Ghoolamgiri? [A] Ishwar Chandra Vidyasagar [B] Acharya Vinoba Bhave [C] Jyotiba Phule [D] Dadu Dayal Show Answer Correct Answer: C [Jyotiba Phule] Notes: In 1873 Phule wrote a book named Gulamgiri, meaning slavery. Phule dedicated his book to all those Americans who had fought to free slaves, thus establishing a link between the conditions of the lower castes in India and the black slaves in America 2. During the independence movement, newspaper Kesari was published by_: [A] Subhash Chandra Bose [B] Bal Gangadhar Tilak [C] Mohammad Ali Jinnah [D] Lala Lajpat Rai Show Answer Correct Answer: B [Bal Gangadhar Tilak] Notes: Kesari is a newspaper founded in 1881 by Lokmanya Bal Gangadhar Tilak, a prominent leader of the Indian Independence movement. Bal Gangadhar Tilak used to run his two newspapers, the Kesari, in Marathi and Maratha in English from Kesari Wada. The Wada still has the offices of Kesari, and mementos of Tilak, including his writing desk original letters and documents. 3. Who was the only Indian prince who actively participated in the Revolutionary Movement within and outside India? [A] Raja Aridaman Singh [B] Raja Hari Singh [C] Raja Kumar Singh [D] Raja Mahendra Pratap Show Answer Correct Answer: D [Raja Mahendra Pratap] Notes: Raja Mahendra Pratap was an Indian freedom fighter, journalist, writer, and Marxist revolutionary social reformist of India. He believed in the religious unity and racial equality. He started two paper-Premin Hindi and Nirbal Sewak in Hindi and Urdu. In 1915, he formed the first government outside India in Afghanistan. He returned to India after 32 years of exile and became the member of the second Lok Sabha in 1957-1962. He was elected as an independent candidate from Mathura constituency. He was president of Indian Freedom Fighters Association and also the president of All India Jat Mahasabha .He died on 29 April 1979. 4. In which year Jahangir issued the charter to East India Company for establishing the trade establishments in India? [A] 1615 [B] 1616 [C] 1617 [D] 1618 Show Answer Correct Answer: C [1617] Notes: Captain William Hawkins visited Jahangirs court in 1608 but he failed to secure a permission to establish a factory at Surat. Then Thomas Roe came to Jahangirs court in 1615. In the year 1617, Jahangir issued the charter to East India Company for establishing the trade establishments in India. 5. On which date, the mutiny of 1857 started from Meerut? [A] 10th May, 1857 [B] 16th April, 1857 [C] 26th June, 1857 [D] 11th July, 1857 Show Answer Correct Answer: A [10th May, 1857] Notes: The revolt of 1857 began as a mutiny of sepoys of the East India Companys army on 10th May 1857, in Meerut cantonment. It soon escalated into other mutinies and civil rebellions largely in the upper Gangetic plain and central India, with major hostilities confined to present-day Uttar Pradesh, Bihar, northern Madhya Pradesh, and the Delhi region. 6. Nadir Shah ,the ruler of Persia who looted Indias Koh-i-Noor diamond and Peacock Throne, defeated the Mughal Army at Karnal in which year ? [A] 1720 A.D [B] 1739 A.D [C] 1749 A.D [D] 1761 A.D Show Answer Correct Answer: B [1739 A.D] 7. Who prepared the draft of Quit India Resolution? [A] Sardar Patel [B] Jawahar lal Nehru [C] Acharya Kriplani [D] P Sitarammaiya Show Answer Correct Answer: B [Jawahar lal Nehru] Notes: It was Jawaharlal Nehru who drafted the Quit India Resolution. On 7 to 8 August 1942, in the meeting of the All India Congress Committee at Gowalia Tank Maidan (Mumbai) the resolution was drawn up and passed. Gandhiji stated, nothing is going satisfy him other than the complete independence and raised his slogan Do or die to the nation. 8. 1996 was UNs fiftieth anniversary year and this year was declared by United nations as Year for Tolerance. The same time frame also coincided with 125th anniversary of Mahatma Gandhi. In this connection, UNESCO had established a new award in the name of an Indian philanthropist for Promotion of Tolerance and Non-Violence. Who is this Indian philanthropist? [A] Aga Khan III [B] Dinshah Irani [C] Ghanshyam Das Birla [D] Madanjeet Singh Show Answer Correct Answer: D [Madanjeet Singh] 9. What is the name of the womens wing of the Vishva Hindu Parishad? [A] Sewa Bharti [B] Durga Vahini [C] VHP Mahila Morcha [D] Hindu Shakti Show Answer Correct Answer: B [Durga Vahini] 10. The Regulation XVII , passed by the British Government was related to which among the following? [A] Abolition of Sati [B] Abolition of Provincial Courts of Appeal [C] Suppression of Thugs [D] Abolition of Slavery Show Answer Correct Answer: A [Abolition of Sati] Notes: The Bengal Sati Regulation or the Regulation XVII was passed by the Governor-general in council on 4 December 1829 during the Governor General ship of Lord William Bentinck. It made the practice of sati illegal and punishable offence. Page 1 of 5 1 2 3 4 5 >> Advertisement Current Affairs [MCQs] Current Affairs Quiz January, 2023 Current Affairs Quiz December, 2022 Current Affairs Quiz November, 2022 Current Affairs Quiz October, 2022 Current Affairs Quiz September, 2022 Current Affairs Quiz August, 2022 Previous Months CA MCQs - PDF E-Book Compilations CA MCQs Categories Nation & States MCQs Government Schemes MCQs Business, Economy & Banking MCQs Defence MCQs Reports and Indices MCQs Environment & Biodiversity MCQs Awards, Honours & Persons MCQs Places in News MCQs Important Days and Events MCQs Sports MCQs Science & Technology MCQs Summits and Conferences in MCQs International MCQs Art & Culture MCQs Current Affairs [Articles] Current Affairs - January, 2023 Current Affairs - December, 2022 Current Affairs November, 2022 Current Affairs - October, 2022 current affairs - september, 2022 Current Affairs - August, 2022 हिन्दी करेंट अफेयर्स CA Article Categories Agriculture Current Affairs Banking Current Affairs Persons in News Summits and Conferences Today's News Headlines Government Schemes Current Affairs Top Current Affairs - 2021 India Nation & States Current Affairs Reports & Indexes Current Affairs Science & Technology Current Affairs States Current Affairs Sports Current Affairs Places in News Current Affairs Legal & Constitution Current Affairs International / World Current Affairs Free Email Subscription Email Address Go! Objective GK & GS [UPSC/States/ SSC] Ancient Indian History Medieval Indian History Modern Indian History Indian Geography World Geography Indian Polity & Constitution Environment & Biodiversity Indian Art & Culture Sports GK Indian Economy General Science General Science - Biology General Science - Physics General Science - Chemistry All GK Questions Categories Banking Exams Banking Awareness Computer Awareness Marketing Aptitude UPSC Prelims UPSC Daily Prelims MCQs UPSC Mains UPSC Daily Mains Model Q&A November, 2022 October, 2022 September, 2022 August, 2022 July, 2022 GKToday Mobile App | Terms & Conditions | Contact Us | Privacy Policy | Shipping, Cancellation & Refund Policy | Work4GKToday 2021 GKToday | All Rights Reserved | ` let newT = text.replace(/\s\s+/g, " "); newT = text.replace(/\n+/g, " "); console.log(newT);
Write, Run & Share Javascript code online using OneCompiler's JS online compiler for free. It's one of the robust, feature-rich online compilers for Javascript language. Getting started with the OneCompiler's Javascript editor is easy and fast. The editor shows sample boilerplate code when you choose language as Javascript and start coding.
Javascript(JS) is a object-oriented programming language which adhere to ECMA Script Standards. Javascript is required to design the behaviour of the web pages.
var readline = require('readline');
var rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
terminal: false
});
rl.on('line', function(line){
console.log("Hello, " + line);
});
Keyword | Description | Scope |
---|---|---|
var | Var is used to declare variables(old way of declaring variables) | Function or global scope |
let | let is also used to declare variables(new way) | Global or block Scope |
const | const is used to declare const values. Once the value is assigned, it can not be modified | Global or block Scope |
let greetings = `Hello ${name}`
const msg = `
hello
world!
`
An array is a collection of items or values.
let arrayName = [value1, value2,..etc];
// or
let arrayName = new Array("value1","value2",..etc);
let mobiles = ["iPhone", "Samsung", "Pixel"];
// accessing an array
console.log(mobiles[0]);
// changing an array element
mobiles[3] = "Nokia";
Arrow Functions helps developers to write code in concise way, it’s introduced in ES6.
Arrow functions can be written in multiple ways. Below are couple of ways to use arrow function but it can be written in many other ways as well.
() => expression
const numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
const squaresOfEvenNumbers = numbers.filter(ele => ele % 2 == 0)
.map(ele => ele ** 2);
console.log(squaresOfEvenNumbers);
let [firstName, lastName] = ['Foo', 'Bar']
let {firstName, lastName} = {
firstName: 'Foo',
lastName: 'Bar'
}
const {
title,
firstName,
lastName,
...rest
} = record;
//Object spread
const post = {
...options,
type: "new"
}
//array spread
const users = [
...adminUsers,
...normalUsers
]
function greetings({ name = 'Foo' } = {}) { //Defaulting name to Foo
console.log(`Hello ${name}!`);
}
greet() // Hello Foo
greet({ name: 'Bar' }) // Hi Bar
IF is used to execute a block of code based on a condition.
if(condition){
// code
}
Else part is used to execute the block of code when the condition fails.
if(condition){
// code
} else {
// code
}
Switch is used to replace nested If-Else statements.
switch(condition){
case 'value1' :
//code
[break;]
case 'value2' :
//code
[break;]
.......
default :
//code
[break;]
}
For loop is used to iterate a set of statements based on a condition.
for(Initialization; Condition; Increment/decrement){
//code
}
While is also used to iterate a set of statements based on a condition. Usually while is preferred when number of iterations are not known in advance.
while (condition) {
// code
}
Do-while is also used to iterate a set of statements based on a condition. It is mostly used when you need to execute the statements atleast once.
do {
// code
} while (condition);
ES6 introduced classes along with OOPS concepts in JS. Class is similar to a function which you can think like kind of template which will get called when ever you initialize class.
class className {
constructor() { ... } //Mandatory Class method
method1() { ... }
method2() { ... }
...
}
class Mobile {
constructor(model) {
this.name = model;
}
}
mbl = new Mobile("iPhone");