Wednesday, December 18, 2024
HomePrevious Year PapersSSC CGL 2024 Tier 2 Answer Key Script/Code to check Marks directly

SSC CGL 2024 Tier 2 Answer Key Script/Code to check Marks directly




SSC CGL Answer Key Script/code

SSC CGL ASSC CGL 2024 Tier 2 Answer Key Script/Code : Staff Selection Commission conducts SSC CGL Exam every year. This Year SSC CGL 2024 Exam was conducted on 28-29 January and 3rd February 2022(for Meerut centre only) . After the completion of SSC CGL 2024 Tier 1 Exam Students are now waiting for the SSC CGL Answer key 2024.

In this article, we have shared with you a script or code by which you can easily check your marks subject-wise and total marks directly by applying the script step by step as shown below.

SSC CGL Answer KEy 2021




It is expected that SSC may release the Official Answer Key of the SSC CGL 2024-2024 Tier 2 Exam very soon. The Answer key of the SSC CHSL 2024 Exam was released after around 10 days of completion of the exam. So we can expect that the answer key for SSC CGL 2024 may also be released in the 1st Week of August.

SSC CGL Answer Key 2024

Organization nameStaff Selection Commission [SSC]
Post nameCombined Graduate Level [CGL] Tier-2 Answer Key
Job locationAll over India
Exam date24 Aug 2024
Answer key modeOnline
Answer key dateReleased soon
Websitewww.ssc.nic.in

SSC CGL Answer Key 2024 Expected Date




In the previous years also SSC has released the Answer key of SSC CGL, SSC CHSL and other exams after 15 days of completion of exam. This year also we can expect the SSC CGL 2024 Answer key before 10th September 2024. Once the answer key is released by SSC, candidates can challenge questions if there seem to be any wrong question in the paper. After that SSC will release a final Answer key. You can download your answer for SSC CGL 2024 exam once it is uploaded by SSC. Finally SSC released the Answer key on 03 september 2024

How to Download SSC CGL Answer Key 2024 Online ?




To download the answer key you need to follow the following steps:

  • Go to the official website of SSC i.e. ssc.nic.in
  • Click on the Answer Key Tab given in the Header section.
  • After that you can find all the answer keys released by SSC for different.
  • Click on the link where you find SSC CGL Answer Key 2024.
  • then you can Login with your details and can download your answer key successfully.
Download Answer KeyClick Here
Official WebsiteClick Here

SSC Answer Key Script to check Marks Subject-wise

To check the SSC CGL 2024 Answer Key Subject-wise score to just need to add a code into the console page of your answer key, here is the code to check subject-wise marks and total marks in the SSC CGL 2024 Answer Key.

Steps to Check Subject wise and Total Score in Answer Key SSC CGL 2024 are:

1.Open the link in your Browser – https://ssc.digialm.com//EForms/loginAction.do?subAction=ViewLoginPage&formId=64644&ERRORCODE=R5ifSQJlNa8CuyyMQaN1yTBN63pkJ%2BrZcAP%2FZezVRfwftU0v4y4Kx9vi8kerS7mHsMHKv%2Fd865yv%0Ad%2FPz4wP3jQ%3D%3D&orgId=2207

2. Enter your Username and Password as mentioned on your SSC CGL 2024 Admit Card.

3. After login Go to the Answer Key Tab and Click on Click here Link as shown in the image below:




4. After that Your Answer Key will be Opened, Then Right Click anywhere on the screen and Click on Inspect as shown in the image below.

5. After this some functions will appear on the right side of screen, Click on Console, as shown in the image below:




6. Now Copy Paste the given code in the space given below the console tab and press Enter

7. Code for Answer Key for SSC CGL Tier 2 Maths Paper

var positive_mark_per_question = 2;
var negative_mark_per_question = -0.50;



var number_of_questions = document.getElementsByClassName("question-pnl").length;
var not_answered = 0;
var correct =0;
var incorrect = 0;


for (var i = 0; i < number_of_questions; i++) {

    if (" -- " == document.getElementsByClassName("question-pnl")[i].getElementsByClassName("bold")[5].textContent){
        not_answered ++;
    }
    else if (document.getElementsByClassName("question-pnl")[i].getElementsByClassName("bold")[5].textContent == document.getElementsByClassName("question-pnl")[i].getElementsByClassName("rightAns")[0].textContent[0] ){
        correct ++;
    }
    else{
        incorrect ++;
    }
}
var total_marks = (correct * positive_mark_per_question) + (incorrect * negative_mark_per_question);


console.log("Not Answered: " + not_answered);
console.log("Correct: " + correct);
console.log("Incorrect: " + incorrect);
console.log("Total questions: ",  parseInt(not_answered) + parseInt(correct) + parseInt(incorrect) );
console.log("Total Marks: " + total_marks);




Code for Answer Key of SSC CGL Tier 2 English paper

var positive_mark_per_question = 1;
var negative_mark_per_question = -0.25;



var number_of_questions = document.getElementsByClassName("question-pnl").length;
var not_answered = 0;
var correct =0;
var incorrect = 0;


for (var i = 0; i < number_of_questions; i++) {

    if (" -- " == document.getElementsByClassName("question-pnl")[i].getElementsByClassName("bold")[5].textContent){
        not_answered ++;
    }
    else if (document.getElementsByClassName("question-pnl")[i].getElementsByClassName("bold")[5].textContent == document.getElementsByClassName("question-pnl")[i].getElementsByClassName("rightAns")[0].textContent[0] ){
        correct ++;
    }
    else{
        incorrect ++;
    }
}
var total_marks = (correct * positive_mark_per_question) + (incorrect * negative_mark_per_question);


console.log("Not Answered: " + not_answered);
console.log("Correct: " + correct);
console.log("Incorrect: " + incorrect);
console.log("Total questions: ",  parseInt(not_answered) + parseInt(correct) + parseInt(incorrect) );
console.log("Total Marks: " + total_marks);

7. Now you can see your subject-wise Marks, Correct Attempt, wrong Attempt, Total score on the screen where you have copy-pasted the code.

All the Best for SSC CGL Mains 2024!!

Other Articles:




Manish Aggarwal
Manish Aggarwalhttp://edumo.in
Content Writer/Content Creator, Educator, BCA Graduate | Music | Reading
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments