New BI 7 cerftication exam

I was trying to register for the BI 7 certification exam C_TBW45_04s. I was not able to find any information regarding that on the SAP education website.Instead there is this new exam code C_TBW45_70.
http://www.sap.com/services/education/catalog/netweaver/certificationtest.epx?context=FFC760B8923D16BB5150DAE63E7C1A6B331AF0B9E3A8F73CE3A9B7046E051044503600C911DBA13DCE978D3AC9057626D2B68111A7CD2D707E2EEC31213097E46EB790DD0106435EE0756F7B22F3FA4B4FF0645C06954BF39AD9826DEEE08116%7cDA891B3C877030D9C4305205DF5BCE39
Has anyone given the exam recently? Has C_TBW45_70 replaced C_TBW45_04s?

Dear radica rao  ,
Business Intelligence :
To know overview of BI..please look into this
https://www.sdn.sap.com/irj/sdn/nw-bi
For more information please
refer these links
http://www50.sap.com/useducation/certification/examcontent.asp
http://www50.sap.com/useducation/certification/curriculum.asp?rid=506&vid=5
The Home of SAP Business Warehouse (BW)
http://www.erpgenie.com/sap/sapfunc/bw.htm
SAP Business Information Warehouse
http://help.sap.com/saphelp_nw04/helpdata/en/b2/e50138fede083de10000009b38f8cf/content.htm
If you are going to Start BI 7.0 courses
you could follow the books
TBW10 Datawarehousing concepts
TBW20 Reporting
TBW42 Adavnced Data warehousing concepts (authorization,Broadcasting,etc)
TBW45 Integrated Palnning
Online courses on APD,XI
Tamong these,TBW10 and TBW20 will be sufficient for you to start and know basic concepts
Certification details
Here you get all information,certification books to be referred,and blue print of exam
http://www.sap.com/services/education/certification/certificationtest.epx?context=FFC760B8923D16BB5150DAE63E7C1A6B331AF0B9E3A8F73CE3A9B7046E051044503600C911DBA13DCE978D3AC9057626D2B68111A7CD2D707E2EEC31213097E46EB790DD0106435EE0756F7B22F3FA4B4FF0645C06954BF39AD9826DEEE08116%7cDA891B3C877030D9C4305205DF5BCE39
For more information please
refer these links
http://www.psimedia.ws
http://www.sap.com/uk/services/education/courses/bw.epx
http://www50.sap.com/useducation/curriculum/print.asp?jc=1&rid=285
http://www50.sap.com/useducation/curriculum/print.asp?jc=1&rid=458
http://www50.sap.com/useducation/certification/examcontent.asp
http://www50.sap.com/useducation/certification/curriculum.asp?rid=506&vid=5
http://www50.sap.com/useducation/certification/curriculum.asp?rid=420
http://csc-studentweb.lrc.edu/swp/Berg/BB_index_main.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c27a9990-0201-0010-a393-e6e8bed520fe
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/79f6d190-0201-0010-ec8b-810a969028ec
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/620b406d-0601-0010-3b9a-ac51c445860f
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f243d6d-0601-0010-2aae-abe0a4dcfadb
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0d16261-80c0-2910-149a-97b017a900e4
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20b0d390-0201-0010-408c-f27f82427e23
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9be229f6-0901-0010-8288-824675320301
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/508d0387-001d-2a10-a394-faa4e57f6751
Some of the sample questions include
Name the IT scenariou2019s for business Information management.
Name the source systems that support Direct Access
Name the functions of DWWH.
Name the components of EDW
Name the data targets used for reporting
Is infosource mandatory in SAP Netweaver BI (T/F)
Name the components of Metadata that comprises Datasource
Name the grouping methods of BI content Object
Name the source system that uses BI S-API
There was a question on LO Data Extraction Procedure (Plz remember all the 13 steps)
Name the source systems that supports Delta
Delta Queue is S-API function (T/F)
Name few Trex Administrative services
Name the Authorization objects inBI used for reporting
Name the primary Authorization object in BI
Name the Authorization levels for BI reporting
Name the minimum Authorization required for a query owner
Name the Authorization values specific to BI
There was question on Hierarchy Authorization
Hope it helps you,Revert me back if you have any queries
Regards
Bala

Similar Messages

  • When Oracle 11g new features 1z0-050 exam changed last time ??

    Hi everyone,
    Can anybody tell me that when the last time Oracle 11g new features 1z0-050 exam changed?? Does it changed recently, or its going to be change in near future??
    Thanks and Regards,
    Khurram

    bigdelboy wrote:
    Khurram Bhatti wrote:
    Hi everyone,
    Can anybody tell me that when the last time Oracle 11g new features 1z0-050 exam changed?? Does it changed recently, or its going to be change in near future??
    Thanks and Regards,
    Khurram1) Possible topic changes between beta and production.
    2) When reviewed for 11gR2 rather than 11gR1 ... it is possible, but unlikely, there could have been minor topic changes.
    3) IMHO It is unlikely this exam will have further topic changes from those currently shown on the exam page.
    ( Please note one other exam (117) has possibly recently had issues with not display all topics) ).
    Suggest you give more reasons for your question before I will spend any time investigating further, i am pressed for time at the moment.Hi bigdelboy,
    Thanks for quick reply. I am going to appear in this exam at this weekend. What basically I wanna ask is that the questions of this exam will be same as when one of my friends appeared 2 months ago?? , or the whole paper/questions could be changed this time ?? I know that the questions came randomly from a set of pool. So is there any possibility that the Oracle has been changed the whole set of pool of questions recently?

  • New price of scjp exam

    Hi All,
    I have pay for scjp exam.but today, the exam center call me and said new price of the exam is *$300* is it true. can any one tell me. plzzz help
    Thank you

    you have to remember that the price is calculated in local currency, and with changing exchange rates that can mean that the dollar price fluctuates (and with the rapidly sinking dollar, that at the moment means the dollar price will go up even if the local price stays the same).
    For example the price here is 250 Euro (inc taxes), and has been for years.
    But when that price was set the Euro was $1, now it's almost $1.50.
    So in dollars the price has gone up from $250 to (by now) about $370.

  • New Version of Mock Exam

    The new version of my mock exam for the Java Programmer Certification is available at the URL that appears at the end of this post. The new version has a set of two Basic Exams and also a set of 144 questions distributed across ten topic specific exams and alternatively organized as a set of eight comprehensive exams.
    This new version has 43 new questions relative to the old version. Most of the new questions are concentrated in three new topics: Constructors, Strings, and StringBuffers. The three new topics can be found on the Topic Exam page or you can find all 43 questions organized as a set of two exams on the New Questions page.
    My exams are very difficult. First time visitors are encouraged to start with the set of two Basic Exams. Try the Topic Exams next and use them as you work through your study guide chapter-by-chapter. For example, if you complete a chapter that covers inheritance, then try the Inheritance exam. The Comprehensive Exams should be saved for last. Those that have already completed my exams should try the New Questions page.
    The answer pages contain explanations for the answers and links to reference materials such as the Java Language Specification and a link back to this message board.
    My home page contains a set of exams organized by date. Always use the latest version since the older versions may be deleted without notice.
    http://www.geocities.com/danchisholm2000/

    I have a question for those on this message board that are certified java programmers. Do you feel that studying for the exam was a valuable learning experience? Can you give an example of something interesting that you learned while studying for your certification?

  • 1Z0-045: Oracle Database 10g: New Features for Oracle 8i OCPs

    Hi,
    I was looking for right reference book for the 1z0-045 upgrade certification. I could not find any reference book that is related to this certification. Only one book have found out on Amazon site, which is "OCP Oracle Database 10g: New Features for Administrators Exam Guide (Oracle Press) (Paperback)" published by McGraw Hill.
    But this book does not show exem number 1z0-045 anywhere. So I am not sure, is it a right book to buy.
    Please let me know if any one has any knowledge about that.
    I appreciate for your information.
    Thanks
    Amit

    The book you mention is for those individuals who are upgrading their 9i OCP to the 10g OCP. Since you are apparently upgrading from 8i OCP, there is possibly a gap in your learning. You might want to take a look at OCP Oracle9i Database: New Features for Administrators Exam Guide (Paperback) which explains the new features for Oracle 9i to someone coming from an 8i background. No additional exam would be needed in your case but this book may help to fill out your knowledge a bit. You could also take a look at http://download.oracle.com/docs/cd/B10501_01/server.920/a96531/toc.htm if you would rather not buy an additional book.
    Tom

  • 10 g new features

    Hi ,
    I am an OCP (oracle 9i)certified person.
    I need to upgrade the 10g new features. What exam i need to write.

    This link provides the upgrade paths for various Oracle database certifications.
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=44
    According to the matrix at that link, you can take the 1Z0-040 Oracle Database 10g: New Features for Administrators™ exam and get your 10g OCP if you already have a 9i OCP.
    Tom

  • What's New in MySQL 5.6 Certification (VIDEOS)

    We've just produced two new videos for Oracle's MySQL 5.6 Certifications:
    "Oracle MySQL 5.6 Certification: What's New for Database Administrators" (3:00)
    "Oracle MySQL 5.6 Certification: What's New for Developers" (2:54)
    Watch as MySQL specialist Adam Dixon shares what's new in these certifications as well as some tips on preparing for the new exams. For more details on the new MySQL 5.6 exams and certifications, see "Oracle Launches New MySQL 5.6 Certifications; Older MySQL Exams to Retire".

    Heh, not new but was a bit hopeful the the forum
    environment had changed in the last yearMaybe if less people came and posted open-ended vague questions that they should have started looking with Google for information about so they could ask more specific questions.....
    I mean I don't know. It was a dream I had once. Everyone was very nice here. People used google. Nobody pleaded for "teh codes". People used PreparedStatement. People stopped crossposting. Lazy students stopped lying.
    It was amazing.

  • Somewhat new to Java -- Given the task to create a GUI for a test.

    Hello there, I am a freshman student, in a Java class; the semester is coming to an end. In our project, we were assigned three parts to complete a program, that basically hands out a test. [I believe someone else has asked questions about a similar problem before, but not towards my situation.]
    The topic I chose to work with was the GUI for the program,and I'm already hitting snags. The issue is..well, probably the fact I get sort of lost when it comes to calling other methods, or just stupid mistakes to begin with. Some of the options we're faced with that we can put into the program are, for example, creating back/next buttons so the user can scroll through given questions, a progress meter [which I have no idea how to go about], Add an answer sheet in a separate window, and some others, but if possible, I will get to those when the time is right.
    Also, a small note about the majority of the code; Most of it is from a mold that was given to us as an example in class, and the 'setUp' method came from another class. [QuizDriver] As of now, the code remains untouched, but the if loops that remain empty or rather messed up is my fault, as I hit a snag and..to be honest, I am quite lost.
    As of now, my code for the GUI is this.
    import javax.swing.*;     
    import java.awt.*;     
    import java.awt.event.*;
    public class ProjGUI implements ActionListener {     
         // class constants      
         private static final int WINDOW_WIDTH = 700; 
         private static final int WINDOW_HEIGHT = 200; 
         private static final int TEXT_WIDTH = 50;   
         private static final FlowLayout LAYOUT_STYLE =     
              new FlowLayout();          
         static Test exam = new Test("Sample Exam", "Select the correct answer for each question");
         private JFrame window = new JFrame("Project GUI: Test");     
         private JTextArea results = new JTextArea("");
         int counter;
         private JLabel QTag = new JLabel("The Current Question:");     
         private JTextField QText = new JTextField(exam.displayQuestion(0));     
         private JLabel AnsTag = new JLabel("Your Answer:");
         private JTextField AnsText = new JTextField(TEXT_WIDTH);     
         private JButton SubButton = new JButton("Submit");     
         private JButton backButton = new JButton("Back");
         private JButton advButton = new JButton("Next");
         private JButton clearButton = new JButton("Reset Answer Choice");
         // constructor      
         public ProjGUI()
              // configure GUI      
              window.setSize(WINDOW_WIDTH, WINDOW_HEIGHT);     
              window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);     
              QText.setEditable(false);     
              QText.setBackground(Color.WHITE);     
              // register event listener      
              SubButton.addActionListener(this);     
              clearButton.addActionListener(this);
              backButton.addActionListener(this);
              advButton.addActionListener(this);
              // arrange components in GUI      
              window.getContentPane().setLayout(LAYOUT_STYLE);     
              window.getContentPane().add(QTag);     
              window.getContentPane().add(QText);     
              window.getContentPane().add(AnsTag);     
              window.getContentPane().add(AnsText);     
              window.getContentPane().add(SubButton);     
              window.getContentPane().add(backButton);
              window.getContentPane().add(clearButton);
              window.getContentPane().add(advButton);
              // display GUI      
              window.setVisible(true);     
         // actionPerformed(): run button action event handler
         public void actionPerformed(ActionEvent e) {     
              if (e.getActionCommand().equals("Submit"))
                   if(QText.equals(""))
                        QText = null;
                   if(e.getActionCommand().equals("Back"))
                        // Code for going back through the questions.
                   if(e.getActionCommand().equals("Next"))
                        // Code for advancing through the test
              // exam.answer(counter, ans);
              QText.setText(exam.displayQuestion(0+1));
              if (counter == exam.length())
                 exam.scoreExam(true);
                 results.setText("Your final score was " + exam.getScore() + "/" + exam.getMaxScore() + " points.");
                 results.setVisible(true);
              counter++;
         // main(): application entry point     
         public static void main(String[] args)
              setUp(exam);
              ProjGUI gui = new ProjGUI();     
         private static void setUp (Test t)
              TrueFalseQuestion x = new TrueFalseQuestion("The sky is blue.", "true", 2);
              t.addQuestion(x);
              x = new TrueFalseQuestion("The first FORTRAN compiler debuted in 1957", "true", 5);
              t.addQuestion(x);
              MultipleChoiceQuestion m = new MultipleChoiceQuestion("Which of the following is NOT a disk-scheduling algorithm?", "b", 4);
              m.addAnswerChoice("SSTF");
              m.addAnswerChoice("SJF");
              m.addAnswerChoice("FCFS");
              m.addAnswerChoice("All of the above are disk-scheduling algorithms");
              t.addQuestion(m);
               x = new TrueFalseQuestion("Spock was a Vulcan", "false", 3);
              t.addQuestion(x);
    }Feel free to tear it apart, as I am doing trying to figure out how exactly the buttons should work. Any feedback is appreciated.
    Edited by: Ereki on May 15, 2008 11:03 PM
    Edited by: Ereki on May 15, 2008 11:07 PM

    You may find java.awt.CardLayout and javax.swing.JProgressBar helpful.
    Generally if you have Swing-specific questions, you should ask on the Swing forum.

  • Message from SAP Education re: SAP BusinessObjects certification exams

    Effective April, 2010, there will be new SAP BusinessObjects certification exams available after realignment with the SAP certification program.  All existing SAP BusinessObjects exams will be retired at the end of April and will be replaced by the following three exams:
    u2022         SAP Certified Application Associate u2013 SAP BusinessObjects Enterprise XI 3.x
    u2022         SAP Certified Application Associate u2013 Crystal Reports 2008
    u2022         SAP Certified Application Associate u2013 BusinessObjects Web Intelligence XI 3.x
    In addition to the test delivery via applicable Pearson VUE test centers (http://www.pearsonvue.com/busobjects/), the new exams will also be available from April onwards at SAP Education Centers around the world.
    For further information on the exams and their availability, please contact to your local SAP Education representative or check online at http://www.sap.com/usa/services/education/certification/index.epx.
    The exam codes which should be bookable from mid-March onwards will be:
    C_BOCR_08   SAP Certified Application Associate u2013 Crystal Reports 2008
    C_BOE_30      SAP Certified Application Associate u2013 SAP BusinessObjects Enterprise XI 3.x
    C_BOWI_30    SAP Certified Application Associate u2013 BusinessObjects Web Intelligence XI 3.x

    Hello,
    I am planning to do the C_BOCR_08 certification exam and would like to know if anyone has done this exam and would like to know your feedback:
    -      How hard was it?
    -     What material did you used to study revise?
    -     What topic comes up most in the questions what was you difficulties?
    Please help
    Thank very much
    Best Regards,
    Edited by: Miguel Mendes on Oct 14, 2010 10:54 AM

  • Decode mail

    how can we decode email and please tell me i m new comer what is exam fee of solaris 9 sys admin I ?

    Hello.
    "Decode Email" means: Decode binary attachments?
    If yes: That depends on the mail program you are using. As far as I know the "mail" command cannot do this. If you have "pine" installed you may use this program. Or you may use the mail program on the graphical user interface.
    Martin

  • Questions about a MasterQuize program

    Hi, everyone.
    I got a in-class case study program like this in the class:
    * This class stores/represents a question that has one of two
    * answers: True or False.
    * <p></p>
    * It needs to track the following information:
    * <ul>
    * <li>Question text</li>
    * <li>Correct answer</li>
    * <li>The user's answer to the question</li>
    * <li>Points value</li>
    * <li>Category</li>
    * <li>Difficulty rating</li>
    * </ul>
    // Our question should allow us to do the following:
    // - Create question (constructor) -- may be overloaded
    // - Print (display) question
    // - Check client's answer for correctness
    // - Get points value for question (0 or max)
    //   - Add "No-BS" grading option
    // - Getting client's answer
    // - Check to see if answered by client
    public class TrueFalseQuestion
        // Class constants (to simplify changes to common values)
        public static final int MIN_DIFFICULTY_LEVEL = 1;
        public static final int MAX_DIFFICULTY_LEVEL = 5;
        public static final int DEFAULT_DIFFICULTY_LEVEL = 1;
        public static final int DEFAULT_POINT_VALUE = 1;
        public static final String DEFAULT_CATEGORY_VALUE = "none";
        // Class instance variables
        private String questionText;
        private String correctAnswer;
        private String userAnswer;
        private int pointsValue;
        private String category;
        private int difficultyLevel; // TODO: Set a range for difficulty levels
         * @param text The literal wording of this question
         * @param answer The correct answer for this question
         * @param pts The total points available for this question
         * @param ctgry Category keyword for this question
         * @param level The perceived/intended difficulty level of this question
         * <p></p>
         * Defines a TrueFalseQuestion object.
        public TrueFalseQuestion (String text, String answer, int pts, String ctgry, int level)
            // Set starting values for all instance variables
            questionText = text.trim();
            correctAnswer = answer.trim();
            userAnswer = null; // No user answer supplied yet
            if (pts >= 1) // We assume that every problem is worth at least 1 point
                pointsValue = pts;
            else
                pointsValue = DEFAULT_POINT_VALUE;
            category = ctgry.trim();
            if (level >= MIN_DIFFICULTY_LEVEL && level <= MAX_DIFFICULTY_LEVEL) // within range
                difficultyLevel = level;
            else
                difficultyLevel = DEFAULT_DIFFICULTY_LEVEL;
        // Simplified (overloaded) constructors
         * @param text The literal wording of this question
         * @param answer The correct answer for this question
         * @param pts The total points available for this question
         * <p></p>
         * Defines a TrueFalseQuestion with default values for category and difficulty level.
        public TrueFalseQuestion (String text, String answer, int pts)
            // Call pre-existing constructor with default category and difficulty
            this(text, answer, pts, DEFAULT_CATEGORY_VALUE, DEFAULT_DIFFICULTY_LEVEL);
         * @param text The literal wording of this question
         * @param answer The correct answer for this question
         * <p></p>
         * Defines a TrueFalseQuestion with the default point value, default category,
         * and default difficulty level.
        public TrueFalseQuestion (String text, String answer)
            // Call pre-existing constructor with default points, category and difficulty
            this(text, answer, DEFAULT_POINT_VALUE, DEFAULT_CATEGORY_VALUE,
                 DEFAULT_DIFFICULTY_LEVEL);
         * @param text The literal wording of this question
         * @param answer The correct answer for this question
         * @param pts The total points available for this question
         * @param ctgry Category keyword for this question
         * <p></p>
         * Defines a TrueFalseQuestion with the default difficulty level.
        public TrueFalseQuestion (String text, String answer, int pts, String ctgry)
            // Call pre-existing constructor with default points, category and difficulty
            this(text, answer, pts, ctgry,
                 DEFAULT_DIFFICULTY_LEVEL);
         * @param text The literal wording of this question
         * @param answer The correct answer for this question
         * @param ctgry Category keyword for this question
         * <p></p>
         * Defines a TrueFalseQuestion with the default point value and the default
         * difficulty level.
        public TrueFalseQuestion (String text, String answer, String ctgry)
            // Use default points and difficulty
            this(text, answer, DEFAULT_POINT_VALUE, ctgry, DEFAULT_DIFFICULTY_LEVEL);
         * @param text The literal wording of this question
         * @param answer The correct answer for this question
         * @param pts The total points available for this question
         * @param level The perceived/intended difficulty level of this question
         * <p></p>
         * Defines a TrueFalseQuestion with the default value for the question category.
        public TrueFalseQuestion (String text, String answer, int pts, int level)
            // Use default category
            this(text, answer, pts, DEFAULT_CATEGORY_VALUE, level);
        // Clients can invoke this method to retrieve the text of the current question.
        // We chose to return the text instead of printing it; this allows the client
        // to decide how it should be presented (via a GUI, over a network, etc.)
        public String getQuestion ()
            return questionText;
        // This method allows the client to store the user's answer inside the
        // TrueFalseQuestion object for easy comparison
        public void submitAnswer (String ans)
            userAnswer = ans;
        // This method reports whether the submitted answer matches the correct answer
        public boolean answerIsCorrect(String userAns) // This version does all the work
            if (userAns == null) // No response from user (yet)
                return false;
            else
                // Normalize and compare answers
                char key = normalize(correctAnswer); // Get 't' or 'f'
                char ans = normalize(userAns); // Get 't' or 'f'
                return (key == ans);
        public boolean answerIsCorrect ()
            return answerIsCorrect(userAnswer); // Call previously-defined version
        public int getPointsValue()
            return pointsValue;
        // Return the points awarded for the user's answer. This method does
        // NOT support partial credit; answers are either correct or incorrect.
        // If the "No-BS" option is selected, blank (unanswered) questions receive
        // 1 point automatically; otherwise, the score will be either 0 or the
        // question's normal points value.
        public int getPointsEarned(boolean useNoBSRule)
    System.out.println("useNoBS: " + useNoBSRule + "\tuserAnswer: " + userAnswer + "\tcorrectAnswer: " + correctAnswer);
            if (useNoBSRule && (userAnswer == null))
                return 1;
            else if (userAnswer == null)
                return 0; // Without "No-BS", treat blank problems as incorrect
            if (answerIsCorrect() == false)
                return 0;
            else
                return pointsValue;
        // This method returns true if the user has submitted an answer
        // for this question (regardless of whether that answer is correct)
        public boolean hasBeenAnswered ()
            return (userAnswer != null);
        // Private helper method to convert all answers to single lowercase
        // letters (in this case, 't' for TRUE and 'f' for FALSE)
        private char normalize (String input)
             if (input != null)
                  input = input.trim(); // Remove leading whitespace
                  input = input.toLowerCase();
                  return input.charAt(0);
             else
                  return ' ';
    import java.util.*;
    * This class represents a complete test or quiz.
    * Data stored:
    * - List of questions
    * - Total score earned
    * - Total score possible
    * - Name/title of test
    * - Instructions
    *  - Category/class assignment
    *  - Student (test-taker) name
    *  - Date test is/was taken
    *  - Time started
    *  - Time completed
    *  - Maximum time allotted
    *  - (List of) Maximum attempts per question
    *  - List of attempts per question
    *  - List of difficulty ratings per question
    *  - Assignment weight
    * Methods:
    * - Constructor
    * - Add question
    * - Display question
    * - Display test
    * - Display instructions
    *      - Generate random exam
    * - Take/administer test
    * - Get score
    * STUFF TO DO:
    * - Add time/date restrictions
    * - Add network access restrictions
    * - Add other restrictions/allowances?
    * @author (your name)
    * @version (a version number or a date)
    public class Test
        // Class constant
        public static final int MAX_NUMBER_OF_QUESTIONS = 10;
        // Class instance variables
        private String testName;
        private int scoreEarned; // What the student earned on the exam
        private int scorePossible; // Total point values of all questions
        private String instructions; // Exam header text
        private ArrayList<TrueFalseQuestion> questions; // Create inside constructor
        // Methods
        public Test (String name, String instr)
            testName = name;
            scoreEarned = 0;
            scorePossible = 0;
            instructions = instr;
            questions = new ArrayList<TrueFalseQuestion>(); //[MAX_NUMBER_OF_QUESTIONS];
        public String getInstructions()
            return instructions;
        public int getScore()
            return scoreEarned;
        public void addQuestion (TrueFalseQuestion q)
            scorePossible += q.getPointsValue();
            questions.add(q); // Automatically append question to end of test
        public String displayQuestion (int position)
            if (position < questions.size())
                return (position+1) + ". " + questions.get(position).getQuestion();
            else
                return null;
        public String displayTest ()
            String result = "";
            for (int i = 0; i < questions.size(); i++)
                result += (i+1) + ". (";
                TrueFalseQuestion t = questions.get(i);
                result += t.getPointsValue();
                result += " points)\n\n" + displayQuestion(i);
                result += "\n\n";
            return result;
        // Get test length (number of questions)
        public int length ()
             return questions.size();
        // Submit answer to a specific question
        public boolean answer(int number, String a)
             // Question numbers run from 0-(max-1) -- THIS WAS AN OFF-BY-ONE ERROR AT FIRST
             if (number >= 0 && number < questions.size())
                  TrueFalseQuestion t = questions.get(number);
                  t.submitAnswer(a);
                  return true; // Question was answered
             else
                  return false; // Unable to answer (nonexistent) question
        // Score exam
        public void scoreExam (boolean useNoBS)
             scoreEarned = 0;
             for (int i = 0; i < questions.size(); i++) // For each question in exam
                  TrueFalseQuestion t = questions.get(i); // get current question
                  scoreEarned += t.getPointsEarned(useNoBS);
    }// Test harness for the Test and *Question classes
    import java.util.*;
    public class QuizDriver
         public static void main(String[] args)
              // Create a new Test object
              Test exam = new Test("Sample Exam", "Select the correct answer for each question");
              setUp(exam);
              Scanner sc = new Scanner(System.in);
              System.out.println(exam.getInstructions());
              // Administer exam
              for (int i = 0; i < exam.length(); i++)
                   // Print out current question
                   System.out.println(exam.displayQuestion(i));
                   // Get user answer
                   System.out.print("Your answer: ");
                   String ans = sc.nextLine();
                   if (ans.equals("")) // Handle blank responses for unanswered questions
                        ans = null;
                   exam.answer(i, ans);
              // Get exam results
              exam.scoreExam(true);
              System.out.println("Your final score was " + exam.getScore() + " points.");
         private static void setUp (Test t)
              TrueFalseQuestion x = new TrueFalseQuestion("The sky is blue.", "true", 2);
              t.addQuestion(x);
              x = new TrueFalseQuestion("The first FORTRAN compiler debuted in 1957", "true", 5);
              t.addQuestion(x);
              x = new TrueFalseQuestion("Spock was a Vulcan", "false", 3);
              t.addQuestion(x);
    }This program is far from finishing.
    I have many questions about this program, but let me ask this one first:
    In the TrueFalseQeustion class, why are there so many constructors? What is the purpose of setting some of the variables to default values?
    Thank you very much!!!
    Edited by: Terry001 on Apr 16, 2008 10:02 AM

    newark wrote:
    Stop ignoring the error messages. You seem to think that an error message means you're doing the assignment wrong. It's probably a simple fix. Post the exact error messages, as well as the code that corresponds to them. The error message will tell you exactly what line the problem occurs on, so you know right where to look.Hi,
    After some modifications, the program now gives me the result the assignment wants when I run it. But I still have trouble with the MultipleChoiceQuestion class
    Here is the complete program
    QuizDriver class
    // Test harness for the Test and *Question classes
    import java.util.*;
    public class QuizDriver
         public static void main(String[] args)
              // Create a new Test object
              Test exam = new Test("Sample Exam", "Select the correct answer for each question");
              setUp(exam);
              Scanner sc = new Scanner(System.in);
              System.out.println(exam.getInstructions());
              // Administer exam
              for (int i = 0; i < exam.length(); i++)
                   // Print out current question
                   System.out.println(exam.displayQuestion(i));
                   // Get user answer
                   System.out.print("Your answer: ");
                   String ans = sc.nextLine();
                   if (ans.equals("")) // Handle blank responses for unanswered questions
                        ans = null;
                   exam.answer(i, ans);
              // Get exam results
              exam.scoreExam(true);
              System.out.println("Your final score was " + exam.getScore() + " points.");
         private static void setUp (Test t)
                                   Question x;
              x = new TrueFalseQuestion("The sky is blue.", "true", 2);
              t.addQuestion(x);
              x = new TrueFalseQuestion("The first FORTRAN compiler debuted in 1957", "true", 5);
              t.addQuestion(x);
              x = new TrueFalseQuestion("Spock was a Vulcan", "false", 3);
              t.addQuestion(x);
              x = new MultipleChoiceQuestion("What is the color of the car\na.Red\nb.Green", "a. Red", 3);
              t.addQuestion(x);
              x = new MultipleChoiceQuestion("What is the name of this class\na.CSE110\nb.CSE114", "b, CSE114", 3);
              t.addQuestion(x);
    }Test
    public class Test
        // Class constant
        public static final int MAX_NUMBER_OF_QUESTIONS = 10;
        // Class instance variables
        private String testName;
        private int scoreEarned; // What the student earned on the exam
        private int scorePossible; // Total point values of all questions
        private String instructions; // Exam header text
        private ArrayList<Question> questions; // Create inside constructor
        // Methods
        public Test (String name, String instr)
            testName = name;
            scoreEarned = 0;
            scorePossible = 0;
            instructions = instr;
            questions = new ArrayList<Question>(); //[MAX_NUMBER_OF_QUESTIONS];
        public String getInstructions()
            return instructions;
        public int getScore()
            return scoreEarned;
        public void addQuestion (Question q)
            scorePossible += q.getPointsValue();
            questions.add(q); // Automatically append question to end of test
        public String displayQuestion (int position)
            if (position < questions.size())
                return (position+1) + ". " + questions.get(position).getQuestion();
            else
                return null;
        public String displayTest ()
            String result = "";
            for (int i = 0; i < questions.size(); i++)
                result += (i+1) + ". (";
                Question t = questions.get(i);
                result += t.getPointsValue();
                result += " points)\n\n" + displayQuestion(i);
                result += "\n\n";
            return result;
        // Get test length (number of questions)
        public int length ()
             return questions.size();
        // Submit answer to a specific question
        public boolean answer(int number, String a)
             // Question numbers run from 0-(max-1) -- THIS WAS AN OFF-BY-ONE ERROR AT FIRST
             if (number >= 0 && number < questions.size())
                  Question t = questions.get(number);
                  t.submitAnswer(a);
                  return true; // Question was answered
             else
                  return false; // Unable to answer (nonexistent) question
        // Score exam
        public void scoreExam (boolean useNoBS)
             scoreEarned = 0;
             for (int i = 0; i < questions.size(); i++) // For each question in exam
                  Question t = questions.get(i); // get current question
                  scoreEarned += t.getPointsEarned(useNoBS);
    }Question
    public class Question
    // Class constants
      public static final int MIN_DIFFICULTY_LEVEL = 1;
      public static final int MAX_DIFFICULTY_LEVEL = 5;
      public static final int DEFAULT_DIFFICULTY_LEVEL = 1;
      public static final int DEFAULT_POINT_VALUE = 1;
      public static final String DEFAULT_CATEGORY_VALUE = "none";
      // Class instance variables
      protected String questionText;
      protected String correctAnswer;
      protected String userAnswer;
      protected int pointsValue;
      protected String category;
      protected int difficultyLevel; //TODO: set a range for difficulty levels
      // Constructors
      public Question (String text, String answer, int pts, String ctgry, int level)
          questionText = text.trim();
          correctAnswer = answer.trim();
          userAnswer = null;
          if (pts >= 1)
              pointsValue = pts;
            else
                pointsValue = DEFAULT_POINT_VALUE;
            category = ctgry.trim();
            if (level >= MIN_DIFFICULTY_LEVEL && level <= MAX_DIFFICULTY_LEVEL)
                difficultyLevel = level;
            else
                difficultyLevel = DEFAULT_DIFFICULTY_LEVEL;
        // Overloaded (simplied) constructors
        public Question (String text, String answer, int pts)
            this(text, answer, pts, DEFAULT_CATEGORY_VALUE, DEFAULT_DIFFICULTY_LEVEL);
        public Question (String text, String answer, int pts, String ctgry)
            this(text, answer, pts, ctgry, DEFAULT_DIFFICULTY_LEVEL);
        public Question (String text, String answer, String ctgry)
            this(text, answer, DEFAULT_POINT_VALUE, ctgry, DEFAULT_DIFFICULTY_LEVEL);
        public Question (String text, String answer, int pts, int level)
            this(text, answer, pts, DEFAULT_CATEGORY_VALUE, level);
        // Methods
        public String getQuestion ()
            return questionText;
        // Use this method to store user answers
        public void submitAnswer (String ans)
            userAnswer = ans;
        public boolean answerIsCorrect (String userAns)
            if (userAns == null)
                return false;
            else
                // Normalize and compare answers
                char key = normalize (correctAnswer); //Get the first letter of an answer
                char ans = normalize (userAns); //Get the first letter of an answer
                return (key == ans);
        public boolean answerIsCorrect ()// Why do we need two answerisCorrect() methods?
            return answerIsCorrect (userAnswer);
        public int getPointsValue ()
            return pointsValue;
        public int getPointsEarned (boolean userNoBSRule)
            System.out.println ("useNoBS: " + userNoBSRule + "\tuseAnswer: " + userAnswer + "\tcorrectAnswer: " + correctAnswer);
            if (userNoBSRule && (userAnswer == null))
                return 1;
            else if (userAnswer == null)
                return 0;
            if (answerIsCorrect() == false)
                return 0;
            else
                return pointsValue;
        public String getCorrectAnswer ()
            return correctAnswer;
        public boolean hasBeenAnswered ()
            return (userAnswer != null);
        private char normalize (String input)
            if (input != null)
                input = input.trim();
                input = input.toLowerCase();
                return input.charAt(0);
            else
                return ' ';
           TrueFalseQuestion
    public class TrueFalseQuestion extends Question
      public TrueFalseQuestion (String text, String answer, int pts, String ctgry, int level)
          super(text, answer, pts, ctgry, level);
        public TrueFalseQuestion (String text, String answer, int pts)
            super(text, answer, pts, DEFAULT_CATEGORY_VALUE, DEFAULT_DIFFICULTY_LEVEL);
        public TrueFalseQuestion (String text, String answer, int pts, String ctgry)
            super(text, answer, pts, ctgry, DEFAULT_DIFFICULTY_LEVEL);
        public TrueFalseQuestion (String text, String answer, String ctgry)
            super(text, answer, DEFAULT_POINT_VALUE, ctgry, DEFAULT_DIFFICULTY_LEVEL);
        public TrueFalseQuestion (String text, String answer, int pts, int level)
            super(text, answer, pts, DEFAULT_CATEGORY_VALUE, level);
        // Methods
        public String[] getPossibleAnswerChoice ()
            String[] possibleAnswerChoice = {"true", "false"};
            return possibleAnswerChoice;
    } MultipleChoiceQuestion
    public class MultipleChoiceQuestion extends Question
       public MultipleChoiceQuestion (String text, String answer, int pts, String ctgry, int level)
           super(text, answer, pts, ctgry, level);
        public MultipleChoiceQuestion (String text, String answer, int pts)
            super(text, answer, pts, DEFAULT_CATEGORY_VALUE, DEFAULT_DIFFICULTY_LEVEL);
        public MultipleChoiceQuestion (String text, String answer, int pts, String ctgry)
            super(text, answer, pts, ctgry, DEFAULT_DIFFICULTY_LEVEL);
        public MultipleChoiceQuestion (String text, String answer, String ctgry)
            super(text, answer, DEFAULT_POINT_VALUE, ctgry, DEFAULT_DIFFICULTY_LEVEL);
        public MultipleChoiceQuestion (String text, String answer, int pts, int level)
            super(text, answer, pts, DEFAULT_CATEGORY_VALUE, level);
        // Methods
        String possibleAnswers;
        public String getPossibleAnswers ()
            return possibleAnswers;
        public void addAnswerChoice (String answerChoice)
            String ansChoice = answerChoice;
            questionText += "\nansChoice";
            possibleAnswers = answerChoice;
        public void printAnswerChoice ()
            System.out.println (questionText);
    } I don't understand why the assignment wants me to build a method in the MultpleChoiceQuestion class to store the potential answer choices, I can make the program display the potential answer choices by including them in the questionText as following in the QuizDriver class
    Question x;
    x = new MultipleChoiceQuestion("What is the color of the car\na.Red\nb.Green", "a. Red", 3);
    t.addQuestion(x); I don't know how to allow the client to construct the list of answer choices one at a time(add one potential answer choice by calling the addAsnwerChoices() method once)
    Here are a few original sentences of my assignment which describe what I should do with the MultipleChoiceQuestion class
    Using TrueFalseQuestion as a model, develop a new MultipleChoiceQuestion class that can be used to represent a problem where the user must select one of several answer choices (e.g., "Select answer (a), (b), (c), or (d)."). This new question type should have all of the same externally-visible functionality as TrueFalseQuestion, except that it must:
    maintain a list of potential answer choices
    provide a method that allows the client to construct the list of answer choices one at a time (i.e., the client should be able to call an addAnswerChoice() method to pass a new answer option to the MultipleChoiceQuestion.)
    display (as part of the question text) the list of answer choices with appropriate letters ("abcd" instead of "0123") I don't understand what these sentences mean.
    1. "Maintain a list of potential answer choices"-- this reminds me of the getPossibleAnswerChoice() method in the TrueFalseQuestion class
    public String[] getPossibleAnswerChoice ()
            String[] possibleAnswerChoice = {"true", "false"};
            return possibleAnswerChoice;
        }I wonder that if the potential answer choices I have to store in the MultipleChoiceQuestion class are only letters "a", "b", "c", "d", etc, or include the answer text coming after the letters(eg. a.Red, b.Green)
    2. "provide a method that allows the client to construct the list of answer choices one at a time". How do I achieve the functionality "one at a time"? Do I need to pass the input of the client (a potential answer choice) to the variable of the method which stores the list of potential answers?
    3. "display (as part of the question text) the list of answer choices with appropriate letters". My question here is that: When the client type in one possible answer, should I append it to the variable questionText? (So I use the questionText variable in the methods of the first and second steps)
    Thank you very much for your nice help!
    Edited by: Terry001 on Apr 21, 2008 8:01 AM

  • Oracle 11g OCP 1Z0-050

    Hi Guys
    Any idea why that test is so hard?
    It will be the third time i will try to get pass that exam, i feel it simply too difficult.
    Any methods or idea to get it done? *dumps are excluded and banned in my world!!!!!!
    Oracle 11g is quite complicated and in general Oracle gains a lot in complexity....
    Please share your methods here....

    Hi,
    I managed to pass this test at the first attempt.
    I prepared using the book "OCP Oracle Database 11g: New Features for Administrators Exam Guide (Exam 1Z0-050)" by Sam Alapati.
    This book was full with errors. I'm quite sure I would have failed the test miserably if I only prepared using this book.
    Fortunately I noticed that there's a lot of conflicting information in this book. There are also errors in the tests (wrong answers).
    So I ended up spending a lot of time double checking all information in the online documentation.
    If you're using this book, I would strongly advise you to read it very sceptical and only as a guide to create your own notes.
    Also, if any books are out by e.g. Sybex, have a look at these instead. They can never be as worse as the one by S. Alapati ;-)
    And remember to practice all topics.
    I also found the upgrade exam to be more difficult than the 10g OCA/OCP exams.
    So in short, my preparation was:
    1) Read all information in the exam cram book sceptically, verify in the online documentation and create my own notes. => this took a lot of time, but provided a global knowledge of all topics
    2) Test each topic and verify my notes are correct.
    3) Study own notes. => detailed knowledge of topics
    4) Only take the tests at the end of each chapter when I studied everything thoroughly. => verify knowledge
    5) Check if errors were due to misunderstanding some topics + corect notes, or just wrong answers in the book...
    6) Keep track of topics with poor understanding, create notes for these, and study these extra.
    Success with the next attempt. If you pass it, you'll be proud you didn't use brain dumps.
    Greetz,
    David

  • Compilation Help!!Pls offer ur knowledge

    Anyone can figure out what wrong with my program>I try to getString name from Eoption1 class location and be display in other interface(Exam class).There is a problem during compilation.Can anyone offer some knowlegde tosee what the problem,,Below are three file .....(Module1.java,Eoption1.java,Exam.java)
    Module1.java(main class)
    =================
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.BorderFactory;
    import javax.swing.border.Border;
    import javax.swing.border.TitledBorder;
    public class Module1 extends JFrame {
    long startT=0;
    Clock2 applet = new Clock2();
    public Module1() {
    super("Certification Exam");
    JMenuBar menubar = new JMenuBar();
    JMenu menu = new JMenu("File");
         JMenu exam = new JMenu("Exam");
    JMenu help = new JMenu("Help");
         JMenu type = new JMenu("Type of Exam");
    JMenuItem
         newitem = new JMenuItem("New ..."),
    olditem = new JMenuItem("Old ..."),
    exititem = new JMenuItem("Exit ..."),
    option = new JMenuItem("Exam Option"),
    starte = new JMenuItem("Start Exam");
    menu.add(newitem);
    menu.add(olditem);
    menu.add(exititem);
    exam.add(starte);
    exam.add("Load Exam");
    exam.addSeparator();
    exam.add(option);
    help.add(type);
    help.add("Implementation");
         help.add("Update");
         type.add("Windows Profesional");
         type.add("Windows Server");
         type.add("Active Directory");
    Container contentPane = getContentPane();
         JLabel none = new JLabel("");
         JPanel panel = new ImageCanvas("cover2.jpg","LOGO");
         panel.setBorder(BorderFactory.createRaisedBevelBorder());
         panel.setPreferredSize(new Dimension(495,260));
         //panel.setPreferredSize(new Dimension(960,500));
         panel.setBounds(20,20,950,500);
    applet.setBounds(430,550,150,150);
    contentPane.setLayout(new BorderLayout());
         contentPane.add(panel,BorderLayout.SOUTH);
         contentPane.add(applet,BorderLayout.SOUTH);
    contentPane.add(none,BorderLayout.SOUTH);
    applet.init();
    applet.start();
    menubar.add(menu);
    menubar.add(exam);
    menubar.add(help);
    setJMenuBar(menubar);
    starte.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    Option1();
    option.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    Optional();
    public void Optional() {
    Eoption1 option = new Eoption1(this);
    startT=option.getStartT();
    public void Option1() {
    Exam exam = new Exam(startT);
    class ImageCanvas extends JPanel {
         ImageIcon icon;
         public ImageCanvas(String imageName, String description) {
              icon = new ImageIcon(imageName, description);
         public void paintComponent(Graphics g) {
              Insets insets = getInsets();
              super.paintComponent(g);
         icon.paintIcon(this, g, insets.left, insets.top);
         public Dimension getPreferredSize() {
              Insets insets = getInsets();
              return new Dimension(
                   icon.getIconWidth() + insets.left + insets.right,
                   icon.getIconHeight() + insets.top + insets.bottom);
    public static void main(String args[]) {
    JFrame mod = new Module1();
    Toolkit theKit = mod.getToolkit();
    Dimension wndSize = theKit.getScreenSize();
    mod.setSize(wndSize.width,wndSize.height);
    mod.setVisible(true);
    mod.setResizable(false);
    mod.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Eoption1.java
    ==================
    import java.math.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Eoption1 extends JDialog implements ActionListener {
    JComboBox combo = new JComboBox();
    long startT=0;
    public Eoption1(Frame parent) {
    super(parent, "Server 1.2-1", true);
    Container contentPane = getContentPane();
    JLabel label1 = new JLabel("Examinee Name");
    JButton start = new JButton("Submit");
    JTextField name = new JTextField(30);
    String stuName;
    start.setEnabled(false);
         combo.addItem(" No Timer");
    combo.addItem("30 Minutes");
    combo.addItem("60 Minutes");
    combo.addItem("90 Minutes");
    combo.addItem("120 Minutes");
    combo.addItem("150 Minutes");
    combo.addItem("180 Minutes");
    combo.setSelectedIndex(0);
    start.addActionListener(new ActionListener() {
    public void actionPerformed( ActionEvent e ) {
    try {
    startT = combo.getSelectedIndex();
    if (startT == 0) {
         // do something
                   stuName = (String) name.getText();
         startT = -1; // Impossible to get -1 from this calcs, so we set it so we can check it later
    } else {
         startT *= 30*60*1000;
                   stuName = (String) name.getText();
    dispose();
    return;
    catch (Throwable fe) {}
    contentPane.setLayout(null);
    contentPane.add(label1);
    contentPane.add(name);
    contentPane.add(start);
    contentPane.add(combo);
    name.addActionListener(this);
    label1.setBounds(30,10,100,30);
    name.setBounds(140,10,150,25);
    start.setBounds(30,50,100,25);
    combo.setBounds(150,50,130,25);
    Dimension wndSize = Toolkit.getDefaultToolkit().getScreenSize();
    setBounds(wndSize.width/4, wndSize.height/4,wndSize.width/2, wndSize.height/2);
    setVisible(true);
    public void keyTyped(KeyEvent e) { }
    public void keyPressed(KeyEvent e) { }
    public void keyReleased(KeyEvent e) {
    if((name.getText().length() > 0)
    start.setEnabled(true);
    else
    start.setEnabled(false);
    public long getStartT() {return startT;}
    Exam.java
    ==========================
    import javax.swing.*;
    import java.awt.*;
    import java.text.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.border.*;
    public class Exam extends JFrame {
    javax.swing.Timer timer;
    JTextField time = new JTextField("");
    String stuName;
    long startT,stopT;
    SimpleDateFormat timef = new SimpleDateFormat(" HH:mm:ss ",Locale.getDefault());
    Exam(long start,String stuName) {
    super("Exam");
    startT=start;
         this.stuName = stuName;
    Date date=new Date();
    timef.setTimeZone(TimeZone.getTimeZone("GMT"));
    Container contentPane = getContentPane();
    String content = "";
         JLabel namedisplay = new JLabel("");
    JPanel panel = new JPanel();
    JTextArea textArea = new JTextArea(content,10,30);
    textArea.setLineWrap(true);
    textArea.setEditable(false);
    time.setBounds(300,400,70,25);
    time.setOpaque(true);
    time.setEditable(false);
    panel.setBorder(BorderFactory.createTitledBorder("Read the following"));
    panel.add(textArea);
    panel.setBounds(100,50,500,250);
         namedisplay.setText(stuName);
    namedisplay.setBounds(300,350, 100, 25);
    contentPane.setLayout(null);
    contentPane.add(panel);
    contentPane.add(time);
         contentPane.add(namedisplay);
    setResizable(false);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              if (startT > 0) {
         startT+=System.currentTimeMillis();
         timer = new javax.swing.Timer(1000, new ActionListener() {
         public void actionPerformed(ActionEvent e) {
         stopT = System.currentTimeMillis();
         time.setText(timef.format(new Date(startT-stopT)));
                        timer.start();
                   } else {
                        // Running with no timer, do something here to let them know.
                        // set the time.setText("00:00:00"); or whatever you want it to sit at
    setVisible(true);
    Dimension wndSize = Toolkit.getDefaultToolkit().getScreenSize();
    setBounds(wndSize.width/10, wndSize.height/10,800,600);

    Dear VV..
    i have try to compile using your way and it does works,but got somemore problem trouble me,I have try to getString where the exammiinee name from Eoption class but it can;t store to be display in the Exam class.I have already declare all the variable but it doesn;t run.Can you pls help..Below are the code.where it got three file (Exam,MOdule1,Eoption).There is a applet code Clock2 ,u may // it first..
    Exam.java
    ==============
    import javax.swing.*;
    import java.awt.*;
    import java.text.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.border.*;
    public class Exam extends JFrame {
    javax.swing.Timer timer;
    JTextField time = new JTextField("");
    String stuName;
    long startT,stopT;
    SimpleDateFormat timef = new SimpleDateFormat(" HH:mm:ss ",Locale.getDefault());
    public Exam(long start,String stuName) {
    super("Exam");
    startT=start;
    this.stuName = stuName;
    Date date=new Date();
    timef.setTimeZone(TimeZone.getTimeZone("GMT"));
    Container contentPane = getContentPane();
    String content = "";
    JLabel namedisplay = new JLabel("");
    JPanel panel = new JPanel();
    JTextArea textArea = new JTextArea(content,10,30);
    textArea.setLineWrap(true);
    textArea.setEditable(false);
    time.setBounds(300,400,70,25);
    time.setOpaque(true);
    time.setEditable(false);
    panel.setBorder(BorderFactory.createTitledBorder("Read the following"));
    panel.add(textArea);
    panel.setBounds(100,50,500,250);
    namedisplay.setText(stuName);
    namedisplay.setBounds(300,480, 100, 25);
    contentPane.setLayout(null);
    contentPane.add(panel);
    contentPane.add(time);
    contentPane.add(namedisplay);
    setResizable(false);
    setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    if (startT > 0) {
    startT+=System.currentTimeMillis();
    timer = new javax.swing.Timer(1000, new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    stopT = System.currentTimeMillis();
    time.setText(timef.format(new Date(startT-stopT)));
    timer.start();
    } else {
    // Running with no timer, do something here to let them know.
    // set the time.setText("00:00:00"); or whatever you want it to sit at
    setVisible(true);
    Dimension wndSize = Toolkit.getDefaultToolkit().getScreenSize();
    setBounds(wndSize.width/10, wndSize.height/10,800,600);
    Eoption1.java
    ========================
    import java.math.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Eoption1 extends JDialog implements ActionListener{
    JComboBox combo = new JComboBox();
    Exam x = new Exam(0L,"");
    long startT=0;
    JTextField name = new JTextField(30);
    String stuName;
    JButton start = new JButton("Submit");
    public Eoption1(Frame parent) {
    super(parent, "Server 1.2-1", true);
    Container contentPane = getContentPane();
    JLabel label1 = new JLabel("Examinee Name");
    JButton start = new JButton("Submit");
    combo.addItem(" No Timer");
    combo.addItem("30 Minutes");
    combo.addItem("60 Minutes");
    combo.addItem("90 Minutes");
    combo.addItem("120 Minutes");
    combo.addItem("150 Minutes");
    combo.addItem("180 Minutes");
    combo.setSelectedIndex(0);
    start.addActionListener(this);
    contentPane.setLayout(null);
    contentPane.add(label1);
    contentPane.add(name);
    contentPane.add(start);
    contentPane.add(combo);
    name.addActionListener(this);
    label1.setBounds(30,10,100,30);
    name.setBounds(140,10,150,25);
    start.setBounds(30,50,100,25);
    combo.setBounds(150,50,130,25);
    Dimension wndSize = Toolkit.getDefaultToolkit().getScreenSize();
    setBounds(wndSize.width/4, wndSize.height/4,wndSize.width/2, wndSize.height/2);
    setVisible(true);
    public void actionPerformed(ActionEvent e) {
    try {
    startT = combo.getSelectedIndex();
    if (startT == 0) {
    // do something
    stuName = (String) name.getText();
    startT = -1; // Impossible to get -1 from this calcs, so we set it so we can check it later
    } else {
    startT *= 30*60*1000;
    stuName = (String) name.getText();
    dispose();
    return;
    catch (Throwable fe) {}
    public long getStartT() {return startT;}
    public void keyPressed(KeyEvent e) { }
    public void keyReleased(KeyEvent e) {
    if((name.getText().length() > 0))
    start.setEnabled(true);
    else
    start.setEnabled(false);
    public void keyTyped(KeyEvent e) { }
    Module1.java(main class)
    =========
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.BorderFactory;
    import javax.swing.border.Border;
    import javax.swing.border.TitledBorder;
    public class Module1 extends JFrame {
    long startT=0;
    String stuName;
    Clock2 applet = new Clock2(); // Unknown
    class ImageCanvas extends JPanel {
    ImageIcon icon;
    public ImageCanvas(String imageName, String description) {
    icon = new ImageIcon(imageName, description);
    public void paintComponent(Graphics g) {
    Insets insets = getInsets();
    super.paintComponent(g);
    icon.paintIcon(this, g, insets.left, insets.top);
    public Dimension getPreferredSize() {
    Insets insets = getInsets();
    return new Dimension(
    icon.getIconWidth() + insets.left + insets.right,
    icon.getIconHeight() + insets.top + insets.bottom);
    public Module1() {
    super("Certification Exam");
    JMenuBar menubar = new JMenuBar();
    JMenu menu = new JMenu("File");
    JMenu exam = new JMenu("Exam");
    JMenu help = new JMenu("Help");
    JMenu type = new JMenu("Type of Exam");
    JMenuItem
    newitem = new JMenuItem("New ..."),
    olditem = new JMenuItem("Old ..."),
    exititem = new JMenuItem("Exit ..."),
    option = new JMenuItem("Exam Option"),
    starte = new JMenuItem("Start Exam");
    menu.add(newitem);
    menu.add(olditem);
    menu.add(exititem);
    exam.add(starte);
    exam.add("Load Exam");
    exam.addSeparator();
    exam.add(option);
    help.add(type);
    help.add("Implementation");
    help.add("Update");
    type.add("Windows Profesional");
    type.add("Windows Server");
    type.add("Active Directory");
    Container contentPane = getContentPane();
    JLabel none = new JLabel("");
    JPanel panel = new ImageCanvas("cover2.jpg","LOGO");
    panel.setBorder(BorderFactory.createRaisedBevelBorder());
    panel.setPreferredSize(new Dimension(495,260));
    //panel.setPreferredSize(new Dimension(960,500));
    panel.setBounds(20,20,950,500);
    applet.setBounds(430,550,150,150);
    contentPane.setLayout(new BorderLayout());
    contentPane.add(panel,BorderLayout.SOUTH);
    contentPane.add(applet,BorderLayout.SOUTH);
    contentPane.add(none,BorderLayout.SOUTH);
    applet.init();
    applet.start();
    menubar.add(menu);
    menubar.add(exam);
    menubar.add(help);
    setJMenuBar(menubar);
    starte.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    Option1();
    option.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    Optional();
    public static void main(String args[]) {
    JFrame mod = new Module1();
    Toolkit theKit = mod.getToolkit();
    Dimension wndSize = theKit.getScreenSize();
    mod.setSize(wndSize.width,wndSize.height);
    mod.setVisible(true);
    mod.setResizable(false);
    mod.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    public void Option1() {
    Exam exam = new Exam(startT,stuName);
    public void Optional() {
    Eoption1 option = new Eoption1(this);
    startT=option.getStartT();

  • SCBCD -- CX-310-091 or CX-310-090

    Hello,
    I am kind of used to EJBs but have not used EJBs extensively. I am planning to take the Sun Certified Business Component Developer exam but I am confused over which exam to take. Should I take the (CX-310-090) or the new (CX-310-091) exam?
    (CX-310-090) -- is for EJB 2.0 on Java EE 1.3
    (CX-310-091) -- is for EJB 3.0 on Java EE 5
    Also, I am not able to find appropriate study kit for the new exam. Most of the books available are for the old (CX-310-090) exam.
    Can anyone help me with the following?
    1. How is the exam different and difficult from the (CX-310-090) exam?
    2. Where can I find the exact (CX-310-091) study kit ?
    Thanks..

    SCBCD Exam Study Kit: Java Business Component Developer Certification for EJB from Manning
    ISBN-10: 1932394400
    ISBN-13: 978-1932394405
    This book is ok, good material but not the definitive book to pass the exam
    Head First EJB is very easy to understand but some people don't like it.
    To pass the exam is very individual, a combination of books it's better than just one.

  • Which one to consider izo-052 or izo-042?? please help..

    Hi friends,
    I recently cleared my izo-051 exam now looking for OCA certificate soon..but confused in izo-052 or izo-042 which one is better and easier too..for a newbie as i don't have Oracle Practical experience but have pretty good knowledge of Oracle Database..
    Thanks in Advance,
    Neha

    user10375305 wrote:
    Hi friends,
    I recently cleared my izo-051 exam now looking for OCA certificate soon..but confused in izo-052 or izo-042 which one is better and easier too..for a newbie as i don't have Oracle Practical experience but have pretty good knowledge of Oracle Database..
    Thanks in Advance,
    NehaIn general one should go for 1z0-052 11g rather than 1z0-042 10g (and 11g is newer).
    The 11g exam may arguably be up to 5% more difficult, but any difference is barely signnificant.
    What is important if to consider that after 1x DBA OCA you may be considering 1x DBA OCP. Then in addition to considering the 1z0-0(x+4)3 exam you will need to consider the hands on course requirement.
    The options for that hands-on-course requirement may influence your route.
    rgds - bigdelboy.

Maybe you are looking for

  • Moving itunes from one comuter to another after a crash

    Had a computer hard drive crash. Since I needed a new computer anyway, bought a new computer. Hooked up the old hard drive as an external, and copied it over to the new harddrive, so I have access to the old data. I re-installed itunes, hooked up the

  • CRM Extractor for service management - date type

    Hi, I want to extract data for the service management from crm system. I find the data with crm_order_read in the table et_appointment. I need the field appt_type with the time stamps. Is there a business content extractor available? I can not find o

  • Has anyone actually used PS CS6 with the new Macbook pro?

    There has been an awful lot of discussion about how the new macbook will work with CS6, mostly talk about the UI, but has anyone used it?  How does it work with the retina display (other than the UI)?  Yes, Adobe is going to make it retina compatible

  • Nokia x6 quickoffice not opening xls sheet

    hello all this is my first post  i really need a solution for my quickoffice(which is preinstalled) as it is not opening the xls sheet created in ms office 2007(please dont advice to use ms office 2003) earlier in my nokia 5800 i downloaded the quick

  • High and low sound in the final output to DVD.

    At playback, the audio at the DVD menu is loud compared to the movie on the DVD. In FCP, I am staying below the 0dB with the audio so that it doesn't become distorted. In DVDSP, I can't control the volume. The menu audio is way too loud. its like tha