Loading
View RSS Feed

indies

TCS ILP Case Study : OTTS System

Rating: 2 votes, 5.00 average.
In OTTS , a student can take the exam which will be evaluated by the system. Each question will have four options , out of which one would be the correct option. There will be no negative marking for a wrong answer.

OTTS+ is an enhancement on the existing OTTS system where there will be 10 questions in each test. In OTTS+, marks will be deducted for a wrong answer. No marks would be awarded or reduced for not answering a question. Questions can have 1,2 or 4 marks depending on their complexity.
There would be 5 one mark questions , 3 two mark questions and 2 four mark questions in each test.
If the student selects a correct answer , 100% of the marks of that question would be given to the student. If the student selects a wrong answer , 25% of the marks of that question will be reduced.

Click image for larger version. 

Name:	screen1.JPG 
Views:	3406 
Size:	63.6 KB 
ID:	1063


Click image for larger version. 

Name:	screen2.JPG 
Views:	3360 
Size:	66.9 KB 
ID:	1064


Click image for larger version. 

Name:	screen3.JPG 
Views:	3619 
Size:	49.3 KB 
ID:	1065







Eg :
Assume the total marks of a student is currently 40.
For a 4 mark question , if the student selects a correct answer , he would be given 100% of the marks of the question. Hence he would get 4 marks and his total marks would be 44.
For a 4 mark question , if the student selects a wrong answer , 25% marks of that question would be reduced from his overall total. Hence his total would be reduced by 1 mark and his total would be 39.


1.Calculate the total percentage of a student who answered 7 questions from the total 10. He got 4 one mark questions , 1 two mark question and 1 four mark question correct. He got 1 four mark question wrong.
2.Calculate the total percentage of a student who answered 10 questions from the total 10. He got 5 one mark questions correct.
3.Calculate the total percentage of a student who answered 10 questions from the total 10. He got 3 one mark questions , 2 two mark question and 1 four mark question correct. He got the rest of the questions wrong.




Code:
import java.io.*;


public class Main {
    public static void main(String args[]) throws IOException
    {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        char choice[]=new char[10];
        char ans[]={'a','e','a','e','e','a','c','a','b','d'};
        int marks[]={1,1,1,1,1,2,2,2,4,4};
        float score=0;
        
        System.out.println("The questions are as follows:");
        System.out.println("QUESTION:1 mark\n\n1.What is software?\na. Set of computer programs, procedures and possibly associated document concerned with the operation of data processing.\nb. A set of compiler instructions.\nc. A mathematical formulae\nd. All of the above\ne. None of the above\n\n2.Which is the last step in classic life cycle paradigm?\na. System engineering\nb. Analysis\nc. Design\nd. Coding\ne. Maintenance.\n\n3.Which of the following is closer to machine Code\na. Assembly language\nb. Machine language\nc. High level language\nd. All of the above\ne. None of the above\n\n4.The following are properties of Modularity except\na. It implement a single independent function\nb. It performs a single logical task.\nc. It has a single entry and exit point.\nd. It is entirely constructed of modules.\ne. None of the above.\n\n5.The following are characteristics of software expects\na. It is developed or engineered.\nb. Software does not wear out\nc. Software are custom made\nd. Software have don’t have spare parts instead it has backup\ne. Software consists of physical devices.\n\nQUESTION:2 marks\n\n6.Software genetic development process contains three genetic phrases namely\na. Definition, development, maintenance.\nb. Coding, design, Software engineering\nc. Software engineering, Definition, Coding\nd. Design, Coding, Development\ne. Development, Definition, Testing\n\n7.Which of the following translators convert high-level language on statement-by-statement basis?\na. Compiler\nb. Machine level language converter\nc. Interpreter.\nd. Assembler\ne. None of the above\n\n8.Which of the following is not an example of Prototype in engineering paradigm?\na. Paper prototype.\nb. Existing prototype.\nc. Working prototype.\nd. Software prototype.\ne. Engineering prototype.\n\nQUESTION:4 marks\n\n9.Which of the following Construct in formal model in software engineering execute each statement in succession.\na. Selection Construct.\nb. Sequence Construct. \nc. Iteration Construct.\nd. Business Construct.\ne. Statement Construct.\n\n10.What is software engineering?\na. Set of computer programs, procedures and possibly associated document concerned with the operation of data processing.\nb. Software engineering is Design, Coding, Development\nc. Software engineering implement a single independent function\nd. Software engineering is the establishment and use of sound engineering practice in order to produce economical and reliable software that will perform efficiently on real machine \ne. Software engineering is a step that encompasses the method, tools, procedure used in software\n");
        System.out.println("Give your options serially(*NOTE for no attempt type n):");
        
        for(int i=0;i<10;i++)
        {
            choice[i]=br.readLine().charAt(0);
        }
        for(int i=0;i<10;i++)
        {
            if(choice[i]==ans[i])
            {
                score+=marks[i];
            }
            else if(choice[i]!='n')
            {
                score-=0.25*marks[i];
            }
        }
        System.out.println("Your score:"+score);
        System.out.println("Correct answers:");
        for(int i=0;i<10;i++)
        {
            System.out.print(ans[i]+" ");
        }
                
    }

}

Submit "TCS ILP Case Study : OTTS System" to Digg Submit "TCS ILP Case Study : OTTS System" to del.icio.us Submit "TCS ILP Case Study : OTTS System" to StumbleUpon Submit "TCS ILP Case Study : OTTS System" to Google

Comments




Disclaimer: Users of techforum4u.com are responsible for ensuring that any material they post (article, blog posts, images or other mulitimedia content) does not violate or infringe upon the copyright, patent, trademark, or any personal or proprietary rights of any third party, and is posted with the permission of the owner of such rights.Anyone who violates these rules may have their access privileges removed without warning.