SSC CGL Mains 2022 Answer Key Script Code to check Marks Directly




SSC CGL Answer Key Script/code

SSC CGL Mains 2022 Answer Key Script/Code: The Staff Selection Commission conducts SSC CGL Exam every year. This Year SSC CGL Mains 2022 Exam was conducted from 1st March 2023 to 7 March 2023. After the completion of the SSC CGL 2022 Tier 2 Exam Students now waiting for the SSC CGL Mains Answer key 2022.

SSC CGL Mains 2022 Answer Key Script Code

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.




The Staff Selection commission released the answer key of SSC CGL Mains 2022 on 14th March 2023. As it becomes very difficult for the students to check their marks by calculating it manually we are providing answer key sccript/code to check marks directly. So candidates who wish to check their total marks directly with a few clicks can go to the steps given below to check their marks directly for SSC CGL Mains 2022.

SSC CGL Answer Key 2021

Organization nameStaff Selection Commission [SSC]
Post nameCombined Graduate Level [CGL] Tier-2 Answer Key 2022
Job locationAll over India
Exam date2nd March -7th March 2023
Answer key modeOnline
Answer key date14th March 2023
Websitewww.ssc.nic.in

SSC CGL Mains 2022 Answer Key Released




It has been a trend that SSC releases answer keys for various exams just a few days after the exam is conducted successfully. The answer key is always released on the official website of SSC, so students can go to the Official website of SSC to find the link from where they can download the answer key for various exams and in this article we are talking about the releases of SSC CGL Mains 2022 Answer Key Script/code to check marks directly.

How to Download SSC CGL Mains Answer Key 2022 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 2021.
  • then you can Login with your details and can download your answer key successfully.
Download Answer Key LinkClick Here
SSC Official WebsiteSSC
Join Telegram for more UpdatesTelegram
Whatsapp Group(edumo_official) – Or 9599065168Join Now
SSC TCS Previous Year Vocabulary Book( 2018-2023) PDF DownloadDownload Book PDF

SSC CGL Mains 2022 Answer Key Script/Code to check Marks Directly

To check the SSC CGL Mains 2022 Answer Key Total Marks to just need to add a code to the console page of your answer key, here is the code to check subject-wise marks and total marks in the SSC CGL 2022 Answer Key.

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

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

SSC CGL Mains  Answer Key script code

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

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




SSC CGL Mains Answer Key Script Code

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.

SSC CGL Mains Answer Key Script code

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




SSC CGL Mains Answer Key Script code

6. Now Copy and 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 = 3;
var negative_mark_per_question = -1;



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


for (var i = 0; i < 130; 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("Total questions: ",  parseInt(not_answered) + parseInt(correct) + parseInt(incorrect) );
console.log("Not Answered: " + not_answered);
console.log("Correct: " + correct);
console.log("Incorrect: " + incorrect);
console.log("Total Marks: " + total_marks);
console.log("Code generated by edumo.in");




7. Now you can see your Total Questions, Not answered questions, correct questions, Incorrect questions, Total marks for Section-I and Section-II of SSC CGL Mains 2022 on the screen where you have copy-pasted the code.

SSC CGL Mains Answer Key Script code

SSC TCS Vocabulary Book PDF (2018-2022)

Some Important Links

Download Answer Key LinkClick Here
SSC Official WebsiteSSC
Join Telegram for more UpdatesTelegram
Whatsapp Group(edumo_official) – Or 9599065168Join Now
SSC TCS Previous Year Vocabulary Book( 2018-2023) PDF DownloadDownload Book PDF

Other Articles:




Leave a Comment